Searched refs:rate_array (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/net/wireless/ath/ath9k/ |
D | ar5008_phy.c | 1278 static void ar5008_hw_init_txpower_cck(struct ath_hw *ah, int16_t *rate_array) in ar5008_hw_init_txpower_cck() argument 1281 ah->tx_power[0] = CCK_DELTA(ah, rate_array[rate1l]); in ar5008_hw_init_txpower_cck() 1282 ah->tx_power[1] = CCK_DELTA(ah, min(rate_array[rate2l], in ar5008_hw_init_txpower_cck() 1283 rate_array[rate2s])); in ar5008_hw_init_txpower_cck() 1284 ah->tx_power[2] = CCK_DELTA(ah, min(rate_array[rate5_5l], in ar5008_hw_init_txpower_cck() 1285 rate_array[rate5_5s])); in ar5008_hw_init_txpower_cck() 1286 ah->tx_power[3] = CCK_DELTA(ah, min(rate_array[rate11l], in ar5008_hw_init_txpower_cck() 1287 rate_array[rate11s])); in ar5008_hw_init_txpower_cck() 1291 static void ar5008_hw_init_txpower_ofdm(struct ath_hw *ah, int16_t *rate_array, in ar5008_hw_init_txpower_ofdm() argument 1297 ah->tx_power[i] = rate_array[idx]; in ar5008_hw_init_txpower_ofdm() [all …]
|
D | ar9003_phy.c | 1827 static void ar9003_hw_init_txpower_cck(struct ath_hw *ah, u8 *rate_array) in ar9003_hw_init_txpower_cck() argument 1829 ah->tx_power[0] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck() 1830 ah->tx_power[1] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck() 1831 ah->tx_power[2] = min(rate_array[ALL_TARGET_LEGACY_1L_5L], in ar9003_hw_init_txpower_cck() 1832 rate_array[ALL_TARGET_LEGACY_5S]); in ar9003_hw_init_txpower_cck() 1833 ah->tx_power[3] = min(rate_array[ALL_TARGET_LEGACY_11L], in ar9003_hw_init_txpower_cck() 1834 rate_array[ALL_TARGET_LEGACY_11S]); in ar9003_hw_init_txpower_cck() 1837 static void ar9003_hw_init_txpower_ofdm(struct ath_hw *ah, u8 *rate_array, in ar9003_hw_init_txpower_ofdm() argument 1845 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ofdm() 1849 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 | 1133 void ar9003_hw_init_rate_txpower(struct ath_hw *ah, u8 *rate_array, 1137 void ar5008_hw_init_rate_txpower(struct ath_hw *ah, int16_t *rate_array,
|