Home
last modified time | relevance | path

Searched refs:current_bss (Results 1 - 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/net/wireless/
H A Dmlme.c69 /* update current_bss etc., consumes the bss reference */ in cfg80211_rx_assoc_resp()
94 if (!wdev->current_bss || in cfg80211_process_deauth()
95 !ether_addr_equal(wdev->current_bss->pub.bssid, bssid)) in cfg80211_process_deauth()
113 if (WARN_ON(!wdev->current_bss || in cfg80211_process_disassoc()
114 !ether_addr_equal(wdev->current_bss->pub.bssid, bssid))) in cfg80211_process_disassoc()
259 if (wdev->current_bss && in cfg80211_mlme_auth()
260 ether_addr_equal(bssid, wdev->current_bss->pub.bssid)) in cfg80211_mlme_auth()
321 if (wdev->current_bss && in cfg80211_mlme_assoc()
322 (!req->prev_bssid || !ether_addr_equal(wdev->current_bss->pub.bssid, in cfg80211_mlme_assoc()
363 (!wdev->current_bss || in cfg80211_mlme_deauth()
[all...]
H A Dibss.c39 if (wdev->current_bss) { in __cfg80211_ibss_joined()
40 cfg80211_unhold_bss(wdev->current_bss); in __cfg80211_ibss_joined()
41 cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); in __cfg80211_ibss_joined()
45 wdev->current_bss = bss_from_pub(bss); in __cfg80211_ibss_joined()
177 if (wdev->current_bss) { in __cfg80211_clear_ibss()
178 cfg80211_unhold_bss(wdev->current_bss); in __cfg80211_clear_ibss()
179 cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); in __cfg80211_clear_ibss()
182 wdev->current_bss = NULL; in __cfg80211_clear_ibss()
378 if (wdev->current_bss) in cfg80211_ibss_wext_giwfreq()
379 chan = wdev->current_bss in cfg80211_ibss_wext_giwfreq()
[all...]
H A Dsme.c531 if (wdev->current_bss) { in cfg80211_sme_connect()
532 cfg80211_unhold_bss(wdev->current_bss); in cfg80211_sme_connect()
533 cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); in cfg80211_sme_connect()
534 wdev->current_bss = NULL; in cfg80211_sme_connect()
664 if (wdev->conn || wdev->current_bss || in cfg80211_is_all_idle()
750 if (wdev->current_bss) { in __cfg80211_connect_result()
751 cfg80211_unhold_bss(wdev->current_bss); in __cfg80211_connect_result()
752 cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); in __cfg80211_connect_result()
753 wdev->current_bss = NULL; in __cfg80211_connect_result()
772 wdev->current_bss in __cfg80211_connect_result()
[all...]
H A Dwext-sme.c128 if (wdev->current_bss) in cfg80211_mgd_wext_giwfreq()
129 chan = wdev->current_bss->pub.channel; in cfg80211_mgd_wext_giwfreq()
214 if (wdev->current_bss) { in cfg80211_mgd_wext_giwessid()
218 ie = ieee80211_bss_get_ie(&wdev->current_bss->pub, in cfg80211_mgd_wext_giwessid()
303 if (wdev->current_bss) in cfg80211_mgd_wext_giwap()
304 memcpy(ap_addr->sa_data, wdev->current_bss->pub.bssid, ETH_ALEN); in cfg80211_mgd_wext_giwap()
H A Dchan.c1128 wdev->current_bss) in cfg80211_ir_permissive_chan()
1129 other_chan = wdev->current_bss->pub.channel; in cfg80211_ir_permissive_chan()
1265 if (wdev->current_bss) { in cfg80211_get_chan_state()
1266 *chan = wdev->current_bss->pub.channel; in cfg80211_get_chan_state()
1281 if (wdev->current_bss) { in cfg80211_get_chan_state()
1282 *chan = wdev->current_bss->pub.channel; in cfg80211_get_chan_state()
H A Dwext-compat.c426 if (!wdev->current_bss) in __cfg80211_set_encryption()
439 if (wdev->current_bss) { in __cfg80211_set_encryption()
490 if (wdev->current_bss) in __cfg80211_set_encryption()
515 if (wdev->current_bss) { in __cfg80211_set_encryption()
538 if (wdev->current_bss) in __cfg80211_set_encryption()
599 if (wdev->current_bss) in cfg80211_wext_siwencode()
1266 if (wdev->current_bss) in cfg80211_wext_giwrate()
1267 memcpy(addr, wdev->current_bss->pub.bssid, ETH_ALEN); in cfg80211_wext_giwrate()
1308 if (!wdev->current_bss) { in cfg80211_wireless_stats()
1312 memcpy(bssid, wdev->current_bss in cfg80211_wireless_stats()
[all...]
H A Dcore.c1436 if (WARN_ON(wdev->current_bss)) { in cfg80211_netdev_notifier_call()
1437 cfg80211_unhold_bss(wdev->current_bss); in cfg80211_netdev_notifier_call()
1438 cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); in cfg80211_netdev_notifier_call()
1439 wdev->current_bss = NULL; in cfg80211_netdev_notifier_call()
H A Dreg.c2354 if (!wdev->current_bss || in reg_wdev_chan_valid()
2355 !wdev->current_bss->pub.channel) in reg_wdev_chan_valid()
2361 wdev->current_bss->pub.channel, in reg_wdev_chan_valid()
H A Dnl80211.c1409 if (!wdev->current_bss) in nl80211_key_allowed()
3501 if (!wdev->current_bss) in nl80211_send_iface()
3504 ssid_ie = ieee80211_bss_get_ie(&wdev->current_bss->pub, in nl80211_send_iface()
8057 (wdev && wdev->current_bss)) in nl80211_check_scan_flags()
9279 if (intbss == wdev->current_bss && in nl80211_send_bss()
9285 if (intbss == wdev->current_bss && in nl80211_send_bss()
10793 if (!wdev->current_bss) in nl80211_update_connect_params()
11460 if (!wdev->cqm_config->last_rssi_event_value && wdev->current_bss && in cfg80211_cqm_rssi_update()
11465 mac_addr = wdev->current_bss->pub.bssid; in cfg80211_cqm_rssi_update()
12698 if (!wdev->current_bss) { in nl80211_set_rekey_data()
[all...]
/kernel/linux/linux-6.6/net/wireless/
H A Dibss.c40 if (wdev->u.ibss.current_bss) { in __cfg80211_ibss_joined()
41 cfg80211_unhold_bss(wdev->u.ibss.current_bss); in __cfg80211_ibss_joined()
42 cfg80211_put_bss(wdev->wiphy, &wdev->u.ibss.current_bss->pub); in __cfg80211_ibss_joined()
46 wdev->u.ibss.current_bss = bss_from_pub(bss); in __cfg80211_ibss_joined()
175 if (wdev->u.ibss.current_bss) { in __cfg80211_clear_ibss()
176 cfg80211_unhold_bss(wdev->u.ibss.current_bss); in __cfg80211_clear_ibss()
177 cfg80211_put_bss(wdev->wiphy, &wdev->u.ibss.current_bss->pub); in __cfg80211_clear_ibss()
180 wdev->u.ibss.current_bss = NULL; in __cfg80211_clear_ibss()
376 if (wdev->u.ibss.current_bss) in cfg80211_ibss_wext_giwfreq()
377 chan = wdev->u.ibss.current_bss in cfg80211_ibss_wext_giwfreq()
[all...]
H A Dwext-sme.c131 if (wdev->links[0].client.current_bss) in cfg80211_mgd_wext_giwfreq()
132 chan = wdev->links[0].client.current_bss->pub.channel; in cfg80211_mgd_wext_giwfreq()
220 if (wdev->links[0].client.current_bss) { in cfg80211_mgd_wext_giwessid()
225 &wdev->links[0].client.current_bss->pub, in cfg80211_mgd_wext_giwessid()
314 if (wdev->links[0].client.current_bss) in cfg80211_mgd_wext_giwap()
316 wdev->links[0].client.current_bss->pub.bssid, in cfg80211_mgd_wext_giwap()
H A Dsme.c485 if (!wdev->links[link].client.current_bss) in cfg80211_wdev_release_bsses()
487 cfg80211_unhold_bss(wdev->links[link].client.current_bss); in cfg80211_wdev_release_bsses()
489 &wdev->links[link].client.current_bss->pub); in cfg80211_wdev_release_bsses()
490 wdev->links[link].client.current_bss = NULL; in cfg80211_wdev_release_bsses()
499 if (!wdev->links[link].client.current_bss || in cfg80211_wdev_release_link_bsses()
502 cfg80211_unhold_bss(wdev->links[link].client.current_bss); in cfg80211_wdev_release_link_bsses()
504 &wdev->links[link].client.current_bss->pub); in cfg80211_wdev_release_link_bsses()
505 wdev->links[link].client.current_bss = NULL; in cfg80211_wdev_release_link_bsses()
876 wdev->links[link].client.current_bss = in __cfg80211_connect_result()
1126 wdev->links[link].client.current_bss in __cfg80211_roamed()
[all...]
H A Dwext-compat.c467 wdev->u.ibss.current_bss)) { in __cfg80211_set_encryption()
520 wdev->u.ibss.current_bss)) in __cfg80211_set_encryption()
547 wdev->u.ibss.current_bss)) { in __cfg80211_set_encryption()
573 wdev->u.ibss.current_bss)) in __cfg80211_set_encryption()
645 wdev->u.ibss.current_bss)) in cfg80211_wext_siwencode()
1345 if (!wdev->valid_links && wdev->links[0].client.current_bss) in cfg80211_wext_giwrate()
1346 memcpy(addr, wdev->links[0].client.current_bss->pub.bssid, in cfg80211_wext_giwrate()
1391 if (wdev->valid_links || !wdev->links[0].client.current_bss) { in cfg80211_wireless_stats()
1395 memcpy(bssid, wdev->links[0].client.current_bss->pub.bssid, ETH_ALEN); in cfg80211_wireless_stats()
H A Dmlme.c95 /* update current_bss etc., consumes the bss reference */ in cfg80211_rx_assoc_resp()
761 if (!wdev->u.ibss.current_bss || in cfg80211_mlme_mgmt_tx()
762 !ether_addr_equal(wdev->u.ibss.current_bss->pub.bssid, in cfg80211_mlme_mgmt_tx()
H A Dchan.c1227 wdev->links[link_id].client.current_bss) in cfg80211_ir_permissive_check_wdev()
1228 other_chan = wdev->links[link_id].client.current_bss->pub.channel; in cfg80211_ir_permissive_check_wdev()
H A Dcore.c1248 curbss = wdev->links[link_id].client.current_bss; in _cfg80211_unregister_wdev()
1253 wdev->links[link_id].client.current_bss = NULL; in _cfg80211_unregister_wdev()
H A Dreg.c2379 if (!wdev->links[link].client.current_bss) in reg_wdev_chan_valid()
2382 chan = wdev->links[link].client.current_bss->pub.channel; in reg_wdev_chan_valid()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmain.h606 * current_bss: BSS parms in ASSOCIATED state
617 struct brcms_bss_info *current_bss; member
H A Dmain.c432 kfree(cfg->current_bss); in brcms_c_bsscfg_mfree()
470 cfg->current_bss = kzalloc(sizeof(struct brcms_bss_info), GFP_ATOMIC); in brcms_c_bsscfg_malloc()
471 if (cfg->current_bss == NULL) in brcms_c_bsscfg_malloc()
3826 wlc->bsscfg->current_bss->chanspec = chanspec; in brcms_c_set_home_chanspec()
5436 rs = &wlc->bsscfg->current_bss->rateset; in brcms_c_get_current_rateset()
5463 mcsset_bss = wlc->bsscfg->current_bss; in brcms_c_set_rateset()
7821 bi = wlc->bsscfg->current_bss->beacon_period << 10; in brcms_c_init()
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmain.h606 * current_bss: BSS parms in ASSOCIATED state
617 struct brcms_bss_info *current_bss; member
H A Dmain.c432 kfree(cfg->current_bss); in brcms_c_bsscfg_mfree()
470 cfg->current_bss = kzalloc(sizeof(struct brcms_bss_info), GFP_ATOMIC); in brcms_c_bsscfg_malloc()
471 if (cfg->current_bss == NULL) in brcms_c_bsscfg_malloc()
3824 wlc->bsscfg->current_bss->chanspec = chanspec; in brcms_c_set_home_chanspec()
5434 rs = &wlc->bsscfg->current_bss->rateset; in brcms_c_get_current_rateset()
5461 mcsset_bss = wlc->bsscfg->current_bss; in brcms_c_set_rateset()
7820 bi = wlc->bsscfg->current_bss->beacon_period << 10; in brcms_c_init()
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
H A Dcfg80211.c503 if (idx != 0 || !vif->wdev.current_bss) in qtnf_dump_station()
739 if (vif->wdev.current_bss) { in qtnf_disconnect()
H A Devent.c473 !vif->wdev.current_bss) in qtnf_event_handle_freq_change()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A Dcfg80211.c2338 if (priv->wdev.current_bss) { in mwifiex_cfg80211_connect()
2567 if (!priv->wdev.current_bss && priv->scan_block) in mwifiex_cfg80211_scan()
/kernel/linux/linux-6.6/include/net/
H A Dcfg80211.h6066 struct cfg80211_internal_bss *current_bss; member
6085 struct cfg80211_internal_bss *current_bss; member

Completed in 89 milliseconds

12