Lines Matching refs:wiphy
98 struct wiphy wiphy __aligned(NETDEV_ALIGN);
102 struct cfg80211_registered_device *wiphy_to_rdev(struct wiphy *wiphy) in wiphy_to_rdev() argument
104 BUG_ON(!wiphy); in wiphy_to_rdev()
105 return container_of(wiphy, struct cfg80211_registered_device, wiphy); in wiphy_to_rdev()
114 if (!rdev->wiphy.wowlan_config) in cfg80211_rdev_free_wowlan()
116 for (i = 0; i < rdev->wiphy.wowlan_config->n_patterns; i++) in cfg80211_rdev_free_wowlan()
117 kfree(rdev->wiphy.wowlan_config->patterns[i].mask); in cfg80211_rdev_free_wowlan()
118 kfree(rdev->wiphy.wowlan_config->patterns); in cfg80211_rdev_free_wowlan()
119 if (rdev->wiphy.wowlan_config->tcp && in cfg80211_rdev_free_wowlan()
120 rdev->wiphy.wowlan_config->tcp->sock) in cfg80211_rdev_free_wowlan()
121 sock_release(rdev->wiphy.wowlan_config->tcp->sock); in cfg80211_rdev_free_wowlan()
122 kfree(rdev->wiphy.wowlan_config->tcp); in cfg80211_rdev_free_wowlan()
123 kfree(rdev->wiphy.wowlan_config->nd_config); in cfg80211_rdev_free_wowlan()
124 kfree(rdev->wiphy.wowlan_config); in cfg80211_rdev_free_wowlan()
162 int get_wiphy_idx(struct wiphy *wiphy);
164 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx);
263 void ieee80211_set_bitrate_flags(struct wiphy *wiphy);
395 bool cfg80211_supported_cipher_suite(struct wiphy *wiphy, u32 cipher);
429 bool cfg80211_chandef_dfs_usable(struct wiphy *wiphy,
432 void cfg80211_set_dfs_state(struct wiphy *wiphy,
439 cfg80211_chandef_dfs_cac_time(struct wiphy *wiphy,