Lines Matching refs:txpower
1188 int txpower = fi->tx_power; in ath_get_rate_txpower() local
1205 txpower += power_ht40delta; in ath_get_rate_txpower()
1210 txpower -= 2 * AR9287_PWR_TABLE_OFFSET_DB; in ath_get_rate_txpower()
1216 txpower -= 2 * power_offset; in ath_get_rate_txpower()
1220 txpower -= 2; in ath_get_rate_txpower()
1222 txpower = max(txpower, 0); in ath_get_rate_txpower()
1223 max_power = min_t(u8, ah->tx_power[rateidx], txpower); in ath_get_rate_txpower()
1321 info->txpower[i] = ath_get_rate_txpower(sc, bf, rix, in ath_buf_set_rate()
1352 info->txpower[i] = ath_get_rate_txpower(sc, bf, rix, false, in ath_buf_set_rate()
2123 u8 txpower; in setup_frame_info() local
2142 if (vif->bss_conf.txpower == INT_MIN) in setup_frame_info()
2144 txpower = 2 * vif->bss_conf.txpower; in setup_frame_info()
2150 txpower = sc->cur_chan->cur_txpower; in setup_frame_info()
2164 fi->tx_power = txpower; in setup_frame_info()