Lines Matching refs:wiphy
633 static void brcms_reg_apply_radar_flags(struct wiphy *wiphy) in brcms_reg_apply_radar_flags() argument
639 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in brcms_reg_apply_radar_flags()
661 brcms_reg_apply_beaconing_flags(struct wiphy *wiphy, in brcms_reg_apply_beaconing_flags() argument
670 sband = wiphy->bands[band]; in brcms_reg_apply_beaconing_flags()
682 rule = freq_reg_info(wiphy, in brcms_reg_apply_beaconing_flags()
696 static void brcms_reg_notifier(struct wiphy *wiphy, in brcms_reg_notifier() argument
699 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in brcms_reg_notifier()
707 brcms_reg_apply_radar_flags(wiphy); in brcms_reg_notifier()
710 brcms_reg_apply_beaconing_flags(wiphy, request->initiator); in brcms_reg_notifier()
714 sband = wiphy->bands[band]; in brcms_reg_notifier()
742 struct wiphy *wiphy = wlc->wiphy; in brcms_c_regd_init() local
758 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in brcms_c_regd_init()
760 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in brcms_c_regd_init()
769 wlc->wiphy->reg_notifier = brcms_reg_notifier; in brcms_c_regd_init()
770 wlc->wiphy->regulatory_flags |= REGULATORY_CUSTOM_REG | in brcms_c_regd_init()
772 wiphy_apply_custom_regulatory(wlc->wiphy, regd->regdomain); in brcms_c_regd_init()
773 brcms_reg_apply_beaconing_flags(wiphy, NL80211_REGDOM_SET_BY_DRIVER); in brcms_c_regd_init()