Lines Matching refs:sband
346 struct ieee80211_supported_band *sband; in rtw89_regd_setup_unii4() local
354 sband = wiphy->bands[NL80211_BAND_5GHZ]; in rtw89_regd_setup_unii4()
355 if (!sband) in rtw89_regd_setup_unii4()
359 sband->n_channels -= RTW89_5GHZ_UNII4_CHANNEL_NUM; in rtw89_regd_setup_unii4()
521 struct ieee80211_supported_band *sband; in rtw89_regd_setup_6ghz() local
562 sband = wiphy->bands[NL80211_BAND_6GHZ]; in rtw89_regd_setup_6ghz()
563 if (!sband) in rtw89_regd_setup_6ghz()
567 kfree((__force void *)sband->iftype_data); in rtw89_regd_setup_6ghz()
568 kfree(sband); in rtw89_regd_setup_6ghz()
626 struct ieee80211_supported_band *sband; in rtw89_regd_apply_policy_unii4() local
630 sband = wiphy->bands[NL80211_BAND_5GHZ]; in rtw89_regd_apply_policy_unii4()
631 if (!sband) in rtw89_regd_apply_policy_unii4()
645 for (i = RTW89_5GHZ_UNII4_START_INDEX; i < sband->n_channels; i++) in rtw89_regd_apply_policy_unii4()
646 sband->channels[i].flags |= IEEE80211_CHAN_DISABLED; in rtw89_regd_apply_policy_unii4()
654 struct ieee80211_supported_band *sband; in rtw89_regd_apply_policy_6ghz() local
666 sband = wiphy->bands[NL80211_BAND_6GHZ]; in rtw89_regd_apply_policy_6ghz()
667 if (!sband) in rtw89_regd_apply_policy_6ghz()
670 for (i = 0; i < sband->n_channels; i++) in rtw89_regd_apply_policy_6ghz()
671 sband->channels[i].flags |= IEEE80211_CHAN_DISABLED; in rtw89_regd_apply_policy_6ghz()