Searched refs:rate_array (Results 1 – 3 of 3) sorted by relevance
/drivers/net/wireless/ath/ath9k/ |
D | ar5008_phy.c | 1287 static void ar5008_hw_init_txpower_cck(struct ath_hw *ah, int16_t *rate_array) in ar5008_hw_init_txpower_cck() argument 1290 ah->tx_power[0] = CCK_DELTA(rate_array[rate1l]); in ar5008_hw_init_txpower_cck() 1291 ah->tx_power[1] = CCK_DELTA(min(rate_array[rate2l], in ar5008_hw_init_txpower_cck() 1292 rate_array[rate2s])); in ar5008_hw_init_txpower_cck() 1293 ah->tx_power[2] = CCK_DELTA(min(rate_array[rate5_5l], in ar5008_hw_init_txpower_cck() 1294 rate_array[rate5_5s])); in ar5008_hw_init_txpower_cck() 1295 ah->tx_power[3] = CCK_DELTA(min(rate_array[rate11l], in ar5008_hw_init_txpower_cck() 1296 rate_array[rate11s])); in ar5008_hw_init_txpower_cck() 1300 static void ar5008_hw_init_txpower_ofdm(struct ath_hw *ah, int16_t *rate_array, in ar5008_hw_init_txpower_ofdm() argument 1306 ah->tx_power[i] = rate_array[idx]; in ar5008_hw_init_txpower_ofdm() [all …]
|
D | ar9003_phy.c | 1836 static void ar9003_hw_init_txpower_cck(struct ath_hw *ah, u8 *rate_array) in ar9003_hw_init_txpower_cck() argument 1838 ah->tx_power[0] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck() 1839 ah->tx_power[1] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck() 1840 ah->tx_power[2] = min(rate_array[ALL_TARGET_LEGACY_1L_5L], in ar9003_hw_init_txpower_cck() 1841 rate_array[ALL_TARGET_LEGACY_5S]); in ar9003_hw_init_txpower_cck() 1842 ah->tx_power[3] = min(rate_array[ALL_TARGET_LEGACY_11L], in ar9003_hw_init_txpower_cck() 1843 rate_array[ALL_TARGET_LEGACY_11S]); in ar9003_hw_init_txpower_cck() 1846 static void ar9003_hw_init_txpower_ofdm(struct ath_hw *ah, u8 *rate_array, in ar9003_hw_init_txpower_ofdm() argument 1854 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ofdm() 1858 static void ar9003_hw_init_txpower_ht(struct ath_hw *ah, u8 *rate_array, in ar9003_hw_init_txpower_ht() argument [all …]
|
D | hw.h | 1131 void ar9003_hw_init_rate_txpower(struct ath_hw *ah, u8 *rate_array, 1135 void ar5008_hw_init_rate_txpower(struct ath_hw *ah, int16_t *rate_array,
|