Lines Matching refs:wiphy
102 struct wiphy wiphy __aligned(NETDEV_ALIGN);
106 struct cfg80211_registered_device *wiphy_to_rdev(struct wiphy *wiphy) in wiphy_to_rdev() argument
108 BUG_ON(!wiphy); in wiphy_to_rdev()
109 return container_of(wiphy, struct cfg80211_registered_device, wiphy); in wiphy_to_rdev()
118 if (!rdev->wiphy.wowlan_config) in cfg80211_rdev_free_wowlan()
120 for (i = 0; i < rdev->wiphy.wowlan_config->n_patterns; i++) in cfg80211_rdev_free_wowlan()
121 kfree(rdev->wiphy.wowlan_config->patterns[i].mask); in cfg80211_rdev_free_wowlan()
122 kfree(rdev->wiphy.wowlan_config->patterns); in cfg80211_rdev_free_wowlan()
123 if (rdev->wiphy.wowlan_config->tcp && in cfg80211_rdev_free_wowlan()
124 rdev->wiphy.wowlan_config->tcp->sock) in cfg80211_rdev_free_wowlan()
125 sock_release(rdev->wiphy.wowlan_config->tcp->sock); in cfg80211_rdev_free_wowlan()
126 kfree(rdev->wiphy.wowlan_config->tcp); in cfg80211_rdev_free_wowlan()
127 kfree(rdev->wiphy.wowlan_config->nd_config); in cfg80211_rdev_free_wowlan()
128 kfree(rdev->wiphy.wowlan_config); in cfg80211_rdev_free_wowlan()
167 int get_wiphy_idx(struct wiphy *wiphy);
169 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx);
269 void ieee80211_set_bitrate_flags(struct wiphy *wiphy);
402 bool cfg80211_supported_cipher_suite(struct wiphy *wiphy, u32 cipher);
436 bool cfg80211_chandef_dfs_usable(struct wiphy *wiphy,
439 void cfg80211_set_dfs_state(struct wiphy *wiphy,
446 cfg80211_chandef_dfs_cac_time(struct wiphy *wiphy,