Lines Matching refs:wiphy

66 	struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
70 lockdep_assert_wiphy(wdev->wiphy);
78 n_channels = ieee80211_get_num_supported_channels(wdev->wiphy);
89 wdev->wiphy->bands[band];
104 bands = wdev->wiphy->bands[band];
128 request->wiphy = &rdev->wiphy;
148 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
154 lockdep_assert_wiphy(wdev->wiphy);
175 auth_req.bss = cfg80211_get_bss(&rdev->wiphy, params->channel,
182 cfg80211_put_bss(&rdev->wiphy, auth_req.bss);
204 req.bss = cfg80211_get_bss(&rdev->wiphy, params->channel,
214 cfg80211_put_bss(&rdev->wiphy, req.bss);
253 wiphy_lock(&rdev->wiphy);
255 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) {
282 wiphy_unlock(&rdev->wiphy);
297 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
300 lockdep_assert_wiphy(wdev->wiphy);
302 bss = cfg80211_get_bss(wdev->wiphy, wdev->conn->params.channel,
320 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
323 lockdep_assert_wiphy(wdev->wiphy);
334 cfg80211_put_bss(&rdev->wiphy, bss);
341 struct wiphy *wiphy = wdev->wiphy;
342 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy);
346 lockdep_assert_wiphy(wdev->wiphy);
392 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
426 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
437 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
448 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
459 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
476 cfg80211_put_bss(wdev->wiphy,
491 cfg80211_put_bss(wdev->wiphy,
501 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
505 if (!rdev->wiphy.extended_capabilities_len ||
514 buf = kmalloc(ies_len + rdev->wiphy.extended_capabilities_len + 2,
534 memcpy(buf + offs + rdev->wiphy.extended_capabilities_len + 2,
542 buf[offs + 1] = rdev->wiphy.extended_capabilities_len;
544 rdev->wiphy.extended_capabilities,
545 rdev->wiphy.extended_capabilities_len);
548 *out_ies_len = ies_len + rdev->wiphy.extended_capabilities_len + 2;
557 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
609 bss = cfg80211_get_bss(wdev->wiphy, wdev->conn->params.channel,
627 cfg80211_put_bss(wdev->wiphy, bss);
651 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
694 wiphy_lock(&rdev->wiphy);
695 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) {
700 wiphy_unlock(&rdev->wiphy);
726 cfg80211_put_bss(wdev->wiphy, cr->links[link].bss);
752 lockdep_assert_wiphy(wdev->wiphy);
772 nl80211_send_connect_result(wiphy_to_rdev(wdev->wiphy), dev, cr,
804 if (!wiphy_to_rdev(wdev->wiphy)->ops->connect) {
820 cfg80211_get_bss(wdev->wiphy, NULL,
860 cfg80211_put_bss(wdev->wiphy, cr->links[link].bss);
896 regulatory_hint_country_ie(wdev->wiphy,
920 cfg80211_put_bss(wdev->wiphy, cr->links[link].bss);
926 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
936 found = cfg80211_get_bss(wdev->wiphy, NULL,
961 cfg80211_put_bss(wdev->wiphy, tmp);
971 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
992 cfg80211_put_bss(wdev->wiphy,
1084 lockdep_assert_wiphy(wdev->wiphy);
1128 nl80211_send_roamed(wiphy_to_rdev(wdev->wiphy),
1159 cfg80211_put_bss(wdev->wiphy, info->links[link].bss);
1167 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
1183 cfg80211_get_bss(wdev->wiphy,
1280 cfg80211_put_bss(wdev->wiphy, info->links[link].bss);
1288 lockdep_assert_wiphy(wdev->wiphy);
1303 nl80211_send_port_authorized(wiphy_to_rdev(wdev->wiphy), wdev->netdev,
1311 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
1343 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
1349 lockdep_assert_wiphy(wdev->wiphy);
1379 wdev->wiphy,
1382 wdev->wiphy,
1408 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
1442 lockdep_assert_wiphy(wdev->wiphy);
1475 rdev->wiphy.ht_capa_mod_mask);
1477 rdev->wiphy.vht_capa_mod_mask);
1548 lockdep_assert_wiphy(wdev->wiphy);
1581 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
1583 wiphy_lock(wdev->wiphy);
1620 wiphy_unlock(wdev->wiphy);