Searched refs:rate_array (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/net/wireless/ath/ath9k/ |
H A 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 …]
|
H A D | ar9003_phy.c | 1824 static void ar9003_hw_init_txpower_cck(struct ath_hw *ah, u8 *rate_array) in ar9003_hw_init_txpower_cck() argument 1826 ah->tx_power[0] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck() 1827 ah->tx_power[1] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck() 1828 ah->tx_power[2] = min(rate_array[ALL_TARGET_LEGACY_1L_5L], in ar9003_hw_init_txpower_cck() 1829 rate_array[ALL_TARGET_LEGACY_5S]); in ar9003_hw_init_txpower_cck() 1830 ah->tx_power[3] = min(rate_array[ALL_TARGET_LEGACY_11L], in ar9003_hw_init_txpower_cck() 1831 rate_array[ALL_TARGET_LEGACY_11S]); in ar9003_hw_init_txpower_cck() 1834 static void ar9003_hw_init_txpower_ofdm(struct ath_hw *ah, u8 *rate_array, in ar9003_hw_init_txpower_ofdm() argument 1842 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ofdm() 1846 static void ar9003_hw_init_txpower_ht(struct ath_hw *ah, u8 *rate_array, in ar9003_hw_init_txpower_ht() argument [all …]
|
H A 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,
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | debugfs.c | 300 rate2 = tpc_stats->rates_array2.rate_array[eht_rate_idx]; in ath12k_tpc_get_rate() 306 rate1 = tpc_stats->rates_array1.rate_array[rate_idx]; in ath12k_tpc_get_rate()
|
H A D | wmi.c | 9039 dst_ptr = tpc_stats->rates_array1.rate_array; in ath12k_wmi_tpc_stats_copy_buffer() 9048 dst_ptr = tpc_stats->rates_array2.rate_array; in ath12k_wmi_tpc_stats_copy_buffer() 9133 rates_array->rate_array = kzalloc(rate_array_len, GFP_ATOMIC); in ath12k_tpc_get_rate_array() 9134 if (!rates_array->rate_array) in ath12k_tpc_get_rate_array() 9275 kfree(tpc_stats->rates_array1.rate_array); in ath12k_wmi_free_tpc_stats_mem() 9276 kfree(tpc_stats->rates_array2.rate_array); in ath12k_wmi_free_tpc_stats_mem()
|
H A D | wmi.h | 6071 s16 *rate_array; member
|