Home
last modified time | relevance | path

Searched refs:current_bss (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/net/wireless/
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->pub.channel; in cfg80211_ibss_wext_giwfreq()
[all …]
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()
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()
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()
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()
Dmlme.c761 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()
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()
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()
Dnl80211.c1556 if (wdev->u.ibss.current_bss) in nl80211_key_allowed()
10417 if (intbss == wdev->links[link_id].client.current_bss && in nl80211_send_bss()
10429 if (intbss == wdev->u.ibss.current_bss && in nl80211_send_bss()
12837 wdev->links[0].client.current_bss && in cfg80211_cqm_rssi_update()
12842 mac_addr = wdev->links[0].client.current_bss->pub.bssid; in cfg80211_cqm_rssi_update()
15682 if (wdev->u.ibss.current_bss) in nl80211_tx_control_port()
19434 if (!WARN_ON(!wdev->links[link_id].client.current_bss)) in cfg80211_ch_switch_notify()
Dscan.c3044 struct cfg80211_internal_bss *cbss = wdev->links[link_id].client.current_bss; in cfg80211_update_assoc_bss_entry()
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.h617 struct brcms_bss_info *current_bss; member
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()
/linux-6.6.21/include/net/
Dcfg80211.h6066 struct cfg80211_internal_bss *current_bss; member
6085 struct cfg80211_internal_bss *current_bss; member