Lines Matching defs:sband
127 u8 ath10k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband,
133 for (i = 0; i < sband->n_bitrates; i++) {
134 rate = &sband->bitrates[i];
149 u8 ath10k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband,
154 for (i = 0; i < sband->n_bitrates; i++)
155 if (sband->bitrates[i].bitrate == bitrate)
2247 const struct ieee80211_supported_band *sband;
2260 sband = ar->hw->wiphy->bands[band];
2263 rates = sband->bitrates;
6050 const struct ieee80211_supported_band *sband;
6059 sband = ar->hw->wiphy->bands[def->chan->band];
6061 bitrate = sband->bitrates[basic_rate_idx].bitrate;
8175 struct ieee80211_supported_band *sband;
8181 sband = hw->wiphy->bands[NL80211_BAND_2GHZ];
8182 if (sband && idx >= sband->n_channels) {
8183 idx -= sband->n_channels;
8184 sband = NULL;
8187 if (!sband)
8188 sband = hw->wiphy->bands[NL80211_BAND_5GHZ];
8190 if (!sband || idx >= sband->n_channels) {
8195 ath10k_mac_update_bss_chan_survey(ar, &sband->channels[idx]);
8201 survey->channel = &sband->channels[idx];
8217 struct ieee80211_supported_band *sband = &ar->mac.sbands[band];
8218 u16 vht_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map);
8230 sband->ht_cap.mcs.rx_mask[i])