Lines Matching defs:wiphy
278 static void rtw_regd_apply_hw_cap_flags(struct wiphy *wiphy)
280 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy);
290 sband = wiphy->bands[NL80211_BAND_2GHZ];
300 sband = wiphy->bands[NL80211_BAND_5GHZ];
333 void rtw_regd_notifier(struct wiphy *wiphy, struct regulatory_request *request);
338 struct wiphy *wiphy = rtwdev->hw->wiphy;
341 if (!wiphy)
344 wiphy->reg_notifier = rtw_regd_notifier;
354 wiphy->regulatory_flags |= REGULATORY_STRICT_REG;
355 wiphy->regulatory_flags |= REGULATORY_COUNTRY_IE_IGNORE;
364 rtw_regd_apply_hw_cap_flags(wiphy);
371 struct wiphy *wiphy = rtwdev->hw->wiphy;
374 if (!wiphy)
383 ret = regulatory_hint(wiphy, rtwdev->efuse.country_code);
398 struct wiphy *wiphy = rtwdev->hw->wiphy;
405 wiphy->regulatory_flags |= REGULATORY_COUNTRY_IE_IGNORE;
428 struct wiphy *wiphy = rtwdev->hw->wiphy;
437 wiphy->regulatory_flags &= ~REGULATORY_COUNTRY_IE_IGNORE;
460 void rtw_regd_notifier(struct wiphy *wiphy, struct regulatory_request *request)
462 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy);