Lines Matching refs:wiphy
26 struct wiphy *wiphy = wdev->wiphy; in cfg80211_rx_assoc_resp() local
27 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_rx_assoc_resp()
43 cfg80211_put_bss(wiphy, bss); in cfg80211_rx_assoc_resp()
58 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_auth()
67 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_deauth()
86 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_disassoc()
126 struct wiphy *wiphy = wdev->wiphy; in cfg80211_auth_timeout() local
127 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_auth_timeout()
139 struct wiphy *wiphy = wdev->wiphy; in cfg80211_assoc_timeout() local
140 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_assoc_timeout()
148 cfg80211_put_bss(wiphy, bss); in cfg80211_assoc_timeout()
175 struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; in cfg80211_michael_mic_failure() local
176 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_michael_mic_failure()
232 req.bss = cfg80211_get_bss(&rdev->wiphy, chan, bssid, ssid, ssid_len, in cfg80211_mlme_auth()
240 cfg80211_put_bss(&rdev->wiphy, req.bss); in cfg80211_mlme_auth()
296 rdev->wiphy.ht_capa_mod_mask); in cfg80211_mlme_assoc()
298 rdev->wiphy.vht_capa_mod_mask); in cfg80211_mlme_assoc()
300 req->bss = cfg80211_get_bss(&rdev->wiphy, chan, bssid, ssid, ssid_len, in cfg80211_mlme_assoc()
310 cfg80211_put_bss(&rdev->wiphy, req->bss); in cfg80211_mlme_assoc()
448 struct wiphy *wiphy = wdev->wiphy; in cfg80211_mlme_register_mgmt() local
449 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_mlme_register_mgmt()
454 if (!wdev->wiphy->mgmt_stypes) in cfg80211_mlme_register_mgmt()
464 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].rx & BIT(mgmt_type))) in cfg80211_mlme_register_mgmt()
514 struct wiphy *wiphy = wdev->wiphy; in cfg80211_mlme_unregister_socket() local
515 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_mlme_unregister_socket()
545 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_mlme_purge_registrations()
563 if (!wdev->wiphy->mgmt_stypes) in cfg80211_mlme_mgmt_tx()
578 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].tx & BIT(stype >> 4))) in cfg80211_mlme_mgmt_tx()
657 struct wiphy *wiphy = wdev->wiphy; in cfg80211_rx_mgmt() local
658 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_rx_mgmt()
661 &wiphy->mgmt_stypes[wdev->iftype]; in cfg80211_rx_mgmt()
719 struct wiphy *wiphy; in cfg80211_dfs_channels_update_work() local
727 wiphy = &rdev->wiphy; in cfg80211_dfs_channels_update_work()
731 sband = wiphy->bands[bandid]; in cfg80211_dfs_channels_update_work()
773 void cfg80211_radar_event(struct wiphy *wiphy, in cfg80211_radar_event() argument
777 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_radar_event()
780 trace_cfg80211_radar_event(wiphy, chandef); in cfg80211_radar_event()
786 cfg80211_set_dfs_state(wiphy, chandef, NL80211_DFS_UNAVAILABLE); in cfg80211_radar_event()
801 struct wiphy *wiphy = wdev->wiphy; in cfg80211_cac_event() local
802 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_cac_event()
818 cfg80211_set_dfs_state(wiphy, chandef, NL80211_DFS_AVAILABLE); in cfg80211_cac_event()