Chooses the amplifier settings for an output power.
The amplifier output the module uses.
The output power wanted, in dBm.
The settings, clamped to what the output delivers.
Chooses the amplifier settings for an output power.