Lines Matching defs:sband
423 u8 ath11k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband,
428 for (i = 0; i < sband->n_bitrates; i++)
429 if (sband->bitrates[i].bitrate == bitrate)
537 u8 ath11k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband,
543 for (i = 0; i < sband->n_bitrates; i++) {
544 rate = &sband->bitrates[i];
1810 const struct ieee80211_supported_band *sband;
1823 sband = ar->hw->wiphy->bands[band];
1826 rates = sband->bitrates;
3169 const struct ieee80211_supported_band *sband;
3178 sband = ar->hw->wiphy->bands[def->chan->band];
3180 bitrate = sband->bitrates[basic_rate_idx].bitrate;
7922 struct ieee80211_supported_band *sband = &ar->mac.sbands[band];
7923 u16 vht_mcs_map = le16_to_cpu(sband->vht_cap.vht_mcs.tx_mcs_map);
7938 sband->ht_cap.mcs.rx_mask[i])
7954 he_mcs_map = le16_to_cpu(ath11k_mac_get_tx_mcs_map(&sband->iftype_data->he_cap));
8554 struct ieee80211_supported_band *sband;
8565 sband = hw->wiphy->bands[NL80211_BAND_2GHZ];
8566 if (sband && idx >= sband->n_channels) {
8567 idx -= sband->n_channels;
8568 sband = NULL;
8571 if (!sband)
8572 sband = hw->wiphy->bands[NL80211_BAND_5GHZ];
8573 if (sband && idx >= sband->n_channels) {
8574 idx -= sband->n_channels;
8575 sband = NULL;
8578 if (!sband)
8579 sband = hw->wiphy->bands[NL80211_BAND_6GHZ];
8580 if (!sband || idx >= sband->n_channels) {
8585 ath11k_mac_update_bss_chan_survey(ar, &sband->channels[idx]);
8591 survey->channel = &sband->channels[idx];