Lines Matching refs:ath12k_legacy_rates
162 static struct ieee80211_rate ath12k_legacy_rates[] = { variable
238 #define ath12k_g_rates ath12k_legacy_rates
239 #define ath12k_g_rates_size (ARRAY_SIZE(ath12k_legacy_rates))
240 #define ath12k_a_rates (ath12k_legacy_rates + 4)
241 #define ath12k_a_rates_size (ARRAY_SIZE(ath12k_legacy_rates) - 4)
397 if (hw_rc == ath12k_legacy_rates[i].hw_value) { in ath12k_mac_hw_ratecode_to_legacy_rate()
399 *rate = ath12k_legacy_rates[i].bitrate; in ath12k_mac_hw_ratecode_to_legacy_rate()
2985 for (i = 0; i < ARRAY_SIZE(ath12k_legacy_rates); i++) { in ath12k_mac_get_rate_hw_value()
2986 if (ath12k_legacy_rates[i].bitrate != bitrate) in ath12k_mac_get_rate_hw_value()
2989 hw_value = ath12k_legacy_rates[i].hw_value; in ath12k_mac_get_rate_hw_value()
3331 bitrate = ath12k_legacy_rates[rateidx].bitrate; in ath12k_mac_bss_info_changed()
3332 hw_value = ath12k_legacy_rates[rateidx].hw_value; in ath12k_mac_bss_info_changed()
8009 hw_rate = ath12k_legacy_rates[rate_idx].hw_value; in ath12k_mac_get_single_legacy_rate()
8010 bitrate = ath12k_legacy_rates[rate_idx].bitrate; in ath12k_mac_get_single_legacy_rate()