Lines Matching refs:wiphy

107 	struct wiphy wiphy __aligned(NETDEV_ALIGN);
111 struct cfg80211_registered_device *wiphy_to_rdev(struct wiphy *wiphy) in wiphy_to_rdev() argument
113 BUG_ON(!wiphy); in wiphy_to_rdev()
114 return container_of(wiphy, struct cfg80211_registered_device, wiphy); in wiphy_to_rdev()
123 if (!rdev->wiphy.wowlan_config) in cfg80211_rdev_free_wowlan()
125 for (i = 0; i < rdev->wiphy.wowlan_config->n_patterns; i++) in cfg80211_rdev_free_wowlan()
126 kfree(rdev->wiphy.wowlan_config->patterns[i].mask); in cfg80211_rdev_free_wowlan()
127 kfree(rdev->wiphy.wowlan_config->patterns); in cfg80211_rdev_free_wowlan()
128 if (rdev->wiphy.wowlan_config->tcp && in cfg80211_rdev_free_wowlan()
129 rdev->wiphy.wowlan_config->tcp->sock) in cfg80211_rdev_free_wowlan()
130 sock_release(rdev->wiphy.wowlan_config->tcp->sock); in cfg80211_rdev_free_wowlan()
131 kfree(rdev->wiphy.wowlan_config->tcp); in cfg80211_rdev_free_wowlan()
132 kfree(rdev->wiphy.wowlan_config->nd_config); in cfg80211_rdev_free_wowlan()
133 kfree(rdev->wiphy.wowlan_config); in cfg80211_rdev_free_wowlan()
205 int get_wiphy_idx(struct wiphy *wiphy);
207 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx);
304 void ieee80211_set_bitrate_flags(struct wiphy *wiphy);
435 bool cfg80211_supported_cipher_suite(struct wiphy *wiphy, u32 cipher);
476 bool cfg80211_chandef_dfs_usable(struct wiphy *wiphy,
479 void cfg80211_set_dfs_state(struct wiphy *wiphy,
486 cfg80211_chandef_dfs_cac_time(struct wiphy *wiphy,
491 bool cfg80211_any_wiphy_oper_chan(struct wiphy *wiphy,