Searched refs:max_gain (Results 1 – 1 of 1) sorted by relevance
2847 int chan_pwr, new_pwr, max_gain; in ath9k_hw_apply_txpower() local2856 max_gain = chan_pwr - new_pwr + channel->max_antenna_gain * 2; in ath9k_hw_apply_txpower()2859 if (ant_gain > max_gain) in ath9k_hw_apply_txpower()2860 ant_reduction = ant_gain - max_gain; in ath9k_hw_apply_txpower()