Home
last modified time | relevance | path

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

/Linux-v4.19/net/wireless/
Dmlme.c81 if (!wdev->current_bss || in cfg80211_process_deauth()
82 !ether_addr_equal(wdev->current_bss->pub.bssid, bssid)) in cfg80211_process_deauth()
100 if (WARN_ON(!wdev->current_bss || in cfg80211_process_disassoc()
101 !ether_addr_equal(wdev->current_bss->pub.bssid, bssid))) in cfg80211_process_disassoc()
246 if (wdev->current_bss && in cfg80211_mlme_auth()
247 ether_addr_equal(bssid, wdev->current_bss->pub.bssid)) in cfg80211_mlme_auth()
308 if (wdev->current_bss && in cfg80211_mlme_assoc()
309 (!req->prev_bssid || !ether_addr_equal(wdev->current_bss->pub.bssid, in cfg80211_mlme_assoc()
350 (!wdev->current_bss || in cfg80211_mlme_deauth()
351 !ether_addr_equal(wdev->current_bss->pub.bssid, bssid))) in cfg80211_mlme_deauth()
[all …]
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()
171 if (wdev->current_bss) { in __cfg80211_clear_ibss()
172 cfg80211_unhold_bss(wdev->current_bss); in __cfg80211_clear_ibss()
173 cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); in __cfg80211_clear_ibss()
176 wdev->current_bss = NULL; in __cfg80211_clear_ibss()
372 if (wdev->current_bss) in cfg80211_ibss_wext_giwfreq()
373 chan = wdev->current_bss->pub.channel; in cfg80211_ibss_wext_giwfreq()
[all …]
Dsme.c525 if (wdev->current_bss) { in cfg80211_sme_connect()
526 cfg80211_unhold_bss(wdev->current_bss); in cfg80211_sme_connect()
527 cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); in cfg80211_sme_connect()
528 wdev->current_bss = NULL; in cfg80211_sme_connect()
649 if (wdev->conn || wdev->current_bss) in cfg80211_is_all_idle()
733 if (wdev->current_bss) { in __cfg80211_connect_result()
734 cfg80211_unhold_bss(wdev->current_bss); in __cfg80211_connect_result()
735 cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); in __cfg80211_connect_result()
736 wdev->current_bss = NULL; in __cfg80211_connect_result()
755 wdev->current_bss = bss_from_pub(cr->bss); in __cfg80211_connect_result()
[all …]
Dwext-sme.c128 if (wdev->current_bss) in cfg80211_mgd_wext_giwfreq()
129 chan = wdev->current_bss->pub.channel; in cfg80211_mgd_wext_giwfreq()
213 if (wdev->current_bss) { in cfg80211_mgd_wext_giwessid()
217 ie = ieee80211_bss_get_ie(&wdev->current_bss->pub, in cfg80211_mgd_wext_giwessid()
299 if (wdev->current_bss) in cfg80211_mgd_wext_giwap()
300 memcpy(ap_addr->sa_data, wdev->current_bss->pub.bssid, ETH_ALEN); in cfg80211_mgd_wext_giwap()
Dchan.c871 wdev->current_bss) in cfg80211_ir_permissive_chan()
872 other_chan = wdev->current_bss->pub.channel; in cfg80211_ir_permissive_chan()
1007 if (wdev->current_bss) { in cfg80211_get_chan_state()
1008 *chan = wdev->current_bss->pub.channel; in cfg80211_get_chan_state()
1023 if (wdev->current_bss) { in cfg80211_get_chan_state()
1024 *chan = wdev->current_bss->pub.channel; in cfg80211_get_chan_state()
Dwext-compat.c429 if (!wdev->current_bss) in __cfg80211_set_encryption()
442 if (wdev->current_bss) { in __cfg80211_set_encryption()
493 if (wdev->current_bss) in __cfg80211_set_encryption()
518 if (wdev->current_bss) { in __cfg80211_set_encryption()
541 if (wdev->current_bss) in __cfg80211_set_encryption()
602 if (wdev->current_bss) in cfg80211_wext_siwencode()
1269 if (wdev->current_bss) in cfg80211_wext_giwrate()
1270 memcpy(addr, wdev->current_bss->pub.bssid, ETH_ALEN); in cfg80211_wext_giwrate()
1311 if (!wdev->current_bss) { in cfg80211_wireless_stats()
1315 memcpy(bssid, wdev->current_bss->pub.bssid, ETH_ALEN); in cfg80211_wireless_stats()
Dcore.c1331 if (WARN_ON(wdev->current_bss)) { in cfg80211_netdev_notifier_call()
1332 cfg80211_unhold_bss(wdev->current_bss); in cfg80211_netdev_notifier_call()
1333 cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); in cfg80211_netdev_notifier_call()
1334 wdev->current_bss = NULL; in cfg80211_netdev_notifier_call()
Dreg.c2084 if (!wdev->current_bss || in reg_wdev_chan_valid()
2085 !wdev->current_bss->pub.channel) in reg_wdev_chan_valid()
2091 wdev->current_bss->pub.channel, in reg_wdev_chan_valid()
Dnl80211.c1085 if (!wdev->current_bss) in nl80211_key_allowed()
2852 if (!wdev->current_bss) in nl80211_send_iface()
2855 ssid_ie = ieee80211_bss_get_ie(&wdev->current_bss->pub, in nl80211_send_iface()
7028 (wdev && wdev->current_bss)) in nl80211_check_scan_flags()
8154 if (intbss == wdev->current_bss && in nl80211_send_bss()
8160 if (intbss == wdev->current_bss && in nl80211_send_bss()
9606 if (!wdev->current_bss) in nl80211_update_connect_params()
10247 if (!wdev->cqm_config->last_rssi_event_value && wdev->current_bss && in cfg80211_cqm_rssi_update()
10252 mac_addr = wdev->current_bss->pub.bssid; in cfg80211_cqm_rssi_update()
11467 if (!wdev->current_bss) { in nl80211_set_rekey_data()
[all …]
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.h616 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()
3845 wlc->bsscfg->current_bss->chanspec = chanspec; in brcms_c_set_home_chanspec()
5421 r = wlc->bsscfg->current_bss->rateset.rates[0]; in brcms_c_ofdm_rateset_war()
5488 rs = &wlc->bsscfg->current_bss->rateset; in brcms_c_get_current_rateset()
5515 mcsset_bss = wlc->bsscfg->current_bss; in brcms_c_set_rateset()
7888 bi = wlc->bsscfg->current_bss->beacon_period << 10; in brcms_c_init()
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c2316 if (priv->wdev.current_bss) { in mwifiex_cfg80211_connect()
2545 if (!priv->wdev.current_bss && priv->scan_block) in mwifiex_cfg80211_scan()
/Linux-v4.19/include/net/
Dcfg80211.h4344 struct cfg80211_internal_bss *current_bss; /* associated / joined */ member