Lines Matching full:wiphy

28 	struct wiphy *wiphy = wdev->wiphy;  in cfg80211_rx_assoc_resp()  local
29 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_rx_assoc_resp()
89 cfg80211_put_bss(wiphy, bss); in cfg80211_rx_assoc_resp()
103 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_auth()
113 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_deauth()
132 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_disassoc()
154 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_rx_mlme_mgmt()
173 struct wiphy *wiphy = wdev->wiphy; in cfg80211_auth_timeout() local
174 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_auth_timeout()
187 struct wiphy *wiphy = wdev->wiphy; in cfg80211_assoc_failure() local
188 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_assoc_failure()
208 cfg80211_put_bss(wiphy, bss); in cfg80211_assoc_failure()
219 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_tx_mlme_mgmt()
237 struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; in cfg80211_michael_mic_failure() local
238 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_michael_mic_failure()
267 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_mlme_auth()
273 !(wdev->wiphy->flags & WIPHY_FLAG_SUPPORTS_MLO)) in cfg80211_mlme_auth()
470 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_mlme_assoc()
487 rdev->wiphy.ht_capa_mod_mask); in cfg80211_mlme_assoc()
489 rdev->wiphy.vht_capa_mod_mask); in cfg80211_mlme_assoc()
496 cfg80211_ref_bss(&rdev->wiphy, req->bss); in cfg80211_mlme_assoc()
503 cfg80211_ref_bss(&rdev->wiphy, req->links[link_id].bss); in cfg80211_mlme_assoc()
524 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_mlme_deauth()
554 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_mlme_disassoc()
577 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_mlme_down()
607 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_mgmt_registrations_update()
612 lockdep_assert_held(&rdev->wiphy.mtx); in cfg80211_mgmt_registrations_update()
621 list_for_each_entry_rcu(tmp, &rdev->wiphy.wdev_list, list) { in cfg80211_mgmt_registrations_update()
654 guard(wiphy)(&rdev->wiphy); in cfg80211_mgmt_registrations_update_wk()
656 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) in cfg80211_mgmt_registrations_update_wk()
665 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_mlme_register_mgmt()
671 if (!wdev->wiphy->mgmt_stypes) in cfg80211_mlme_register_mgmt()
685 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].rx & BIT(mgmt_type))) { in cfg80211_mlme_register_mgmt()
761 struct wiphy *wiphy = wdev->wiphy; in cfg80211_mlme_unregister_socket() local
762 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_mlme_unregister_socket()
791 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_mlme_purge_registrations()
826 wdev->wiphy, in cfg80211_allowed_random_address()
836 wdev->wiphy, in cfg80211_allowed_random_address()
842 wdev->wiphy, in cfg80211_allowed_random_address()
857 lockdep_assert_wiphy(&rdev->wiphy); in cfg80211_mlme_mgmt_tx()
859 if (!wdev->wiphy->mgmt_stypes) in cfg80211_mlme_mgmt_tx()
875 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].tx & BIT(stype >> 4))) in cfg80211_mlme_mgmt_tx()
962 struct wiphy *wiphy = wdev->wiphy; in cfg80211_rx_mgmt_ext() local
963 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_rx_mgmt_ext()
966 &wiphy->mgmt_stypes[wdev->iftype]; in cfg80211_rx_mgmt_ext()
1029 struct wiphy *wiphy; in cfg80211_dfs_channels_update_work() local
1038 wiphy = &rdev->wiphy; in cfg80211_dfs_channels_update_work()
1042 sband = wiphy->bands[bandid]; in cfg80211_dfs_channels_update_work()
1060 if (regulatory_pre_cac_allowed(wiphy) || in cfg80211_dfs_channels_update_work()
1061 cfg80211_any_wiphy_oper_chan(wiphy, c)) in cfg80211_dfs_channels_update_work()
1082 regulatory_propagate_dfs_state(wiphy, &chandef, in cfg80211_dfs_channels_update_work()
1104 void __cfg80211_radar_event(struct wiphy *wiphy, in __cfg80211_radar_event() argument
1108 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in __cfg80211_radar_event()
1110 trace_cfg80211_radar_event(wiphy, chandef, offchan); in __cfg80211_radar_event()
1116 cfg80211_set_dfs_state(wiphy, chandef, NL80211_DFS_UNAVAILABLE); in __cfg80211_radar_event()
1136 struct wiphy *wiphy = wdev->wiphy; in cfg80211_cac_event() local
1137 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_cac_event()
1155 cfg80211_set_dfs_state(wiphy, chandef, NL80211_DFS_AVAILABLE); in cfg80211_cac_event()
1182 struct wiphy *wiphy = &rdev->wiphy; in __cfg80211_background_cac_event() local
1185 lockdep_assert_wiphy(&rdev->wiphy); in __cfg80211_background_cac_event()
1195 cfg80211_set_dfs_state(wiphy, chandef, NL80211_DFS_AVAILABLE); in __cfg80211_background_cac_event()
1221 guard(wiphy)(&rdev->wiphy); in cfg80211_background_cac_event()
1248 void cfg80211_background_cac_abort(struct wiphy *wiphy) in cfg80211_background_cac_abort() argument
1250 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_background_cac_abort()
1264 lockdep_assert_wiphy(&rdev->wiphy); in cfg80211_start_background_radar_detection()
1266 if (!wiphy_ext_feature_isset(&rdev->wiphy, in cfg80211_start_background_radar_detection()
1283 cac_time_ms = cfg80211_chandef_dfs_cac_time(&rdev->wiphy, chandef); in cfg80211_start_background_radar_detection()
1300 struct wiphy *wiphy = wdev->wiphy; in cfg80211_stop_background_radar_detection() local
1301 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_stop_background_radar_detection()
1303 lockdep_assert_wiphy(wiphy); in cfg80211_stop_background_radar_detection()
1323 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_assoc_ml_reconf()
1334 cfg80211_ref_bss(&rdev->wiphy, req->add_links[link_id].bss); in cfg80211_assoc_ml_reconf()
1346 struct wiphy *wiphy = wdev->wiphy; in cfg80211_mlo_reconf_add_done() local
1349 lockdep_assert_wiphy(wiphy); in cfg80211_mlo_reconf_add_done()
1393 cfg80211_put_bss(wiphy, bss); in cfg80211_mlo_reconf_add_done()