Searched refs:rate_array (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | ar5008_phy.c | 1254 static void ar5008_hw_init_txpower_cck(struct ath_hw *ah, int16_t *rate_array) in ar5008_hw_init_txpower_cck() argument 1257 ah->tx_power[0] = CCK_DELTA(rate_array[rate1l]); in ar5008_hw_init_txpower_cck() 1258 ah->tx_power[1] = CCK_DELTA(min(rate_array[rate2l], in ar5008_hw_init_txpower_cck() 1259 rate_array[rate2s])); in ar5008_hw_init_txpower_cck() 1260 ah->tx_power[2] = CCK_DELTA(min(rate_array[rate5_5l], in ar5008_hw_init_txpower_cck() 1261 rate_array[rate5_5s])); in ar5008_hw_init_txpower_cck() 1262 ah->tx_power[3] = CCK_DELTA(min(rate_array[rate11l], in ar5008_hw_init_txpower_cck() 1263 rate_array[rate11s])); in ar5008_hw_init_txpower_cck() 1267 static void ar5008_hw_init_txpower_ofdm(struct ath_hw *ah, int16_t *rate_array, in ar5008_hw_init_txpower_ofdm() argument 1273 ah->tx_power[i] = rate_array[idx]; in ar5008_hw_init_txpower_ofdm() [all …]
|
D | ar9003_phy.c | 1908 static void ar9003_hw_init_txpower_cck(struct ath_hw *ah, u8 *rate_array) in ar9003_hw_init_txpower_cck() argument 1910 ah->tx_power[0] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck() 1911 ah->tx_power[1] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck() 1912 ah->tx_power[2] = min(rate_array[ALL_TARGET_LEGACY_1L_5L], in ar9003_hw_init_txpower_cck() 1913 rate_array[ALL_TARGET_LEGACY_5S]); in ar9003_hw_init_txpower_cck() 1914 ah->tx_power[3] = min(rate_array[ALL_TARGET_LEGACY_11L], in ar9003_hw_init_txpower_cck() 1915 rate_array[ALL_TARGET_LEGACY_11S]); in ar9003_hw_init_txpower_cck() 1918 static void ar9003_hw_init_txpower_ofdm(struct ath_hw *ah, u8 *rate_array, in ar9003_hw_init_txpower_ofdm() argument 1926 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ofdm() 1930 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 | 1120 void ar9003_hw_init_rate_txpower(struct ath_hw *ah, u8 *rate_array, 1122 void ar5008_hw_init_rate_txpower(struct ath_hw *ah, int16_t *rate_array,
|