A system for compensating gain control variations in a power amplifier
comprises a power control element configured to receive a power control
signal and an instantaneous envelope power reference signal, an adder
configured to combine the power control signal and the instantaneous
envelope power reference signal to obtain a modified power level signal,
and a mapping function configured to receive the modified power level
signal and configured to alter a control input to a variable gain
amplifier, the variable gain amplifier controlling an adjustable input to
the power amplifier.