Lines Matching refs:wiphy
113 struct wiphy wiphy __aligned(NETDEV_ALIGN);
117 struct cfg80211_registered_device *wiphy_to_rdev(struct wiphy *wiphy) in wiphy_to_rdev() argument
119 BUG_ON(!wiphy); in wiphy_to_rdev()
120 return container_of(wiphy, struct cfg80211_registered_device, wiphy); in wiphy_to_rdev()
129 if (!rdev->wiphy.wowlan_config) in cfg80211_rdev_free_wowlan()
131 for (i = 0; i < rdev->wiphy.wowlan_config->n_patterns; i++) in cfg80211_rdev_free_wowlan()
132 kfree(rdev->wiphy.wowlan_config->patterns[i].mask); in cfg80211_rdev_free_wowlan()
133 kfree(rdev->wiphy.wowlan_config->patterns); in cfg80211_rdev_free_wowlan()
134 if (rdev->wiphy.wowlan_config->tcp && in cfg80211_rdev_free_wowlan()
135 rdev->wiphy.wowlan_config->tcp->sock) in cfg80211_rdev_free_wowlan()
136 sock_release(rdev->wiphy.wowlan_config->tcp->sock); in cfg80211_rdev_free_wowlan()
137 kfree(rdev->wiphy.wowlan_config->tcp); in cfg80211_rdev_free_wowlan()
138 kfree(rdev->wiphy.wowlan_config->nd_config); in cfg80211_rdev_free_wowlan()
139 kfree(rdev->wiphy.wowlan_config); in cfg80211_rdev_free_wowlan()
211 int get_wiphy_idx(struct wiphy *wiphy);
213 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx);
240 lockdep_assert_held(&rdev->wiphy.mtx); in cfg80211_has_monitors_only()
304 void ieee80211_set_bitrate_flags(struct wiphy *wiphy);
429 bool cfg80211_supported_cipher_suite(struct wiphy *wiphy, u32 cipher);
472 bool cfg80211_chandef_dfs_usable(struct wiphy *wiphy,
475 void cfg80211_set_dfs_state(struct wiphy *wiphy,
482 cfg80211_chandef_dfs_cac_time(struct wiphy *wiphy,
498 bool cfg80211_any_wiphy_oper_chan(struct wiphy *wiphy,