<p>A method and apparatus of operating an automatic gain control (AGC) loop in combination with a DC loop, the method comprising: selecting a particular DC operating mode for the DC loop from among a plurality of possible DC operating modes; operating the DC loop in the selected DC operating mode to correct for DC offset in a desired signal; selecting a particular AGC operating mode for the AGC loop from among a plurality of possible AGC operating modes based on the selected DC operating mode; and operating the AGC loop in the selected AGC operating mode to provide variable gain for the desired signal.</p>