Lines Matching defs:sband
116 u8 ath10k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband,
122 for (i = 0; i < sband->n_bitrates; i++) {
123 rate = &sband->bitrates[i];
138 u8 ath10k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband,
143 for (i = 0; i < sband->n_bitrates; i++)
144 if (sband->bitrates[i].bitrate == bitrate)
2235 const struct ieee80211_supported_band *sband;
2248 sband = ar->hw->wiphy->bands[band];
2251 rates = sband->bitrates;
5903 const struct ieee80211_supported_band *sband;
5912 sband = ar->hw->wiphy->bands[def->chan->band];
5914 bitrate = sband->bitrates[basic_rate_idx].bitrate;
8014 struct ieee80211_supported_band *sband;
8020 sband = hw->wiphy->bands[NL80211_BAND_2GHZ];
8021 if (sband && idx >= sband->n_channels) {
8022 idx -= sband->n_channels;
8023 sband = NULL;
8026 if (!sband)
8027 sband = hw->wiphy->bands[NL80211_BAND_5GHZ];
8029 if (!sband || idx >= sband->n_channels) {
8034 ath10k_mac_update_bss_chan_survey(ar, &sband->channels[idx]);
8040 survey->channel = &sband->channels[idx];
8056 struct ieee80211_supported_band *sband = &ar->mac.sbands[band];
8057 u16 vht_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map);
8069 sband->ht_cap.mcs.rx_mask[i])