Lines Matching refs:sband
694 struct ieee80211_supported_band *sband; in wiphy_register() local
825 sband = wiphy->bands[band]; in wiphy_register()
826 if (!sband) in wiphy_register()
829 sband->band = band; in wiphy_register()
830 if (WARN_ON(!sband->n_channels)) in wiphy_register()
838 !sband->n_bitrates)) in wiphy_register()
842 (sband->ht_cap.ht_supported || in wiphy_register()
843 sband->vht_cap.vht_supported))) in wiphy_register()
853 sband->ht_cap.ht_supported) { in wiphy_register()
854 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40; in wiphy_register()
855 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SGI_40; in wiphy_register()
863 if (WARN_ON(sband->n_bitrates > 32)) in wiphy_register()
866 for (i = 0; i < sband->n_channels; i++) { in wiphy_register()
867 sband->channels[i].orig_flags = in wiphy_register()
868 sband->channels[i].flags; in wiphy_register()
869 sband->channels[i].orig_mag = INT_MAX; in wiphy_register()
870 sband->channels[i].orig_mpwr = in wiphy_register()
871 sband->channels[i].max_power; in wiphy_register()
872 sband->channels[i].band = band; in wiphy_register()
874 if (WARN_ON(sband->channels[i].freq_offset >= 1000)) in wiphy_register()
878 for (i = 0; i < sband->n_iftype_data; i++) { in wiphy_register()
884 iftd = &sband->iftype_data[i]; in wiphy_register()