Patent ID: 8000408

Claim:
A transmitter of a wireless device, the transmitter comprising: a gain application element adapted to receive a sequence of digital input samples and a digital gain signal, and to combine the digital gain signal with the digital input samples to generate a sequence of gain-compensated digital samples; a power amplifier adapted to receive and amplify an analog version of the gain-compensated digital samples in order to generate an antenna output signal; a feedback path adapted to generate an analog feedback signal from the antenna output signal, to produce a sequence of digital feedback samples from the analog feedback signal, and to generate the digital gain signal from the sequence of digital feedback samples and a loop gain estimate; and a loop delay and gain calculator adapted to calculate a loop delay estimate from the gain-compensated digital samples and the sequence of digital feedback samples, and to calculate the loop gain estimate using the loop delay estimate, the gain-compensated digital samples, and the sequence of digital feedback samples, wherein the loop delay estimate represents a loop delay between the gain-compensated digital samples and the digital feedback samples.