this description of the exemplary embodiments is intended to be read in connection with the accompanying drawings , which are to be considered part of the entire written description . embodiments of the present disclosure provide a novel receiver architecture to optimize receiver performance in the presence of interference . in various embodiments , interference frequency detection methods are used to determine the exact nature of the interference and to optimize the performance correspondingly . also , the actual method of optimizing the receiver performance is novel compared to the prior art in that the frequency of operation is optimized based on the nature of the interference as determined by frequency detection measurements . fig2 is a block diagram of a system architecture of a receiver 200 in accordance with some embodiments of the present disclosure . an input signal 202 is received , e . g ., from an antenna . the input signal is shown in differential form ( rf_rx + and rf_rx −); other signals in fig2 may be in differential form but are not labeled as such , for visual clarity and to reduce clutter . the input signal is amplified by a low noise amplifier ( lna ) 204 to provide an amplified input signal 214 . a local oscillator 210 generates one or more oscillator signals 212 ( e . g ., sinusoids ) based on signals 208 from a synthesizer 206 . a mixer 216 mixes the amplified input signal 214 with the oscillator signal 212 . the mixer may include in - phase and quadrature channels 216 a and 216 b . separate processing pathways are shown in fig2 for the in - phase and quadrature components ( with similar reference characters but different suffixes , “ a ” or “ b ”), but the processing is similar for each , so the discussion below focuses on the top pathway in fig2 , which may be an in - phase or quadrature path . it is to be understood that the various feedback effects from state machine 254 to components such as filters and amplifiers may apply to components in either the in - phase or quadrature path . mixed signal 218 a provided by mixer 216 is processed by a series of filters 222 a , 232 a , 242 a , which may be baseband filters . these filters implement the overall interference rejection of the baseband , and they may have programmable bandwidths with many different settings . for example , a multimode receiver may have bandwidths from 100 khz up to 10 mhz to support various modes like global system for mobile communications ( gsm ), time division - synchronous code division multiple access ( td - scdma ), wideband code division multiple access ( wcdma ), long term evolution ( lte ), and other communication standards as is known in the art . also , the filters provide progressively more rejection as processing moves further toward the output ( toward the right side of fig2 ). gain adjustment may be provided by a post - mixer amplifier ( pma ) 226 a and variable gain amplifier ( vga ) 246 a . an interference frequency detection ( ifd ) module 290 may be coupled to one or more outputs of vga 246 a . ifd module 290 detects if interference is present and may detect whether the frequency of the interference is on the high side ( above the desired signal to be received , i . e ., at a higher frequency ) or on the low side ( below the desired signal to be received , i . e ., at a lower frequency ). the term “ desired signal ” refers to the signal transmitted by the transmitter and which , ideally , the receiver decodes . details of ifd module 290 are provided further below . thus , mixed signal 218 a is filtered by filter 222 a to provide signal 224 a , which is amplified to provide signal 228 a . the amplified signal 228 a is filtered to provide signal 234 a and then filtered to provide signal 244 a , which is amplified to provide signal 248 a . a logic module 250 includes a received signal strength indication ( rssi ) module 252 , which measures power and provides an output 253 to an rf interference mitigation state machine 254 . rssi 252 is described further below . state machine 254 receives inputs from ifd module 290 and from rssi 252 , and provides feedback to lna 204 , synthesizer 206 , mixer 216 , pma 226 a ( and / or 226 b ), and vga 246 a ( and / or 246 b ). feedback is provided to components in both the in - phase and quadrature processing pathways . state machine 254 may also provide signals 260 c , 260 b , and / or 260 a to filters 222 , 232 , and / or 242 to enable one or more of the filters to be enabled . logic module 250 may be coupled to a transmitter ( not shown ), which may provide a signal to an antenna for transmission . state machine 254 , which may be a digital state machine that may be implemented in various ways , controls circuitry in receiver 200 to perform rssi measurements , determine the optimum configuration for the rf circuits , and provide feedback accordingly . state machine 254 may provide feedback via signal 260 h to vary the gain of vga 246 a and / or 246 b . the gain change may offset any gain changes in the lna 204 , mixer 216 , and / or pma 226 a and / or 226 b effected by state machine 254 through signals 260 e , 260 f , or 260 g . a gain change in the vga 246 a will generally not improve the linearity of the receiver with interference since this vga stage is after all the filter stages . however , if the gain of the lna , mixer , and / or pma is changed in order to improve the linearity , the gain of the vga may be adjusted to compensate for the reduction of gain in those stages . one implementation of ifd module 290 is shown in fig3 . this implementation uses complex mixers 310 a , 310 b to shift the received baseband signal by a specified offset ( e . g ., the adjacent channel offset ) in the positive and negative directions . after low pass filtering at filters 315 a , 315 b , power detection is performed on the resultant signal using power estimation circuits 320 a , 320 b , which may be implemented as peak detectors , power detectors , or as any other kind of power estimation circuit . so for the case shown in fig3 , the pdet high side power is greater than the pdet low side power ( as determined by a comparator 350 ), indicating that the frequency of the interference 340 is on the high side relative to desired signal 330 . while this detection is shown for the adjacent ( denoted “ adj ”) channel in a particular communications implementation , this technique may be applied for other frequency offsets also . the processing for the ifd module shown in fig3 may be applied to a baseband signal in the in - phase or quadrature path shown in fig2 . another implementation of ifd module 290 is shown in fig4 . a fast fourier transform ( fft ) 410 is performed on the input to ifd module 290 to detect the frequency of the interference . fft processing is common in multimode architectures that support standards such as td - scdma and lte and may also be used for interference detection . fft module 410 may be implemented in various ways as known in the art . by analyzing the fft results in frequency bins such as the adjacent channel bins 415 a ( frequency bin for f = f adj ) and 415 b ( frequency bin for f =− f adj ), some embodiments of the present disclosure determine if interference is present and whether that interference 440 is on the high side or low side relative to desired signal 430 . the architecture described allows optimization of the receiver configuration depending on the presence of and the frequency of interference . for example , fig5 a - c show three possible receiver configurations that may be used to receive a narrowband signal in accordance with the gsm or edge standards . the three configurations are : ( 1 ) direct conversion ( dcr ) mode as shown in fig5 a ; low intermediate frequency ( lif ) mode with low side offset as shown in fig5 b ; and low intermediate frequency ( lif ) mode with high side offset as shown in fig5 c . in fig5 a , interference signals 520 a , 520 b are shown on either side of desired signal 510 , which is located at zero frequency . in fig5 b , interference signal 540 is shown on the low side of desired signal 530 , which has a low side offset ( i . e ., frequency offset such that the desired signal is located at a negative frequency offset ). in fig5 c , interference signal 560 is shown on the high side of desired signal 550 , which has a high side offset ( i . e ., frequency offset such that the desired signal is located at a positive frequency offset ). in general , the lif modes of fig5 b and 5c are preferred over the dcr mode of fig5 a , because the lif modes can reject the dc offset imperfections in the rf circuits . however , the lif modes may have performance issues in the presence of interference , as illustrated in fig6 a - 6b . lif reception for high side interference ( i . e ., interference at a positive frequency ) is shown for both low side offset ( fig6 a ) and high side offset ( fig6 b ) scenarios . additionally , the image signal ( an artifact of circuit imperfections present at the frequency having the same magnitude but opposite sign ) created by the interference signal is also included in fig6 a - 6b . in fig6 a , interference 630 is shown on the high side ( at a positive frequency ), and the image 632 of the interference is located at the same frequency as desired signal 620 . the image is present due to imperfections in the rf circuits and can only be improved to a certain level . because of this , it is desirable to operate using the high side offset as in fig6 b , where the interference 650 is at a positive frequency , and the image 652 of the interference does not interfere with the desired signal 640 . therefore , if the interference frequency detection ( ifd ) module 290 indicates that the interference is on the high side ( relative to the desired signal ), then in some embodiments of the present disclosure , reception may be performed using low intermediate frequency mode with high side offset . if the interference is on the low side ( relative to the desired signal ), then reception may be performed using low intermediate frequency mode with low side offset . if interference is present on both low and high sides , then reception may be performed using direct conversion mode . as these modes correspond to various frequencies of the desired signal , the modes may be selected by appropriate generation of the oscillator signal 212 that feeds mixer 216 . for example , state machine 254 may send a signal 260 d to synthesizer 206 to cause the appropriate oscillator signal to be generated to configure the receiver in one of the modes . thus , state machine 254 selects the appropriate receiver mode based on the detected presence and relative location of interference as identified by ifd module 290 . the receiver architecture of fig2 may also be implemented efficiently for a mimo ( multiple input multiple output ) system as shown in fig7 . because of the mimo requirements for 3g and 4g cellular systems , a diversity receiver is often included in the rf and baseband architecture . this additional receiver is not needed for gsm / edge mode and therefore may be used to perform the interference frequency detection described above . based on this information , the mode of the receiver ( s ) may be optimally configured based on the determined interference level and / or the frequency of the interference . fig7 shows a receiver module 710 b , which may receive an input from a primary receive antenna 712 b , and a receiver module 710 a , which may receive an input from a diversity antenna 712 a . processing in each of the receiver modules is similar to processing discussed above in the context of fig2 , and only certain differences from fig2 are discussed below . the diversity receiver module 710 a may be used for interference frequency detection at interference frequency detection module 790 . state machine 754 may provide feedback signals as shown in fig7 . the use of the diversity receiver in some embodiments to perform interference estimation in parallel provides several advantages . one advantage is that the diversity receiver can be adjusted to any bandwidth option that is desired at any time in order to detect interference . the primary receiver is tasked with receiving the desired signal and therefore the baseband filters have limited bandwidth during the desired reception slot to limit noise and interference . the diversity receiver , when used for interference detection , has no such limitation , so the bandwidth can be increased as desired . another advantage is that the diversity receiver gain may be adjusted for the best performance to check the interference without considering the desired signal . the primary receiver must receive the desired signal and therefore the gain control is set in that receiver to optimize the level of that signal . the diversity receiver , when used for interference detection , is again not constrained by the need to receive the desired signal , and therefore the gain may be optimized to detect interference . fig8 is a flow diagram of a process in accordance with some embodiments . after process 800 begins , an input signal ( e . g ., signal 202 ) is amplified ( block 810 ), to provide an amplified input signal ( e . g ., signal 214 ). an oscillator signal ( e . g ., signal 202 ) is generated ( block 820 ). the amplified input signal is mixed ( block 830 ) with the oscillator signal , to provide a mixed signal ( e . g ., signal 218 a ). the mixed signal is filtered ( block 840 ) to pass a band of frequencies , to provide a filtered signal ( e . g ., signal 224 a ). based on the filtered signal , a relative frequency location of an interference signal is detected ( block 850 ). the detected frequency location of the interference signal may be relative to a desired signal for reception . a feedback signal ( e . g ., signal 260 d ) is generated ( block 860 ) based on the detected relative frequency location . the oscillator signal is updated ( block 870 ) based on the feedback signal so that the amplified input signal , when mixed with the updated oscillator signal , is not located at a frequency band of the interference signal . in some embodiments , detecting the relative frequency location of the interference signal may be based on complex mixing . the filtered signal may be shifted , directly or after additional filtering or amplification , by a predetermined offset in a first direction , to provide a low side shifted signal . the low side shifted signal may be low pass filtered , to provide a low pass filtered low side signal . the power of the low pass filtered low side signal may be measured , to provide a low side power measurement . the filtered signal may be shifted , directly or after additional filtering or amplification , by the predetermined offset in a second direction opposite the first direction , to provide a high side shifted signal . the high side shifted signal may be low pass filtered , to provide a low pass filtered high side signal . the power of the low pass filtered high side signal may be measured , to provide a high side power measurement . the low side power measurement , the high side power measurement , or both , may be compared to a predetermined threshold . updating the oscillator signal may cause the amplified input signal to be shifted higher in frequency , when the high side power measurement is greater than the predetermined threshold , may cause the amplified input signal to be shifted lower in frequency , when the low side power measurement is greater than the predetermined threshold , and may cause the amplified input signal to be shifted neither higher nor lower in frequency , when both the high side power measurement and the low side power measurement are greater than the predetermined threshold . in some embodiments , detecting the relative frequency location of the interference signal may be based on fast fourier transform ( fft ) processing . a fft may be performed on the filtered signal , directly or after additional filtering or amplification to provide a frequency domain signal . a comparison may be made between a predetermined threshold and the frequency domain signal at a first frequency bin , corresponding to a predetermined frequency magnitude and a first sign ( e . g ., positive ). a comparison may also be made between the predetermined threshold and the frequency domain signal at a second frequency bin , corresponding to the predetermined frequency magnitude and a second sign opposite the first sign ( e . g ., negative ). based on the comparison , the relative location frequency location of the interference signal may be determined . the amplified input signal may be shifted higher in frequency when the frequency domain signal at the first frequency bin is greater than the predetermined threshold , may be shifted lower in frequency when the frequency domain signal at the second frequency bin is greater than the predetermined threshold , and may shifted neither higher nor lower in frequency when the frequency domain signal at both the first and second frequency bins is greater than the predetermined threshold . fig9 is a flow diagram of a process in accordance with some embodiments . after process 900 begins , first and second input signals are received ( block 910 ) from a first antenna and a second antenna , respectively . the first and second input signals are amplified ( block 920 ) to provide first and second amplified input signals , respectively . first and second oscillator signals are generated ( block 930 ). the first and second amplified input signals are mixed ( block 940 ) with the first and second oscillator signals , respectively , to provide first and second mixed signals . the first and second mixed signals are filtered ( block 950 ) to pass a band of frequencies , to provide first and second filtered signals , respectively . based on the second filtered signal , a relative frequency location of an interference signal is detected ( block 960 ). a feedback signal is generated ( block 970 ) based on the detected relative frequency location . the first oscillator signal is updated ( block 980 ) based on the feedback signal so that the first amplified input signal , when mixed with the updated first oscillator signal , is not located at a frequency band of the interference signal . although examples are illustrated and described herein , embodiments are nevertheless not limited to the details shown , since various modifications and structural changes may be made therein by those of ordinary skill within the scope and range of equivalents of the claims .