/net/wireless/ |
D | ibss.c | 17 void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, in __cfg80211_ibss_joined() argument 32 bss = cfg80211_get_bss(wdev->wiphy, channel, bssid, NULL, 0, in __cfg80211_ibss_joined() 49 nl80211_send_ibss_bssid(wiphy_to_rdev(wdev->wiphy), dev, bssid, in __cfg80211_ibss_joined() 53 memcpy(wrqu.ap_addr.sa_data, bssid, ETH_ALEN); in __cfg80211_ibss_joined() 58 void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, in cfg80211_ibss_joined() argument 66 trace_cfg80211_ibss_joined(dev, bssid, channel); in cfg80211_ibss_joined() 76 memcpy(ev->ij.bssid, bssid, ETH_ALEN); in cfg80211_ibss_joined() 469 u8 *bssid = ap_addr->sa_data; in cfg80211_ibss_wext_siwap() local 483 if (is_zero_ether_addr(bssid) || is_broadcast_ether_addr(bssid)) in cfg80211_ibss_wext_siwap() 484 bssid = NULL; in cfg80211_ibss_wext_siwap() [all …]
|
D | mlme.c | 49 __cfg80211_connect_result(dev, mgmt->bssid, NULL, 0, ie, len - ieoffs, in cfg80211_rx_assoc_resp() 69 const u8 *bssid = mgmt->bssid; in cfg80211_process_deauth() local 76 !ether_addr_equal(wdev->current_bss->pub.bssid, bssid)) in cfg80211_process_deauth() 88 const u8 *bssid = mgmt->bssid; in cfg80211_process_disassoc() local 95 !ether_addr_equal(wdev->current_bss->pub.bssid, bssid))) in cfg80211_process_disassoc() 142 trace_cfg80211_send_assoc_timeout(dev, bss->bssid); in cfg80211_assoc_timeout() 144 nl80211_send_assoc_timeout(rdev, dev, bss->bssid, GFP_KERNEL); in cfg80211_assoc_timeout() 215 const u8 *bssid, in cfg80211_mlme_auth() argument 241 ether_addr_equal(bssid, wdev->current_bss->pub.bssid)) in cfg80211_mlme_auth() 244 req.bss = cfg80211_get_bss(&rdev->wiphy, chan, bssid, ssid, ssid_len, in cfg80211_mlme_auth() [all …]
|
D | wext-sme.c | 263 u8 *bssid = ap_addr->sa_data; in cfg80211_mgd_wext_siwap() local 274 if (is_zero_ether_addr(bssid) || is_broadcast_ether_addr(bssid)) in cfg80211_mgd_wext_siwap() 275 bssid = NULL; in cfg80211_mgd_wext_siwap() 282 if (!bssid && !wdev->wext.connect.bssid) in cfg80211_mgd_wext_siwap() 286 if (wdev->wext.connect.bssid && bssid && in cfg80211_mgd_wext_siwap() 287 ether_addr_equal(bssid, wdev->wext.connect.bssid)) in cfg80211_mgd_wext_siwap() 296 if (bssid) { in cfg80211_mgd_wext_siwap() 297 memcpy(wdev->wext.bssid, bssid, ETH_ALEN); in cfg80211_mgd_wext_siwap() 298 wdev->wext.connect.bssid = wdev->wext.bssid; in cfg80211_mgd_wext_siwap() 300 wdev->wext.connect.bssid = NULL; in cfg80211_mgd_wext_siwap() [all …]
|
D | sme.c | 45 u8 bssid[ETH_ALEN], prev_bssid[ETH_ALEN]; member 123 eth_broadcast_addr(request->bssid); in cfg80211_conn_scan() 169 params->bssid, in cfg80211_conn_do_work() 193 params->bssid, params->ssid, in cfg80211_conn_do_work() 196 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, in cfg80211_conn_do_work() 202 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, in cfg80211_conn_do_work() 207 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, in cfg80211_conn_do_work() 225 u8 bssid_buf[ETH_ALEN], *bssid = NULL; in cfg80211_conn_work() local 243 if (wdev->conn->params.bssid) { in cfg80211_conn_work() 244 memcpy(bssid_buf, wdev->conn->params.bssid, ETH_ALEN); in cfg80211_conn_work() [all …]
|
D | trace.h | 1114 MAC_ENTRY(bssid) 1121 MAC_ASSIGN(bssid, req->bss->bssid); 1123 eth_zero_addr(__entry->bssid); 1128 MAC_PR_ARG(bssid)) 1138 MAC_ENTRY(bssid) 1147 MAC_ASSIGN(bssid, req->bss->bssid); 1149 eth_zero_addr(__entry->bssid); 1156 WIPHY_PR_ARG, NETDEV_PR_ARG, MAC_PR_ARG(bssid), 1168 MAC_ENTRY(bssid) 1174 MAC_ASSIGN(bssid, req->bssid); [all …]
|
D | core.h | 224 u8 bssid[ETH_ALEN]; member 246 u8 bssid[ETH_ALEN]; member 298 void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, 345 const u8 *bssid, 353 const u8 *bssid, 357 struct net_device *dev, const u8 *bssid, 361 struct net_device *dev, const u8 *bssid, 387 void __cfg80211_connect_result(struct net_device *dev, const u8 *bssid,
|
D | scan.c | 451 static bool is_bss(struct cfg80211_bss *a, const u8 *bssid, in is_bss() argument 457 if (bssid && !ether_addr_equal(a->bssid, bssid)) in is_bss() 532 r = memcmp(a->bssid, b->bssid, sizeof(a->bssid)); in cmp_bss() 635 const u8 *bssid, in cfg80211_get_bss() argument 645 trace_cfg80211_get_bss(wiphy, channel, bssid, ssid, ssid_len, bss_type, in cfg80211_get_bss() 661 if (!is_valid_ether_addr(bss->pub.bssid)) in cfg80211_get_bss() 667 if (is_bss(&bss->pub, bssid, ssid, ssid_len)) { in cfg80211_get_bss() 773 if (!ether_addr_equal(bss->pub.bssid, new->pub.bssid)) in cfg80211_combine_bsses() 1018 const u8 *bssid, u64 tsf, u16 capability, in cfg80211_inform_bss_data() argument 1039 memcpy(tmp.pub.bssid, bssid, ETH_ALEN); in cfg80211_inform_bss_data() [all …]
|
D | nl80211.h | 58 struct net_device *netdev, const u8 *bssid, 63 struct net_device *netdev, const u8 *bssid, 82 struct net_device *netdev, const u8 *bssid,
|
D | util.c | 534 const u8 *bssid, bool qos) in ieee80211_data_from_8023() argument 570 memcpy(hdr.addr1, bssid, ETH_ALEN); in ieee80211_data_from_8023() 580 memcpy(hdr.addr3, bssid, ETH_ALEN); in ieee80211_data_from_8023() 936 const u8 *bssid = NULL; in cfg80211_process_wdev_events() local 948 if (!is_zero_ether_addr(ev->cr.bssid)) in cfg80211_process_wdev_events() 949 bssid = ev->cr.bssid; in cfg80211_process_wdev_events() 951 wdev->netdev, bssid, in cfg80211_process_wdev_events() 970 __cfg80211_ibss_joined(wdev->netdev, ev->ij.bssid, in cfg80211_process_wdev_events()
|
D | wext-compat.c | 1179 memcpy(&wdev->wext.bssid, (u8 *) &addr->sa_data, ETH_ALEN); in cfg80211_wds_wext_siwap() 1194 memcpy(&addr->sa_data, wdev->wext.bssid, ETH_ALEN); in cfg80211_wds_wext_giwap() 1270 memcpy(addr, wdev->current_bss->pub.bssid, ETH_ALEN); in cfg80211_wext_giwrate() 1297 u8 bssid[ETH_ALEN]; in cfg80211_wireless_stats() local 1311 memcpy(bssid, wdev->current_bss->pub.bssid, ETH_ALEN); in cfg80211_wireless_stats() 1316 if (rdev_get_station(rdev, dev, bssid, &sinfo)) in cfg80211_wireless_stats() 1443 cfg_pmksa.bssid = pmksa->bssid.sa_data; in cfg80211_wext_siwpmksa()
|
D | nl80211.c | 2200 const u8 *bssid; in nl80211_set_wds_peer() local 2214 bssid = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_wds_peer() 2215 return rdev_set_wds_peer(rdev, dev, bssid); in nl80211_set_wds_peer() 6696 memcpy(request->bssid, in nl80211_trigger_scan() 6700 memcpy(request->bssid, nla_data(info->attrs[NL80211_ATTR_MAC]), in nl80211_trigger_scan() 6703 eth_broadcast_addr(request->bssid); in nl80211_trigger_scan() 7455 if ((!is_zero_ether_addr(res->bssid) && in nl80211_send_bss() 7456 nla_put(msg, NL80211_BSS_BSSID, ETH_ALEN, res->bssid))) in nl80211_send_bss() 7734 const u8 *bssid, *ssid, *ie = NULL, *sae_data = NULL; in nl80211_authenticate() local 7797 bssid = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_authenticate() [all …]
|
/net/mac80211/ |
D | ibss.c | 83 memcpy(mgmt->bssid, ifibss->bssid, ETH_ALEN); in ieee80211_ibss_build_presp() 221 const u8 *bssid, const int beacon_int, in __ieee80211_sta_join_ibss() argument 245 if (!ether_addr_equal(ifibss->bssid, bssid)) in __ieee80211_sta_join_ibss() 317 memcpy(ifibss->bssid, bssid, ETH_ALEN); in __ieee80211_sta_join_ibss() 396 cfg80211_ibss_joined(sdata->dev, ifibss->bssid, chan, GFP_KERNEL); in __ieee80211_sta_join_ibss() 477 __ieee80211_sta_join_ibss(sdata, cbss->bssid, in ieee80211_sta_join_ibss() 502 ifibss->bssid, ifibss->ssid, in ieee80211_ibss_csa_beacon() 548 if (!is_zero_ether_addr(ifibss->bssid)) { in ieee80211_ibss_finish_csa() 551 ifibss->bssid, ifibss->ssid, in ieee80211_ibss_finish_csa() 607 ieee80211_ibss_add_sta(struct ieee80211_sub_if_data *sdata, const u8 *bssid, in ieee80211_ibss_add_sta() argument [all …]
|
D | mlme.c | 308 const u8 *bssid, u32 *changed) in ieee80211_config_bw() argument 371 ifmgd->bssid, chandef.chan->center_freq, chandef.width, in ieee80211_config_bw() 382 ifmgd->bssid); in ieee80211_config_bw() 418 ifmgd->bssid); in ieee80211_config_bw() 681 memcpy(mgmt->da, assoc_data->bss->bssid, ETH_ALEN); in ieee80211_send_assoc() 683 memcpy(mgmt->bssid, assoc_data->bss->bssid, ETH_ALEN); in ieee80211_send_assoc() 953 memcpy(nullfunc->addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc() 955 memcpy(nullfunc->addr3, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc() 1124 ifmgd->associated->bssid, &csa_ie); in ieee80211_sta_process_chanswitch() 1135 ifmgd->associated->bssid, in ieee80211_sta_process_chanswitch() [all …]
|
D | spectmgmt.c | 27 u32 sta_flags, u8 *bssid, in ieee80211_parse_ch_switch_ie() argument 86 bssid, new_freq); in ieee80211_parse_ch_switch_ie() 165 bssid); in ieee80211_parse_ch_switch_ie() 176 const u8 *da, const u8 *bssid, in ieee80211_send_refuse_measurement_request() argument 193 memcpy(msr_report->bssid, bssid, ETH_ALEN); in ieee80211_send_refuse_measurement_request() 230 mgmt->sa, mgmt->bssid, in ieee80211_process_measurement_req()
|
D | ht.c | 384 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba() 386 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_delba() 388 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_delba() 431 const u8 *bssid) in ieee80211_send_smps_action() argument 446 memcpy(action_frame->bssid, bssid, ETH_ALEN); in ieee80211_send_smps_action()
|
D | rx.c | 1532 u8 *bssid = ieee80211_get_bssid(hdr, rx->skb->len, in ieee80211_rx_h_sta_process() local 1534 if (ether_addr_equal(bssid, rx->sdata->u.ibss.bssid) && in ieee80211_rx_h_sta_process() 2723 if (!ether_addr_equal(mgmt->sa, sdata->u.mgd.bssid) || in ieee80211_process_sa_query_req() 2724 !ether_addr_equal(mgmt->bssid, sdata->u.mgd.bssid)) { in ieee80211_process_sa_query_req() 2743 memcpy(resp->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_process_sa_query_req() 2903 if (!ether_addr_equal(mgmt->bssid, sdata->u.mgd.bssid)) in ieee80211_rx_h_action() 2993 u8 *bssid; in ieee80211_rx_h_action() local 3004 bssid = sdata->u.mgd.bssid; in ieee80211_rx_h_action() 3006 bssid = sdata->u.ibss.bssid; in ieee80211_rx_h_action() 3008 bssid = mgmt->sa; in ieee80211_rx_h_action() [all …]
|
D | agg-rx.c | 223 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_resp() 225 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_resp() 227 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_addba_resp()
|
D | ieee80211_i.h | 445 u8 bssid[ETH_ALEN]; member 563 u8 bssid[ETH_ALEN] __aligned(2); member 1586 const u8 *bssid, const u8 *addr, u32 supp_rates); 1601 const u8 *bssid, const u8 *addr, u32 supp_rates); 1736 const u8 *bssid); 1825 u32 sta_flags, u8 *bssid, 1995 const u8 *extra, size_t extra_len, const u8 *bssid, 1999 const u8 *bssid, u16 stype, u16 reason,
|
D | agg-tx.c | 86 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request() 88 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_request() 90 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_addba_request()
|
D | iface.c | 1479 sdata->vif.bss_conf.bssid = sdata->vif.addr; in ieee80211_setup_sdata() 1488 sdata->vif.bss_conf.bssid = sdata->u.mgd.bssid; in ieee80211_setup_sdata() 1492 sdata->vif.bss_conf.bssid = bssid_wildcard; in ieee80211_setup_sdata() 1496 sdata->vif.bss_conf.bssid = sdata->u.ibss.bssid; in ieee80211_setup_sdata() 1510 sdata->vif.bss_conf.bssid = NULL; in ieee80211_setup_sdata() 1515 sdata->vif.bss_conf.bssid = sdata->vif.addr; in ieee80211_setup_sdata() 1519 sdata->vif.bss_conf.bssid = sdata->vif.addr; in ieee80211_setup_sdata()
|
D | scan.c | 98 scan_sdata->vif.bss_conf.bssid); in ieee80211_bss_info_update() 324 ether_addr_copy(local->hw_scan_req->req.bssid, req->bssid); in ieee80211_prep_hw_scan() 531 sdata, local->scan_addr, scan_req->bssid, in ieee80211_scan_state_send_probe() 596 eth_broadcast_addr(local->hw_scan_req->req.bssid); in __ieee80211_start_scan()
|
D | debugfs_netdev.c | 240 IEEE80211_IF_FILE(bssid, u.mgd.bssid, MAC); 354 memcpy(hdr->addr1, sdata->u.mgd.associated->bssid, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test() 666 DEBUGFS_ADD(bssid); in add_sta_files()
|
D | util.c | 1224 const u8 *bssid, const u8 *key, u8 key_len, u8 key_idx, in ieee80211_send_auth() argument 1246 memcpy(mgmt->bssid, bssid, ETH_ALEN); in ieee80211_send_auth() 1265 const u8 *bssid, u16 stype, u16 reason, in ieee80211_send_deauth_disassoc() argument 1276 memcpy(mgmt->da, bssid, ETH_ALEN); in ieee80211_send_deauth_disassoc() 1278 memcpy(mgmt->bssid, bssid, ETH_ALEN); in ieee80211_send_deauth_disassoc() 1556 memcpy(mgmt->bssid, dst, ETH_ALEN); in ieee80211_build_probe_req() 2969 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_action_csa() 2972 memcpy(mgmt->bssid, ifibss->bssid, ETH_ALEN); in ieee80211_send_action_csa()
|
D | wme.c | 185 ra = sdata->u.mgd.bssid; in ieee80211_select_queue()
|
D | tx.c | 2317 sta = sta_info_get(sdata, sdata->u.mgd.bssid); in ieee80211_lookup_ra_sta() 2513 memcpy(hdr.addr3, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_build_hdr() 2520 memcpy(hdr.addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_build_hdr() 2528 memcpy(hdr.addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_build_hdr() 2557 memcpy(hdr.addr3, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_build_hdr() 2812 memcpy(hdr->addr3, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_check_fast_xmit() 2820 memcpy(hdr->addr3, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_check_fast_xmit() 2830 memcpy(hdr->addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_check_fast_xmit() 2839 memcpy(hdr->addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_check_fast_xmit() 4260 memcpy(pspoll->bssid, ifmgd->bssid, ETH_ALEN); in ieee80211_pspoll_get() [all …]
|