Lines Matching refs:sband
698 struct ieee80211_supported_band *sband;
830 sband = wiphy->bands[band];
831 if (!sband)
834 sband->band = band;
835 if (WARN_ON(!sband->n_channels))
843 !sband->n_bitrates))
847 (sband->ht_cap.ht_supported ||
848 sband->vht_cap.vht_supported)))
853 * modify the sband's ht data even if the driver uses a
858 sband->ht_cap.ht_supported) {
859 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;
860 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SGI_40;
868 if (WARN_ON(sband->n_bitrates > 32))
871 for (i = 0; i < sband->n_channels; i++) {
872 sband->channels[i].orig_flags =
873 sband->channels[i].flags;
874 sband->channels[i].orig_mag = INT_MAX;
875 sband->channels[i].orig_mpwr =
876 sband->channels[i].max_power;
877 sband->channels[i].band = band;
879 if (WARN_ON(sband->channels[i].freq_offset >= 1000))
883 for_each_sband_iftype_data(sband, i, iftd) {