Lines Matching defs:sband
698 struct ieee80211_supported_band *sband;
829 sband = wiphy->bands[band];
830 if (!sband)
833 sband->band = band;
834 if (WARN_ON(!sband->n_channels))
842 !sband->n_bitrates))
846 (sband->ht_cap.ht_supported ||
847 sband->vht_cap.vht_supported)))
852 * modify the sband's ht data even if the driver uses a
857 sband->ht_cap.ht_supported) {
858 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;
859 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SGI_40;
867 if (WARN_ON(sband->n_bitrates > 32))
870 for (i = 0; i < sband->n_channels; i++) {
871 sband->channels[i].orig_flags =
872 sband->channels[i].flags;
873 sband->channels[i].orig_mag = INT_MAX;
874 sband->channels[i].orig_mpwr =
875 sband->channels[i].max_power;
876 sband->channels[i].band = band;
878 if (WARN_ON(sband->channels[i].freq_offset >= 1000))
882 for (i = 0; i < sband->n_iftype_data; i++) {
888 iftd = &sband->iftype_data[i];