Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Dar5008_phy.c1262 static void ar5008_hw_init_txpower_cck(struct ath_hw *ah, int16_t *rate_array) in ar5008_hw_init_txpower_cck() argument
1265 ah->tx_power[0] = CCK_DELTA(rate_array[rate1l]); in ar5008_hw_init_txpower_cck()
1266 ah->tx_power[1] = CCK_DELTA(min(rate_array[rate2l], in ar5008_hw_init_txpower_cck()
1267 rate_array[rate2s])); in ar5008_hw_init_txpower_cck()
1268 ah->tx_power[2] = CCK_DELTA(min(rate_array[rate5_5l], in ar5008_hw_init_txpower_cck()
1269 rate_array[rate5_5s])); in ar5008_hw_init_txpower_cck()
1270 ah->tx_power[3] = CCK_DELTA(min(rate_array[rate11l], in ar5008_hw_init_txpower_cck()
1271 rate_array[rate11s])); in ar5008_hw_init_txpower_cck()
1275 static void ar5008_hw_init_txpower_ofdm(struct ath_hw *ah, int16_t *rate_array, in ar5008_hw_init_txpower_ofdm() argument
1281 ah->tx_power[i] = rate_array[idx]; in ar5008_hw_init_txpower_ofdm()
[all …]
Dar9003_phy.c1854 static void ar9003_hw_init_txpower_cck(struct ath_hw *ah, u8 *rate_array) in ar9003_hw_init_txpower_cck() argument
1856 ah->tx_power[0] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck()
1857 ah->tx_power[1] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck()
1858 ah->tx_power[2] = min(rate_array[ALL_TARGET_LEGACY_1L_5L], in ar9003_hw_init_txpower_cck()
1859 rate_array[ALL_TARGET_LEGACY_5S]); in ar9003_hw_init_txpower_cck()
1860 ah->tx_power[3] = min(rate_array[ALL_TARGET_LEGACY_11L], in ar9003_hw_init_txpower_cck()
1861 rate_array[ALL_TARGET_LEGACY_11S]); in ar9003_hw_init_txpower_cck()
1864 static void ar9003_hw_init_txpower_ofdm(struct ath_hw *ah, u8 *rate_array, in ar9003_hw_init_txpower_ofdm() argument
1872 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ofdm()
1876 static void ar9003_hw_init_txpower_ht(struct ath_hw *ah, u8 *rate_array, in ar9003_hw_init_txpower_ht() argument
[all …]
Dhw.h1127 void ar9003_hw_init_rate_txpower(struct ath_hw *ah, u8 *rate_array,
1131 void ar5008_hw_init_rate_txpower(struct ath_hw *ah, int16_t *rate_array,