Lines Matching refs:sband

92 u8 ath10k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband,  in ath10k_mac_hw_rate_to_idx()  argument
98 for (i = 0; i < sband->n_bitrates; i++) { in ath10k_mac_hw_rate_to_idx()
99 rate = &sband->bitrates[i]; in ath10k_mac_hw_rate_to_idx()
111 u8 ath10k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband, in ath10k_mac_bitrate_to_idx() argument
116 for (i = 0; i < sband->n_bitrates; i++) in ath10k_mac_bitrate_to_idx()
117 if (sband->bitrates[i].bitrate == bitrate) in ath10k_mac_bitrate_to_idx()
2022 const struct ieee80211_supported_band *sband; in ath10k_peer_assoc_h_rates() local
2035 sband = ar->hw->wiphy->bands[band]; in ath10k_peer_assoc_h_rates()
2038 rates = sband->bitrates; in ath10k_peer_assoc_h_rates()
5944 struct ieee80211_supported_band *sband; in ath10k_get_survey() local
5950 sband = hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in ath10k_get_survey()
5951 if (sband && idx >= sband->n_channels) { in ath10k_get_survey()
5952 idx -= sband->n_channels; in ath10k_get_survey()
5953 sband = NULL; in ath10k_get_survey()
5956 if (!sband) in ath10k_get_survey()
5957 sband = hw->wiphy->bands[IEEE80211_BAND_5GHZ]; in ath10k_get_survey()
5959 if (!sband || idx >= sband->n_channels) { in ath10k_get_survey()
5968 survey->channel = &sband->channels[idx]; in ath10k_get_survey()
6003 struct ieee80211_supported_band *sband = &ar->mac.sbands[band]; in ath10k_mac_bitrate_mask_get_single_nss() local
6004 u16 vht_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map); in ath10k_mac_bitrate_mask_get_single_nss()
6016 sband->ht_cap.mcs.rx_mask[i]) in ath10k_mac_bitrate_mask_get_single_nss()
6052 struct ieee80211_supported_band *sband = &ar->mac.sbands[band]; in ath10k_mac_bitrate_mask_get_single_rate() local
6062 hw_rate = sband->bitrates[rate_idx].hw_value; in ath10k_mac_bitrate_mask_get_single_rate()
6063 bitrate = sband->bitrates[rate_idx].bitrate; in ath10k_mac_bitrate_mask_get_single_rate()