This disclosure is directed to techniques that can be executed by a
wireless device to perform various signal processing tasks associated
with wireless communication. The techniques involve gain state switching
based on an output of an analog-to-digital (A/D) converter, rather than
gain state switching techniques in which an estimation of signal strength
at the antenna is mapped to gain states. Use of the A/D converter output
for gain state selection can provide more accurate and dynamic
switchpoints.