Home
last modified time | relevance | path

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

/linux-3.4.99/net/wireless/
Dmlme.c102 if (wdev->current_bss && in __cfg80211_send_deauth()
103 memcmp(wdev->current_bss->pub.bssid, bssid, ETH_ALEN) == 0) { in __cfg80211_send_deauth()
104 cfg80211_unhold_bss(wdev->current_bss); in __cfg80211_send_deauth()
105 cfg80211_put_bss(&wdev->current_bss->pub); in __cfg80211_send_deauth()
106 wdev->current_bss = NULL; in __cfg80211_send_deauth()
156 if (wdev->current_bss && in __cfg80211_send_disassoc()
157 memcmp(wdev->current_bss->pub.bssid, bssid, ETH_ALEN) == 0) { in __cfg80211_send_disassoc()
158 cfg80211_sme_disassoc(dev, wdev->current_bss); in __cfg80211_send_disassoc()
159 cfg80211_unhold_bss(wdev->current_bss); in __cfg80211_send_disassoc()
160 cfg80211_put_bss(&wdev->current_bss->pub); in __cfg80211_send_disassoc()
[all …]
Dibss.c37 if (wdev->current_bss) { in __cfg80211_ibss_joined()
38 cfg80211_unhold_bss(wdev->current_bss); in __cfg80211_ibss_joined()
39 cfg80211_put_bss(&wdev->current_bss->pub); in __cfg80211_ibss_joined()
43 wdev->current_bss = bss_from_pub(bss); in __cfg80211_ibss_joined()
166 if (wdev->current_bss) { in __cfg80211_clear_ibss()
167 cfg80211_unhold_bss(wdev->current_bss); in __cfg80211_clear_ibss()
168 cfg80211_put_bss(&wdev->current_bss->pub); in __cfg80211_clear_ibss()
171 wdev->current_bss = NULL; in __cfg80211_clear_ibss()
362 if (wdev->current_bss) in cfg80211_ibss_wext_giwfreq()
363 chan = wdev->current_bss->pub.channel; in cfg80211_ibss_wext_giwfreq()
[all …]
Dsme.c465 if (wdev->current_bss) { in __cfg80211_connect_result()
466 cfg80211_unhold_bss(wdev->current_bss); in __cfg80211_connect_result()
467 cfg80211_put_bss(&wdev->current_bss->pub); in __cfg80211_connect_result()
468 wdev->current_bss = NULL; in __cfg80211_connect_result()
500 wdev->current_bss = bss_from_pub(bss); in __cfg80211_connect_result()
577 if (WARN_ON(!wdev->current_bss)) { in __cfg80211_roamed()
581 cfg80211_unhold_bss(wdev->current_bss); in __cfg80211_roamed()
582 cfg80211_put_bss(&wdev->current_bss->pub); in __cfg80211_roamed()
583 wdev->current_bss = NULL; in __cfg80211_roamed()
586 wdev->current_bss = bss_from_pub(bss); in __cfg80211_roamed()
[all …]
Dwext-sme.c140 if (wdev->current_bss) in cfg80211_mgd_wext_giwfreq()
141 chan = wdev->current_bss->pub.channel; in cfg80211_mgd_wext_giwfreq()
229 if (wdev->current_bss) { in cfg80211_mgd_wext_giwessid()
230 const u8 *ie = ieee80211_bss_get_ie(&wdev->current_bss->pub, in cfg80211_mgd_wext_giwessid()
315 if (wdev->current_bss) in cfg80211_mgd_wext_giwap()
316 memcpy(ap_addr->sa_data, wdev->current_bss->pub.bssid, ETH_ALEN); in cfg80211_mgd_wext_giwap()
Dwext-compat.c465 if (!wdev->current_bss) in __cfg80211_set_encryption()
478 if (wdev->current_bss) { in __cfg80211_set_encryption()
527 if (wdev->current_bss) in __cfg80211_set_encryption()
544 if (wdev->current_bss) { in __cfg80211_set_encryption()
568 if (wdev->current_bss) in __cfg80211_set_encryption()
633 if (wdev->current_bss) in cfg80211_wext_siwencode()
1293 if (wdev->current_bss) in cfg80211_wext_giwrate()
1294 memcpy(addr, wdev->current_bss->pub.bssid, ETH_ALEN); in cfg80211_wext_giwrate()
1331 if (!wdev->current_bss) { in cfg80211_wireless_stats()
1335 memcpy(bssid, wdev->current_bss->pub.bssid, ETH_ALEN); in cfg80211_wireless_stats()
Dnl80211.c599 if (!wdev->current_bss) in nl80211_key_allowed()
4192 if (intbss == wdev->current_bss) in nl80211_send_bss()
4197 if (intbss == wdev->current_bss) in nl80211_send_bss()
6180 if (!wdev->current_bss) { in nl80211_set_rekey_data()
/linux-3.4.99/drivers/net/wireless/brcm80211/brcmsmac/
Dmain.h637 struct brcms_bss_info *current_bss; member
Dmain.c429 kfree(cfg->current_bss); in brcms_c_bsscfg_mfree()
463 cfg->current_bss = kzalloc(sizeof(struct brcms_bss_info), GFP_ATOMIC); in brcms_c_bsscfg_malloc()
464 if (cfg->current_bss == NULL) in brcms_c_bsscfg_malloc()
3881 wlc->bsscfg->current_bss->chanspec = chanspec; in brcms_c_set_home_chanspec()
5571 r = wlc->bsscfg->current_bss->rateset.rates[0]; in brcms_c_ofdm_rateset_war()
5638 rs = &wlc->bsscfg->current_bss->rateset; in brcms_c_get_current_rateset()
5665 mcsset_bss = wlc->bsscfg->current_bss; in brcms_c_set_rateset()
8254 bi = wlc->bsscfg->current_bss->beacon_period << 10; in brcms_c_init()
/linux-3.4.99/include/net/
Dcfg80211.h2288 struct cfg80211_internal_bss *current_bss; /* associated / joined */ member