Lines Matching refs:wiphy
25 struct wiphy *wiphy = wdev->wiphy; in cfg80211_rx_assoc_resp() local
26 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_rx_assoc_resp()
42 cfg80211_put_bss(wiphy, bss); in cfg80211_rx_assoc_resp()
57 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_auth()
66 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_deauth()
85 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_disassoc()
125 struct wiphy *wiphy = wdev->wiphy; in cfg80211_auth_timeout() local
126 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_auth_timeout()
138 struct wiphy *wiphy = wdev->wiphy; in cfg80211_assoc_timeout() local
139 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_assoc_timeout()
147 cfg80211_put_bss(wiphy, bss); in cfg80211_assoc_timeout()
174 struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; in cfg80211_michael_mic_failure() local
175 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_michael_mic_failure()
231 req.bss = cfg80211_get_bss(&rdev->wiphy, chan, bssid, ssid, ssid_len, in cfg80211_mlme_auth()
239 cfg80211_put_bss(&rdev->wiphy, req.bss); in cfg80211_mlme_auth()
295 rdev->wiphy.ht_capa_mod_mask); in cfg80211_mlme_assoc()
297 rdev->wiphy.vht_capa_mod_mask); in cfg80211_mlme_assoc()
299 req->bss = cfg80211_get_bss(&rdev->wiphy, chan, bssid, ssid, ssid_len, in cfg80211_mlme_assoc()
309 cfg80211_put_bss(&rdev->wiphy, req->bss); in cfg80211_mlme_assoc()
406 struct wiphy *wiphy = wdev->wiphy; in cfg80211_mlme_register_mgmt() local
407 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_mlme_register_mgmt()
412 if (!wdev->wiphy->mgmt_stypes) in cfg80211_mlme_register_mgmt()
422 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].rx & BIT(mgmt_type))) in cfg80211_mlme_register_mgmt()
465 struct wiphy *wiphy = wdev->wiphy; in cfg80211_mlme_unregister_socket() local
466 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_mlme_unregister_socket()
518 if (!wdev->wiphy->mgmt_stypes) in cfg80211_mlme_mgmt_tx()
533 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].tx & BIT(stype >> 4))) in cfg80211_mlme_mgmt_tx()
612 struct wiphy *wiphy = wdev->wiphy; in cfg80211_rx_mgmt() local
613 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_rx_mgmt()
616 &wiphy->mgmt_stypes[wdev->iftype]; in cfg80211_rx_mgmt()
674 struct wiphy *wiphy; in cfg80211_dfs_channels_update_work() local
682 wiphy = &rdev->wiphy; in cfg80211_dfs_channels_update_work()
686 sband = wiphy->bands[bandid]; in cfg80211_dfs_channels_update_work()
728 void cfg80211_radar_event(struct wiphy *wiphy, in cfg80211_radar_event() argument
732 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_radar_event()
735 trace_cfg80211_radar_event(wiphy, chandef); in cfg80211_radar_event()
741 cfg80211_set_dfs_state(wiphy, chandef, NL80211_DFS_UNAVAILABLE); in cfg80211_radar_event()
756 struct wiphy *wiphy = wdev->wiphy; in cfg80211_cac_event() local
757 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_cac_event()
773 cfg80211_set_dfs_state(wiphy, chandef, NL80211_DFS_AVAILABLE); in cfg80211_cac_event()