Lines Matching refs:bssid
347 const u8 *bssid, u32 *changed) in ieee80211_config_bw() argument
410 ifmgd->bssid, chandef.chan->center_freq, chandef.width, in ieee80211_config_bw()
421 ifmgd->bssid); in ieee80211_config_bw()
457 ifmgd->bssid); in ieee80211_config_bw()
690 memcpy(mgmt->da, assoc_data->bss->bssid, ETH_ALEN); in ieee80211_send_assoc()
692 memcpy(mgmt->bssid, assoc_data->bss->bssid, ETH_ALEN); in ieee80211_send_assoc()
962 memcpy(nullfunc->addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
964 memcpy(nullfunc->addr3, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
1133 ifmgd->associated->bssid, &csa_ie); in ieee80211_sta_process_chanswitch()
1144 ifmgd->associated->bssid, in ieee80211_sta_process_chanswitch()
1159 ifmgd->associated->bssid); in ieee80211_sta_process_chanswitch()
1354 sdata->u.mgd.bssid); in ieee80211_handle_pwr_constr()
1359 pwr_level_cisco, sdata->u.mgd.bssid); in ieee80211_handle_pwr_constr()
1438 sta = sta_info_get(sdata, mgd->bssid); in ieee80211_powersave_allowed()
1908 memcpy(sdata->u.mgd.bssid, cbss->bssid, ETH_ALEN); in ieee80211_set_associated()
2026 ieee80211_send_deauth_disassoc(sdata, ifmgd->bssid, stype, in ieee80211_set_disassoc()
2034 eth_zero_addr(ifmgd->bssid); in ieee80211_set_disassoc()
2216 u8 *dst = ifmgd->associated->bssid; in ieee80211_mgd_probe_ap_send()
2351 skb = ieee80211_build_probe_req(sdata, sdata->vif.addr, cbss->bssid, in ieee80211_ap_probereq_get()
2420 sta = sta_info_get(sdata, ifmgd->bssid); in ieee80211_beacon_connection_loss_work()
2428 ifmgd->bssid); in ieee80211_beacon_connection_loss_work()
2483 sta_info_destroy_addr(sdata, auth_data->bss->bssid); in ieee80211_destroy_auth_data()
2485 eth_zero_addr(sdata->u.mgd.bssid); in ieee80211_destroy_auth_data()
2518 auth_data->bss->bssid, auth_data->bss->bssid, in ieee80211_auth_challenge()
2527 u8 bssid[ETH_ALEN]; in ieee80211_rx_mgmt_auth() local
2543 memcpy(bssid, ifmgd->auth_data->bss->bssid, ETH_ALEN); in ieee80211_rx_mgmt_auth()
2545 if (!ether_addr_equal(bssid, mgmt->bssid)) in ieee80211_rx_mgmt_auth()
2611 sta = sta_info_get(sdata, bssid); in ieee80211_rx_mgmt_auth()
2613 WARN_ONCE(1, "%s: STA %pM not found", sdata->name, bssid); in ieee80211_rx_mgmt_auth()
2617 sdata_info(sdata, "failed moving %pM to auth\n", bssid); in ieee80211_rx_mgmt_auth()
2690 const u8 *bssid = NULL; in ieee80211_rx_mgmt_deauth() local
2699 !ether_addr_equal(mgmt->bssid, ifmgd->associated->bssid)) in ieee80211_rx_mgmt_deauth()
2702 bssid = ifmgd->associated->bssid; in ieee80211_rx_mgmt_deauth()
2707 bssid, reason_code, ieee80211_get_reason_code_string(reason_code)); in ieee80211_rx_mgmt_deauth()
2727 !ether_addr_equal(mgmt->bssid, ifmgd->associated->bssid)) in ieee80211_rx_mgmt_disassoc()
2805 sta_info_destroy_addr(sdata, assoc_data->bss->bssid); in ieee80211_destroy_assoc_data()
2807 eth_zero_addr(sdata->u.mgd.bssid); in ieee80211_destroy_assoc_data()
2957 sta = sta_info_get(sdata, cbss->bssid); in ieee80211_assoc_success()
3085 if (!ether_addr_equal(assoc_data->bss->bssid, mgmt->bssid)) in ieee80211_rx_mgmt_assoc_resp()
3212 ether_addr_equal(mgmt->bssid, ifmgd->associated->bssid)) in ieee80211_rx_mgmt_probe_resp()
3216 ether_addr_equal(mgmt->bssid, ifmgd->auth_data->bss->bssid)) { in ieee80211_rx_mgmt_probe_resp()
3266 u8 *bssid; in ieee80211_rx_mgmt_beacon() local
3291 ether_addr_equal(mgmt->bssid, ifmgd->assoc_data->bss->bssid)) { in ieee80211_rx_mgmt_beacon()
3321 !ether_addr_equal(mgmt->bssid, ifmgd->associated->bssid)) in ieee80211_rx_mgmt_beacon()
3323 bssid = ifmgd->associated->bssid; in ieee80211_rx_mgmt_beacon()
3536 sta = sta_info_get(sdata, bssid); in ieee80211_rx_mgmt_beacon()
3540 elems.vht_operation, bssid, &changed)) { in ieee80211_rx_mgmt_beacon()
3658 u8 *bssid, u8 reason, bool tx) in ieee80211_sta_connection_lost() argument
3685 auth_data->bss->bssid); in ieee80211_probe_auth()
3703 auth_data->bss->bssid, auth_data->tries, in ieee80211_probe_auth()
3720 auth_data->bss->bssid, in ieee80211_probe_auth()
3721 auth_data->bss->bssid, NULL, 0, 0, in ieee80211_probe_auth()
3727 auth_data->bss->bssid, auth_data->tries, in ieee80211_probe_auth()
3771 assoc_data->bss->bssid); in ieee80211_do_assoc()
3783 assoc_data->bss->bssid, assoc_data->tries, in ieee80211_do_assoc()
3859 u8 bssid[ETH_ALEN]; in ieee80211_sta_work() local
3866 memcpy(bssid, ifmgd->auth_data->bss->bssid, ETH_ALEN); in ieee80211_sta_work()
3870 cfg80211_auth_timeout(sdata->dev, bssid); in ieee80211_sta_work()
3896 u8 bssid[ETH_ALEN]; in ieee80211_sta_work() local
3899 memcpy(bssid, ifmgd->associated->bssid, ETH_ALEN); in ieee80211_sta_work()
3913 bssid, ifmgd->probe_send_count, in ieee80211_sta_work()
3919 bssid); in ieee80211_sta_work()
3920 ieee80211_sta_connection_lost(sdata, bssid, in ieee80211_sta_work()
3929 bssid, probe_wait_ms); in ieee80211_sta_work()
3930 ieee80211_sta_connection_lost(sdata, bssid, in ieee80211_sta_work()
3935 bssid, probe_wait_ms, in ieee80211_sta_work()
3947 bssid, probe_wait_ms); in ieee80211_sta_work()
3949 ieee80211_sta_connection_lost(sdata, bssid, in ieee80211_sta_work()
4017 const u8 *bssid = ifmgd->auth_data ? in ieee80211_mgd_quiesce() local
4018 ifmgd->auth_data->bss->bssid : in ieee80211_mgd_quiesce()
4019 ifmgd->assoc_data->bss->bssid; in ieee80211_mgd_quiesce()
4026 ieee80211_send_deauth_disassoc(sdata, bssid, in ieee80211_mgd_quiesce()
4056 u8 bssid[ETH_ALEN]; in ieee80211_mgd_quiesce() local
4059 .bssid = bssid, in ieee80211_mgd_quiesce()
4062 memcpy(bssid, ifmgd->associated->bssid, ETH_ALEN); in ieee80211_mgd_quiesce()
4083 ifmgd->associated->bssid, in ieee80211_sta_restart()
4326 have_sta = sta_info_get(sdata, cbss->bssid); in ieee80211_prep_connection()
4331 new_sta = sta_info_alloc(sdata, cbss->bssid, GFP_KERNEL); in ieee80211_prep_connection()
4402 memcpy(ifmgd->bssid, cbss->bssid, ETH_ALEN); in ieee80211_prep_connection()
4452 WARN_ON_ONCE(!ether_addr_equal(ifmgd->bssid, cbss->bssid)); in ieee80211_prep_connection()
4551 sdata_info(sdata, "authenticate with %pM\n", req->bss->bssid); in ieee80211_mgd_auth()
4559 sta_info_destroy_addr(sdata, req->bss->bssid); in ieee80211_mgd_auth()
4568 eth_zero_addr(ifmgd->bssid); in ieee80211_mgd_auth()
4667 match = ether_addr_equal(ifmgd->bssid, req->bss->bssid); in ieee80211_mgd_assoc()
4862 ifmgd->bssid); in ieee80211_mgd_assoc()
4912 eth_zero_addr(ifmgd->bssid); in ieee80211_mgd_assoc()
4928 ether_addr_equal(ifmgd->auth_data->bss->bssid, req->bssid)) { in ieee80211_mgd_deauth()
4931 req->bssid, req->reason_code, in ieee80211_mgd_deauth()
4935 ieee80211_send_deauth_disassoc(sdata, req->bssid, in ieee80211_mgd_deauth()
4948 ether_addr_equal(ifmgd->assoc_data->bss->bssid, req->bssid)) { in ieee80211_mgd_deauth()
4951 req->bssid, req->reason_code, in ieee80211_mgd_deauth()
4955 ieee80211_send_deauth_disassoc(sdata, req->bssid, in ieee80211_mgd_deauth()
4967 ether_addr_equal(ifmgd->associated->bssid, req->bssid)) { in ieee80211_mgd_deauth()
4970 req->bssid, req->reason_code, in ieee80211_mgd_deauth()
4988 u8 bssid[ETH_ALEN]; in ieee80211_mgd_disassoc() local
5002 req->bss->bssid, req->reason_code, ieee80211_get_reason_code_string(req->reason_code)); in ieee80211_mgd_disassoc()
5004 memcpy(bssid, req->bss->bssid, ETH_ALEN); in ieee80211_mgd_disassoc()