/net/wireless/ |
D | ibss.c | 19 void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, in __cfg80211_ibss_joined() argument 34 bss = cfg80211_get_bss(wdev->wiphy, channel, bssid, NULL, 0, in __cfg80211_ibss_joined() 50 nl80211_send_ibss_bssid(wiphy_to_rdev(wdev->wiphy), dev, bssid, in __cfg80211_ibss_joined() 54 memcpy(wrqu.ap_addr.sa_data, bssid, ETH_ALEN); in __cfg80211_ibss_joined() 59 void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, in cfg80211_ibss_joined() argument 67 trace_cfg80211_ibss_joined(dev, bssid, channel); in cfg80211_ibss_joined() 77 memcpy(ev->ij.bssid, bssid, ETH_ALEN); in cfg80211_ibss_joined() 465 u8 *bssid = ap_addr->sa_data; in cfg80211_ibss_wext_siwap() local 479 if (is_zero_ether_addr(bssid) || is_broadcast_ether_addr(bssid)) in cfg80211_ibss_wext_siwap() 480 bssid = NULL; in cfg80211_ibss_wext_siwap() [all …]
|
D | wext-sme.c | 252 u8 *bssid = ap_addr->sa_data; in cfg80211_mgd_wext_siwap() local 263 if (is_zero_ether_addr(bssid) || is_broadcast_ether_addr(bssid)) in cfg80211_mgd_wext_siwap() 264 bssid = NULL; in cfg80211_mgd_wext_siwap() 271 if (!bssid && !wdev->wext.connect.bssid) in cfg80211_mgd_wext_siwap() 275 if (wdev->wext.connect.bssid && bssid && in cfg80211_mgd_wext_siwap() 276 ether_addr_equal(bssid, wdev->wext.connect.bssid)) in cfg80211_mgd_wext_siwap() 285 if (bssid) { in cfg80211_mgd_wext_siwap() 286 memcpy(wdev->wext.bssid, bssid, ETH_ALEN); in cfg80211_mgd_wext_siwap() 287 wdev->wext.connect.bssid = wdev->wext.bssid; in cfg80211_mgd_wext_siwap() 289 wdev->wext.connect.bssid = NULL; in cfg80211_mgd_wext_siwap() [all …]
|
D | sme.c | 48 u8 bssid[ETH_ALEN], prev_bssid[ETH_ALEN]; member 125 eth_broadcast_addr(request->bssid); in cfg80211_conn_scan() 176 params->bssid, in cfg80211_conn_do_work() 205 params->bssid, in cfg80211_conn_do_work() 217 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, in cfg80211_conn_do_work() 226 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, in cfg80211_conn_do_work() 231 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, in cfg80211_conn_do_work() 249 u8 bssid_buf[ETH_ALEN], *bssid = NULL; in cfg80211_conn_work() local 268 if (wdev->conn->params.bssid) { in cfg80211_conn_work() 269 memcpy(bssid_buf, wdev->conn->params.bssid, ETH_ALEN); in cfg80211_conn_work() [all …]
|
D | mlme.c | 53 cr.links[link_id].bssid = data->links[link_id].bss->bssid; in cfg80211_rx_assoc_resp() 115 const u8 *bssid = mgmt->bssid; in cfg80211_process_deauth() local 121 if (!wdev->connected || !ether_addr_equal(wdev->u.client.connected_addr, bssid)) in cfg80211_process_deauth() 134 const u8 *bssid = mgmt->bssid; in cfg80211_process_disassoc() local 142 !ether_addr_equal(wdev->u.client.connected_addr, bssid))) in cfg80211_process_disassoc() 189 const u8 *addr = data->ap_mld_addr ?: data->bss[0]->bssid; in cfg80211_assoc_failure() 283 ether_addr_equal(req->bss->bssid, wdev->u.client.connected_addr)) in cfg80211_mlme_auth() 286 if (ether_addr_equal(req->bss->bssid, dev->dev_addr) || in cfg80211_mlme_auth() 346 if (ether_addr_equal(req->links[i].bss->bssid, dev->dev_addr)) in cfg80211_mlme_assoc() 355 if ((req->bss && ether_addr_equal(req->bss->bssid, dev->dev_addr)) || in cfg80211_mlme_assoc() [all …]
|
D | scan.c | 103 u8 bssid[ETH_ALEN]; member 417 static bool is_bss(struct cfg80211_bss *a, const u8 *bssid, in is_bss() argument 423 if (bssid && !ether_addr_equal(a->bssid, bssid)) in is_bss() 456 if (is_bss(bss, nontrans_bss->bssid, ssid_elem->data, in cfg80211_add_nontrans_list() 589 memcpy(entry->bssid, tbtt_info->bssid, ETH_ALEN); in cfg80211_parse_ap_info() 608 memcpy(entry->bssid, tbtt_info->bssid, ETH_ALEN); in cfg80211_parse_ap_info() 618 if (!is_valid_ether_addr(entry->bssid)) in cfg80211_parse_ap_info() 889 if (is_broadcast_ether_addr(rdev_req->bssid) || in cfg80211_scan_6ghz() 890 !ether_addr_equal(rdev_req->bssid, res->bssid) || in cfg80211_scan_6ghz() 905 memcpy(entry->bssid, res->bssid, ETH_ALEN); in cfg80211_scan_6ghz() [all …]
|
D | trace.h | 1167 MAC_ENTRY(bssid) 1172 MAC_ASSIGN(bssid, bss->bssid); 1176 WIPHY_PR_ARG, __entry->bssid, CHAN_PR_ARG) 1247 MAC_ENTRY(bssid) 1254 MAC_ASSIGN(bssid, req->bss->bssid); 1256 eth_zero_addr(__entry->bssid); 1261 __entry->bssid) 1271 MAC_ENTRY(bssid) 1288 MAC_ASSIGN(bssid, req->bss->bssid); 1290 eth_zero_addr(__entry->bssid); [all …]
|
D | core.h | 281 u8 bssid[ETH_ALEN]; member 285 u8 bssid[ETH_ALEN]; member 343 void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, 391 struct net_device *dev, const u8 *bssid, 432 void __cfg80211_port_authorized(struct wireless_dev *wdev, const u8 *bssid,
|
D | nl80211.h | 86 struct net_device *netdev, const u8 *bssid, 104 struct net_device *netdev, const u8 *bssid,
|
D | wext-compat.c | 1346 memcpy(addr, wdev->links[0].client.current_bss->pub.bssid, in cfg80211_wext_giwrate() 1380 u8 bssid[ETH_ALEN]; in cfg80211_wireless_stats() local 1395 memcpy(bssid, wdev->links[0].client.current_bss->pub.bssid, ETH_ALEN); in cfg80211_wireless_stats() 1401 ret = rdev_get_station(rdev, dev, bssid, &sinfo); in cfg80211_wireless_stats() 1572 cfg_pmksa.bssid = pmksa->bssid.sa_data; in cfg80211_wext_siwpmksa()
|
D | nl80211.c | 9405 memcpy(request->bssid, in nl80211_trigger_scan() 9409 memcpy(request->bssid, nla_data(info->attrs[NL80211_ATTR_MAC]), in nl80211_trigger_scan() 9412 eth_broadcast_addr(request->bssid); in nl80211_trigger_scan() 9806 struct nlattr *ssid, *bssid, *rssi; in nl80211_parse_sched_scan() local 9816 bssid = tb[NL80211_SCHED_SCAN_MATCH_ATTR_BSSID]; in nl80211_parse_sched_scan() 9818 if (!ssid && !bssid) { in nl80211_parse_sched_scan() 9838 if (bssid) in nl80211_parse_sched_scan() 9839 memcpy(request->match_sets[i].bssid, in nl80211_parse_sched_scan() 9840 nla_data(bssid), ETH_ALEN); in nl80211_parse_sched_scan() 10382 if ((!is_zero_ether_addr(res->bssid) && in nl80211_send_bss() [all …]
|
/net/mac80211/ |
D | ibss.c | 81 memcpy(mgmt->bssid, ifibss->bssid, ETH_ALEN); in ieee80211_ibss_build_presp() 219 const u8 *bssid, const int beacon_int, in __ieee80211_sta_join_ibss() argument 243 if (!ether_addr_equal(ifibss->bssid, bssid)) in __ieee80211_sta_join_ibss() 314 memcpy(ifibss->bssid, bssid, ETH_ALEN); in __ieee80211_sta_join_ibss() 390 cfg80211_ibss_joined(sdata->dev, ifibss->bssid, chan, GFP_KERNEL); in __ieee80211_sta_join_ibss() 471 __ieee80211_sta_join_ibss(sdata, cbss->bssid, in ieee80211_sta_join_ibss() 496 ifibss->bssid, ifibss->ssid, in ieee80211_ibss_csa_beacon() 539 if (!is_zero_ether_addr(ifibss->bssid)) { in ieee80211_ibss_finish_csa() 542 ifibss->bssid, ifibss->ssid, in ieee80211_ibss_finish_csa() 593 ieee80211_ibss_add_sta(struct ieee80211_sub_if_data *sdata, const u8 *bssid, in ieee80211_ibss_add_sta() argument [all …]
|
D | spectmgmt.c | 26 ieee80211_conn_flags_t conn_flags, u8 *bssid, in ieee80211_parse_ch_switch_ie() argument 90 bssid, new_freq); in ieee80211_parse_ch_switch_ie() 177 bssid); in ieee80211_parse_ch_switch_ie() 194 const u8 *da, const u8 *bssid, in ieee80211_send_refuse_measurement_request() argument 210 memcpy(msr_report->bssid, bssid, ETH_ALEN); in ieee80211_send_refuse_measurement_request() 247 mgmt->sa, mgmt->bssid, in ieee80211_process_measurement_req()
|
D | s1g.c | 34 const u8 *bssid, struct ieee80211_twt_setup *twt) in ieee80211_s1g_send_twt_setup() argument 51 memcpy(mgmt->bssid, bssid, ETH_ALEN); in ieee80211_s1g_send_twt_setup() 65 const u8 *da, const u8 *bssid, u8 flowid) in ieee80211_s1g_send_twt_teardown() argument 83 memcpy(mgmt->bssid, bssid, ETH_ALEN); in ieee80211_s1g_send_twt_teardown()
|
D | mlme.c | 490 const u8 *bssid, u64 *changed) in ieee80211_config_bw() argument 567 link->u.mgd.bssid, chandef.chan->center_freq, in ieee80211_config_bw() 584 link->u.mgd.bssid, flags, ifmgd->flags); in ieee80211_config_bw() 593 link->u.mgd.bssid); in ieee80211_config_bw() 1504 memcpy(mgmt->bssid, sdata->vif.cfg.ap_addr, ETH_ALEN); in ieee80211_send_assoc() 1667 memcpy(nullfunc->addr1, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc() 1669 memcpy(nullfunc->addr3, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc() 1866 link->u.mgd.bssid, &csa_ie); in ieee80211_sta_process_chanswitch() 1896 link->u.mgd.bssid, in ieee80211_sta_process_chanswitch() 1909 link->u.mgd.bssid, in ieee80211_sta_process_chanswitch() [all …]
|
D | ht.c | 480 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba() 482 memcpy(mgmt->bssid, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_delba() 484 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_delba() 542 const u8 *bssid) in ieee80211_send_smps_action() argument 557 memcpy(action_frame->bssid, bssid, ETH_ALEN); in ieee80211_send_smps_action()
|
D | rx.c | 1732 u8 *bssid = ieee80211_get_bssid(hdr, rx->skb->len, in ieee80211_rx_h_sta_process() local 1734 if (ether_addr_equal(bssid, rx->sdata->u.ibss.bssid) && in ieee80211_rx_h_sta_process() 3289 if (!ether_addr_equal(mgmt->sa, sdata->deflink.u.mgd.bssid) || in ieee80211_process_sa_query_req() 3290 !ether_addr_equal(mgmt->bssid, sdata->deflink.u.mgd.bssid)) { in ieee80211_process_sa_query_req() 3308 memcpy(resp->bssid, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_process_sa_query_req() 3593 if (!ether_addr_equal(mgmt->bssid, sdata->deflink.u.mgd.bssid)) in ieee80211_rx_h_action() 3683 u8 *bssid; in ieee80211_rx_h_action() local 3694 bssid = sdata->deflink.u.mgd.bssid; in ieee80211_rx_h_action() 3696 bssid = sdata->u.ibss.bssid; in ieee80211_rx_h_action() 3698 bssid = mgmt->sa; in ieee80211_rx_h_action() [all …]
|
D | agg-rx.c | 224 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_resp() 226 memcpy(mgmt->bssid, sdata->vif.cfg.ap_addr, ETH_ALEN); in ieee80211_send_addba_resp() 228 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_addba_resp()
|
D | iface.c | 938 sta = sta_info_get(sdata, sdata->deflink.u.mgd.bssid); in ieee80211_netdev_fill_forward_path() 1781 sdata->vif.bss_conf.bssid = sdata->vif.addr; in ieee80211_setup_sdata() 1789 sdata->vif.bss_conf.bssid = sdata->deflink.u.mgd.bssid; in ieee80211_setup_sdata() 1793 sdata->vif.bss_conf.bssid = bssid_wildcard; in ieee80211_setup_sdata() 1797 sdata->vif.bss_conf.bssid = sdata->u.ibss.bssid; in ieee80211_setup_sdata() 1813 sdata->vif.bss_conf.bssid = sdata->vif.addr; in ieee80211_setup_sdata() 1817 sdata->vif.bss_conf.bssid = sdata->vif.addr; in ieee80211_setup_sdata()
|
D | scan.c | 201 scan_sdata->vif.bss_conf.bssid); in ieee80211_bss_info_update() 387 ether_addr_copy(local->hw_scan_req->req.bssid, req->bssid); in ieee80211_prep_hw_scan() 652 sdata, local->scan_addr, scan_req->bssid, in ieee80211_scan_state_send_probe() 728 eth_broadcast_addr(local->hw_scan_req->req.bssid); in __ieee80211_start_scan()
|
D | ieee80211_i.h | 574 u8 bssid[ETH_ALEN] __aligned(2); member 907 u8 bssid[ETH_ALEN] __aligned(2); member 1900 const u8 *bssid, const u8 *addr, u32 supp_rates); 1917 const u8 *bssid, const u8 *addr, u32 supp_rates); 2098 const u8 *bssid); 2218 ieee80211_conn_flags_t conn_flags, u8 *bssid, 2441 const u8 *extra, size_t extra_len, const u8 *bssid, 2445 const u8 *da, const u8 *bssid,
|
D | agg-tx.c | 83 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request() 85 memcpy(mgmt->bssid, sdata->vif.cfg.ap_addr, ETH_ALEN); in ieee80211_send_addba_request() 87 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_addba_request()
|
D | debugfs_netdev.c | 259 IEEE80211_IF_FILE(bssid, deflink.u.mgd.bssid, MAC); 368 memcpy(hdr->addr1, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test() 728 DEBUGFS_ADD(bssid); in add_sta_files()
|
D | tx.c | 2776 memcpy(hdr.addr3, link->u.mgd.bssid, ETH_ALEN); in ieee80211_build_hdr() 2783 memcpy(hdr.addr1, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_build_hdr() 2808 memcpy(hdr.addr3, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_build_hdr() 3081 memcpy(hdr->addr3, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_check_fast_xmit() 3097 memcpy(hdr->addr3, link->u.mgd.bssid, ETH_ALEN); in ieee80211_check_fast_xmit() 3108 memcpy(hdr->addr1, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_check_fast_xmit() 3327 const u8 *bssid; in ieee80211_amsdu_prepare_head() local 3358 bssid = sdata->vif.cfg.ap_addr; in ieee80211_amsdu_prepare_head() 3362 bssid = sdata->vif.addr; in ieee80211_amsdu_prepare_head() 3365 bssid = NULL; in ieee80211_amsdu_prepare_head() [all …]
|
D | util.c | 1462 cfg80211_gen_new_bssid(bss->transmitted_bss->bssid, in ieee802_11_find_bssid_profile() 1466 if (ether_addr_equal(new_bssid, bss->bssid)) { in ieee802_11_find_bssid_profile() 1814 const u8 *bssid, const u8 *key, u8 key_len, u8 key_idx, in ieee80211_send_auth() argument 1852 memcpy(mgmt->bssid, bssid, ETH_ALEN); in ieee80211_send_auth() 1876 const u8 *da, const u8 *bssid, in ieee80211_send_deauth_disassoc() argument 1890 memcpy(mgmt->bssid, bssid, ETH_ALEN); in ieee80211_send_deauth_disassoc() 2253 memcpy(mgmt->bssid, dst, ETH_ALEN); in ieee80211_build_probe_req() 4531 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_action_csa() 4534 memcpy(mgmt->bssid, ifibss->bssid, ETH_ALEN); in ieee80211_send_action_csa()
|
D | ocb.c | 40 const u8 *bssid, const u8 *addr, in ieee80211_ocb_rx_no_sta() argument
|