Lines Matching refs:wiphy
119 struct wiphy wiphy __aligned(NETDEV_ALIGN);
123 struct cfg80211_registered_device *wiphy_to_rdev(struct wiphy *wiphy) in wiphy_to_rdev() argument
125 BUG_ON(!wiphy); in wiphy_to_rdev()
126 return container_of(wiphy, struct cfg80211_registered_device, wiphy); in wiphy_to_rdev()
135 if (!rdev->wiphy.wowlan_config) in cfg80211_rdev_free_wowlan()
137 for (i = 0; i < rdev->wiphy.wowlan_config->n_patterns; i++) in cfg80211_rdev_free_wowlan()
138 kfree(rdev->wiphy.wowlan_config->patterns[i].mask); in cfg80211_rdev_free_wowlan()
139 kfree(rdev->wiphy.wowlan_config->patterns); in cfg80211_rdev_free_wowlan()
140 if (rdev->wiphy.wowlan_config->tcp && in cfg80211_rdev_free_wowlan()
141 rdev->wiphy.wowlan_config->tcp->sock) in cfg80211_rdev_free_wowlan()
142 sock_release(rdev->wiphy.wowlan_config->tcp->sock); in cfg80211_rdev_free_wowlan()
143 kfree(rdev->wiphy.wowlan_config->tcp); in cfg80211_rdev_free_wowlan()
144 kfree(rdev->wiphy.wowlan_config->nd_config); in cfg80211_rdev_free_wowlan()
145 kfree(rdev->wiphy.wowlan_config); in cfg80211_rdev_free_wowlan()
217 int get_wiphy_idx(struct wiphy *wiphy);
219 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx);
246 lockdep_assert_held(&rdev->wiphy.mtx); in cfg80211_has_monitors_only()
306 void cfg80211_cqm_rssi_notify_work(struct wiphy *wiphy,
317 void ieee80211_set_bitrate_flags(struct wiphy *wiphy);
443 bool cfg80211_supported_cipher_suite(struct wiphy *wiphy, u32 cipher);
449 void __cfg80211_scan_done(struct wiphy *wiphy, struct wiphy_work *wk);
487 bool cfg80211_chandef_dfs_usable(struct wiphy *wiphy,
490 void cfg80211_set_dfs_state(struct wiphy *wiphy,
497 cfg80211_chandef_dfs_cac_time(struct wiphy *wiphy,
513 bool cfg80211_any_wiphy_oper_chan(struct wiphy *wiphy,