A technique includes applying a first gain to a first radio frequency
signal to generate a second radio frequency signal, and the technique
includes generating an intermediate frequency signal in response to the
second radio frequency signal. In response to a change occurring in the
first gain, a second gain that is applied to the intermediate frequency
signal is changed to cancel at least some of the change in the first
gain.