/linux-6.1.9/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() 51 nl80211_send_ibss_bssid(wiphy_to_rdev(wdev->wiphy), dev, bssid, in __cfg80211_ibss_joined() 55 memcpy(wrqu.ap_addr.sa_data, bssid, ETH_ALEN); in __cfg80211_ibss_joined() 60 void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, in cfg80211_ibss_joined() argument 68 trace_cfg80211_ibss_joined(dev, bssid, channel); in cfg80211_ibss_joined() 78 memcpy(ev->ij.bssid, bssid, ETH_ALEN); in cfg80211_ibss_joined() 466 u8 *bssid = ap_addr->sa_data; in cfg80211_ibss_wext_siwap() local 480 if (is_zero_ether_addr(bssid) || is_broadcast_ether_addr(bssid)) in cfg80211_ibss_wext_siwap() 481 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 | 48 cr.links[link_id].bssid = data->links[link_id].bss->bssid; in cfg80211_rx_assoc_resp() 109 const u8 *bssid = mgmt->bssid; in cfg80211_process_deauth() local 115 if (!wdev->connected || !ether_addr_equal(wdev->u.client.connected_addr, bssid)) in cfg80211_process_deauth() 128 const u8 *bssid = mgmt->bssid; in cfg80211_process_disassoc() local 136 !ether_addr_equal(wdev->u.client.connected_addr, bssid))) in cfg80211_process_disassoc() 183 const u8 *addr = data->ap_mld_addr ?: data->bss[0]->bssid; in cfg80211_assoc_failure() 277 ether_addr_equal(req->bss->bssid, wdev->u.client.connected_addr)) in cfg80211_mlme_auth() 366 struct net_device *dev, const u8 *bssid, in cfg80211_mlme_deauth() argument 372 .bssid = bssid, in cfg80211_mlme_deauth() 383 !ether_addr_equal(wdev->u.client.connected_addr, bssid))) in cfg80211_mlme_deauth() [all …]
|
/linux-6.1.9/drivers/net/wireless/ |
D | rndis_wlan.c | 190 u8 bssid[ETH_ALEN]; member 196 u8 bssid[ETH_ALEN]; member 274 u8 bssid[ETH_ALEN]; member 283 u8 bssid[ETH_ALEN]; member 323 u8 bssid[ETH_ALEN]; member 400 u8 bssid[ETH_ALEN]; member 448 u8 bssid[ETH_ALEN]; member 984 static int set_bssid(struct usbnet *usbdev, const u8 *bssid) in set_bssid() argument 989 bssid, ETH_ALEN); in set_bssid() 992 bssid, ret); in set_bssid() [all …]
|
/linux-6.1.9/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() 391 cfg80211_ibss_joined(sdata->dev, ifibss->bssid, chan, GFP_KERNEL); in __ieee80211_sta_join_ibss() 472 __ieee80211_sta_join_ibss(sdata, cbss->bssid, in ieee80211_sta_join_ibss() 496 ifibss->bssid, ifibss->ssid, in ieee80211_ibss_csa_beacon() 538 if (!is_zero_ether_addr(ifibss->bssid)) { in ieee80211_ibss_finish_csa() 541 ifibss->bssid, ifibss->ssid, in ieee80211_ibss_finish_csa() 591 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()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ |
D | util.h | 26 u8 *bssid; in get_hdr_bssid() local 29 bssid = hdr->addr1; in get_hdr_bssid() 31 bssid = hdr->addr2; in get_hdr_bssid() 33 bssid = hdr->addr3; in get_hdr_bssid() 35 return bssid; in get_hdr_bssid()
|
D | bf.c | 41 const u8 *bssid = bss_conf->bssid; in rtw_bf_assoc() local 50 sta = ieee80211_find_sta(vif, bssid); in rtw_bf_assoc() 53 bssid); in rtw_bf_assoc() 67 ether_addr_copy(bfee->mac_addr, bssid); in rtw_bf_assoc() 69 bfee->p_aid = (bssid[5] << 1) | (bssid[4] >> 7); in rtw_bf_assoc() 85 ether_addr_copy(bfee->mac_addr, bssid); in rtw_bf_assoc() 89 bfee->p_aid = (bssid[5] << 1) | (bssid[4] >> 7); in rtw_bf_assoc()
|
/linux-6.1.9/drivers/staging/r8188eu/core/ |
D | rtw_ioctl_set.c | 104 u8 rtw_set_802_11_bssid(struct adapter *padapter, u8 *bssid) in rtw_set_802_11_bssid() argument 110 if ((bssid[0] == 0x00 && bssid[1] == 0x00 && bssid[2] == 0x00 && in rtw_set_802_11_bssid() 111 bssid[3] == 0x00 && bssid[4] == 0x00 && bssid[5] == 0x00) || in rtw_set_802_11_bssid() 112 (bssid[0] == 0xFF && bssid[1] == 0xFF && bssid[2] == 0xFF && in rtw_set_802_11_bssid() 113 bssid[3] == 0xFF && bssid[4] == 0xFF && bssid[5] == 0xFF)) { in rtw_set_802_11_bssid() 126 if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, bssid, ETH_ALEN)) { in rtw_set_802_11_bssid() 159 memcpy(&pmlmepriv->assoc_bssid, bssid, ETH_ALEN); in rtw_set_802_11_bssid()
|
D | rtw_wlan_util.c | 884 struct wlan_bssid_ex *bssid; in rtw_check_bcn_info() local 907 bssid = kzalloc(sizeof(struct wlan_bssid_ex), GFP_ATOMIC); in rtw_check_bcn_info() 908 if (!bssid) in rtw_check_bcn_info() 914 bssid->Reserved[0] = 1; in rtw_check_bcn_info() 916 bssid->Length = sizeof(struct wlan_bssid_ex) - MAX_IE_SZ + len; in rtw_check_bcn_info() 919 bssid->IELength = len; in rtw_check_bcn_info() 920 memcpy(bssid->IEs, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->IELength); in rtw_check_bcn_info() 924 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _HT_CAPABILITY_IE_, &len, bssid->IELength - _FIXED_… in rtw_check_bcn_info() 932 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, bssid->IELength - _FIXED_IE… in rtw_check_bcn_info() 949 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _DSSET_IE_, &len, bssid->IELength - _FIXED_IE_LENGT… in rtw_check_bcn_info() [all …]
|
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/ |
D | rtl819x_HTProc.c | 274 if ((memcmp(net->bssid, BELKINF5D8233V1_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 275 (memcmp(net->bssid, BELKINF5D82334V3_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 276 (memcmp(net->bssid, PCI_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 277 (memcmp(net->bssid, EDIMAX_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 278 (memcmp(net->bssid, AIRLINK_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 281 else if ((memcmp(net->bssid, UNKNOWN_BORADCOM, 3) == 0) || in IsHTHalfNmodeAPs() 282 (memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) == 0) || in IsHTHalfNmodeAPs() 283 (memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3) == 0) || in IsHTHalfNmodeAPs() 284 (memcmp(net->bssid, NETGEAR834Bv2_BROADCOM, 3) == 0) || in IsHTHalfNmodeAPs() 311 else if ((memcmp(net->bssid, UNKNOWN_BORADCOM, 3) == 0) || in HTIOTPeerDetermine() [all …]
|
/linux-6.1.9/drivers/staging/rtl8192e/ |
D | rtl819x_HTProc.c | 146 if ((memcmp(net->bssid, BELKINF5D8233V1_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 147 (memcmp(net->bssid, BELKINF5D82334V3_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 148 (memcmp(net->bssid, PCI_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 149 (memcmp(net->bssid, EDIMAX_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 150 (memcmp(net->bssid, AIRLINK_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 153 else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || in IsHTHalfNmodeAPs() 154 !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || in IsHTHalfNmodeAPs() 155 !memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3) || in IsHTHalfNmodeAPs() 179 } else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || in HTIOTPeerDetermine() 180 !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || in HTIOTPeerDetermine() [all …]
|
/linux-6.1.9/drivers/staging/vt6655/ |
D | key.c | 25 u8 *bssid; in vnt_set_keymode() local 30 bssid = mac_addr; in vnt_set_keymode() 32 bssid = &broadcast[0]; in vnt_set_keymode() 83 bssid, (u32 *)key->key, priv->local_id); in vnt_set_keymode() 138 vnt_set_keymode(hw, (u8 *)conf->bssid, in vnt_set_keys()
|
/linux-6.1.9/drivers/staging/rtl8723bs/core/ |
D | rtw_wlan_util.c | 1159 struct wlan_bssid_ex *bssid; in rtw_check_bcn_info() local 1183 bssid = rtw_zmalloc(sizeof(struct wlan_bssid_ex)); in rtw_check_bcn_info() 1184 if (!bssid) in rtw_check_bcn_info() 1195 bssid->reserved[0] = 1; in rtw_check_bcn_info() 1197 bssid->length = sizeof(struct wlan_bssid_ex) - MAX_IE_SZ + len; in rtw_check_bcn_info() 1200 bssid->ie_length = len; in rtw_check_bcn_info() 1201 memcpy(bssid->ies, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->ie_length); in rtw_check_bcn_info() 1205 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, WLAN_EID_HT_CAPABILITY, &len, bssid->ie_length - _F… in rtw_check_bcn_info() 1213 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, WLAN_EID_HT_OPERATION, &len, bssid->ie_length - _FI… in rtw_check_bcn_info() 1232 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, WLAN_EID_DS_PARAMS, &len, bssid->ie_length - _FIXED… in rtw_check_bcn_info() [all …]
|
D | rtw_ioctl_set.c | 11 u8 rtw_validate_bssid(u8 *bssid) in rtw_validate_bssid() argument 15 if (is_zero_mac_addr(bssid) in rtw_validate_bssid() 16 || is_broadcast_mac_addr(bssid) in rtw_validate_bssid() 17 || is_multicast_mac_addr(bssid) in rtw_validate_bssid() 224 u8 rtw_set_802_11_connect(struct adapter *padapter, u8 *bssid, struct ndis_802_11_ssid *ssid) in rtw_set_802_11_connect() argument 234 if (!bssid || rtw_validate_bssid(bssid) == false) in rtw_set_802_11_connect() 268 if (bssid && bssid_valid) { in rtw_set_802_11_connect() 269 memcpy(&pmlmepriv->assoc_bssid, bssid, ETH_ALEN); in rtw_set_802_11_connect()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | location.h | 246 u8 bssid[ETH_ALEN]; member 282 u8 bssid[ETH_ALEN]; member 330 u8 bssid[ETH_ALEN]; member 380 u8 bssid[ETH_ALEN]; member 517 u8 bssid[ETH_ALEN]; member 600 u8 bssid[ETH_ALEN]; member 665 u8 bssid[ETH_ALEN]; member 725 u8 bssid[ETH_ALEN]; member 778 u8 bssid[ETH_ALEN]; member 847 u8 bssid[ETH_ALEN]; member [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | fw.c | 603 joinbss_rpt.bssid[0] = mac->bssid[0]; in rtl92s_set_fw_joinbss_report_cmd() 604 joinbss_rpt.bssid[1] = mac->bssid[1]; in rtl92s_set_fw_joinbss_report_cmd() 605 joinbss_rpt.bssid[2] = mac->bssid[2]; in rtl92s_set_fw_joinbss_report_cmd() 606 joinbss_rpt.bssid[3] = mac->bssid[3]; in rtl92s_set_fw_joinbss_report_cmd() 607 joinbss_rpt.bssid[4] = mac->bssid[4]; in rtl92s_set_fw_joinbss_report_cmd() 608 joinbss_rpt.bssid[5] = mac->bssid[5]; in rtl92s_set_fw_joinbss_report_cmd()
|
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/ |
D | event.c | 166 vif->mac->macid, vif->vifid, join_info->bssid, in qtnf_event_handle_bss_join() 184 bss = cfg80211_get_bss(wiphy, chandef.chan, join_info->bssid, in qtnf_event_handle_bss_join() 190 join_info->bssid, chandef.chan->hw_value); in qtnf_event_handle_bss_join() 195 join_info->bssid); in qtnf_event_handle_bss_join() 204 join_info->bssid); in qtnf_event_handle_bss_join() 216 join_info->bssid, 0, in qtnf_event_handle_bss_join() 223 join_info->bssid); in qtnf_event_handle_bss_join() 268 cfg80211_connect_result(vif->netdev, join_info->bssid, NULL, 0, rsp_ies, in qtnf_event_handle_bss_join() 271 if (!ether_addr_equal(vif->bssid, join_info->bssid)) in qtnf_event_handle_bss_join() 272 ether_addr_copy(vif->bssid, join_info->bssid); in qtnf_event_handle_bss_join() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | fw.c | 1540 SET_80211_HDR_ADDRESS3(beacon, mac->bssid); in rtl8812ae_set_fw_rsvdpagepkt() 1552 SET_80211_PS_POLL_BSSID(p_pspoll, mac->bssid); in rtl8812ae_set_fw_rsvdpagepkt() 1562 SET_80211_HDR_ADDRESS1(nullfunc, mac->bssid); in rtl8812ae_set_fw_rsvdpagepkt() 1564 SET_80211_HDR_ADDRESS3(nullfunc, mac->bssid); in rtl8812ae_set_fw_rsvdpagepkt() 1573 SET_80211_HDR_ADDRESS1(qosnull, mac->bssid); in rtl8812ae_set_fw_rsvdpagepkt() 1575 SET_80211_HDR_ADDRESS3(qosnull, mac->bssid); in rtl8812ae_set_fw_rsvdpagepkt() 1584 SET_80211_HDR_ADDRESS1(btqosnull, mac->bssid); in rtl8812ae_set_fw_rsvdpagepkt() 1586 SET_80211_HDR_ADDRESS3(btqosnull, mac->bssid); in rtl8812ae_set_fw_rsvdpagepkt() 1599 SET_80211_HDR_ADDRESS1(arpresp, mac->bssid); in rtl8812ae_set_fw_rsvdpagepkt() 1601 SET_80211_HDR_ADDRESS3(arpresp, mac->bssid); in rtl8812ae_set_fw_rsvdpagepkt() [all …]
|
/linux-6.1.9/drivers/staging/rtl8712/ |
D | rtl871x_mp_ioctl.c | 152 struct wlan_bssid_ex *bssid; in mp_start_test() local 158 bssid = kzalloc(sizeof(*bssid), GFP_KERNEL); in mp_start_test() 159 if (!bssid) in mp_start_test() 163 memcpy(bssid->MacAddress, pmppriv->network_macaddr, ETH_ALEN); in mp_start_test() 164 bssid->Ssid.SsidLength = 16; in mp_start_test() 165 memcpy(bssid->Ssid.Ssid, (unsigned char *)"mp_pseudo_adhoc", in mp_start_test() 166 bssid->Ssid.SsidLength); in mp_start_test() 167 bssid->InfrastructureMode = Ndis802_11IBSS; in mp_start_test() 168 bssid->NetworkTypeInUse = Ndis802_11DS; in mp_start_test() 169 bssid->IELength = 0; in mp_start_test() [all …]
|
D | rtl871x_recv.c | 313 if (is_zero_ether_addr(pattrib->bssid) || in sta2sta_data_frame() 315 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in sta2sta_data_frame() 322 if (memcmp(pattrib->bssid, pattrib->src, ETH_ALEN)) in sta2sta_data_frame() 324 sta_addr = pattrib->bssid; in sta2sta_data_frame() 330 if (!is_multicast_ether_addr(pattrib->bssid)) in sta2sta_data_frame() 336 if (memcmp(pattrib->bssid, pattrib->dst, ETH_ALEN)) in sta2sta_data_frame() 343 memcpy(pattrib->bssid, GetAddr3Ptr(ptr), ETH_ALEN); in sta2sta_data_frame() 396 if (is_zero_ether_addr(pattrib->bssid) || in ap2sta_data_frame() 398 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in ap2sta_data_frame() 403 *psta = r8712_get_stainfo(pstapriv, pattrib->bssid); in ap2sta_data_frame() [all …]
|
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00config.c | 22 const u8 *mac, const u8 *bssid) in rt2x00lib_config_intf() argument 55 memset(conf.bssid, 0, sizeof(conf.bssid)); in rt2x00lib_config_intf() 56 if (bssid) in rt2x00lib_config_intf() 57 memcpy(conf.bssid, bssid, ETH_ALEN); in rt2x00lib_config_intf() 62 if (bssid || (!rt2x00dev->intf_ap_count && !rt2x00dev->intf_sta_count)) in rt2x00lib_config_intf()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | fw.c | 498 SET_80211_HDR_ADDRESS3(beacon, mac->bssid); in rtl8723be_set_fw_rsvdpagepkt() 506 SET_80211_PS_POLL_BSSID(p_pspoll, mac->bssid); in rtl8723be_set_fw_rsvdpagepkt() 516 SET_80211_HDR_ADDRESS1(nullfunc, mac->bssid); in rtl8723be_set_fw_rsvdpagepkt() 518 SET_80211_HDR_ADDRESS3(nullfunc, mac->bssid); in rtl8723be_set_fw_rsvdpagepkt() 527 SET_80211_HDR_ADDRESS1(p_probersp, mac->bssid); in rtl8723be_set_fw_rsvdpagepkt() 529 SET_80211_HDR_ADDRESS3(p_probersp, mac->bssid); in rtl8723be_set_fw_rsvdpagepkt() 538 SET_80211_HDR_ADDRESS1(qosnull, mac->bssid); in rtl8723be_set_fw_rsvdpagepkt() 540 SET_80211_HDR_ADDRESS3(qosnull, mac->bssid); in rtl8723be_set_fw_rsvdpagepkt() 549 SET_80211_HDR_ADDRESS1(btqosnull, mac->bssid); in rtl8723be_set_fw_rsvdpagepkt() 551 SET_80211_HDR_ADDRESS3(btqosnull, mac->bssid); in rtl8723be_set_fw_rsvdpagepkt()
|
/linux-6.1.9/drivers/staging/vt6656/ |
D | key.c | 42 u8 *bssid; in vnt_set_keymode() local 47 bssid = mac_addr; in vnt_set_keymode() 49 bssid = &broadcast[0]; in vnt_set_keymode() 93 key_inx, bssid, key->key); in vnt_set_keymode()
|