Lines Matching defs:wiphy
342 struct wiphy *wiphy)
354 sband = wiphy->bands[NL80211_BAND_5GHZ];
516 static void rtw89_regd_setup_6ghz(struct rtw89_dev *rtwdev, struct wiphy *wiphy)
562 sband = wiphy->bands[NL80211_BAND_6GHZ];
566 wiphy->bands[NL80211_BAND_6GHZ] = NULL;
573 struct wiphy *wiphy = rtwdev->hw->wiphy;
575 if (!wiphy)
578 rtw89_regd_setup_unii4(rtwdev, wiphy);
579 rtw89_regd_setup_6ghz(rtwdev, wiphy);
581 wiphy->reg_notifier = rtw89_regd_notifier;
586 void (*reg_notifier)(struct wiphy *wiphy,
591 struct wiphy *wiphy = rtwdev->hw->wiphy;
596 if (!wiphy)
608 wiphy->regulatory_flags |= REGULATORY_COUNTRY_IE_IGNORE;
609 wiphy->regulatory_flags |= REGULATORY_STRICT_REG;
611 ret = regulatory_hint(rtwdev->hw->wiphy,
626 struct wiphy *wiphy)
635 sband = wiphy->bands[NL80211_BAND_5GHZ];
655 struct wiphy *wiphy)
671 sband = wiphy->bands[NL80211_BAND_6GHZ];
680 struct wiphy *wiphy,
690 wiphy->regulatory_flags |= REGULATORY_COUNTRY_IE_IGNORE;
692 wiphy->regulatory_flags &= ~REGULATORY_COUNTRY_IE_IGNORE;
694 rtw89_regd_apply_policy_unii4(rtwdev, wiphy);
695 rtw89_regd_apply_policy_6ghz(rtwdev, wiphy);
698 void rtw89_regd_notifier(struct wiphy *wiphy, struct regulatory_request *request)
700 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy);
706 if (wiphy->regd) {
711 rtw89_regd_notifier_apply(rtwdev, wiphy, request);