Patent ID: 7197289

Claim:
A method for automatic gain control for a wireless transmit and receive unit (WTRU) in a time-slotted communications system, the WTRU receiving a signal, the method comprising the steps of: (a) initializing an automatic gain control loop including: initializing an accumulator; and setting a gain of an attenuator; (b) sampling the received signal with an analog-to-digital converter (ADC); (c) estimating the power of the received signal; (d) comparing the estimated power of the received signal with a reference power level; (e) generating an error signal based upon the difference between the estimated power and the reference power level; (f) accumulating the error signals generated by a plurality of received signals in the accumulator; (g) looking up the accumulator value in a table to locate a control word for the attenuator; (h) passing the control word to the attenuator to adjust the gain; and (i) repeating steps (c) through (h) for a predetermined number of iterations.