Home
last modified time | relevance | path

Searched refs:max_gain (Results 1 – 1 of 1) sorted by relevance

/drivers/net/wireless/ath/ath9k/
Dhw.c2847 int chan_pwr, new_pwr, max_gain; in ath9k_hw_apply_txpower() local
2856 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()