Lines Matching refs:txpower
1147 int txpower = fi->tx_power; in ath_get_rate_txpower() local
1164 txpower += power_ht40delta; in ath_get_rate_txpower()
1169 txpower -= 2 * AR9287_PWR_TABLE_OFFSET_DB; in ath_get_rate_txpower()
1175 txpower -= 2 * power_offset; in ath_get_rate_txpower()
1179 txpower -= 2; in ath_get_rate_txpower()
1181 txpower = max(txpower, 0); in ath_get_rate_txpower()
1182 max_power = min_t(u8, ah->tx_power[rateidx], txpower); in ath_get_rate_txpower()
1280 info->txpower[i] = ath_get_rate_txpower(sc, bf, rix, in ath_buf_set_rate()
1311 info->txpower[i] = ath_get_rate_txpower(sc, bf, rix, false, in ath_buf_set_rate()
2084 u8 txpower; in setup_frame_info() local
2103 if (vif->bss_conf.txpower == INT_MIN) in setup_frame_info()
2105 txpower = 2 * vif->bss_conf.txpower; in setup_frame_info()
2111 txpower = sc->cur_chan->cur_txpower; in setup_frame_info()
2125 fi->tx_power = txpower; in setup_frame_info()