Home
last modified time | relevance | path

Searched refs:bssid (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/linux-6.12.1/net/wireless/
Dibss.c19 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()
429 u8 *bssid = ap_addr->sa_data; in cfg80211_ibss_wext_siwap() local
443 if (is_zero_ether_addr(bssid) || is_broadcast_ether_addr(bssid)) in cfg80211_ibss_wext_siwap()
444 bssid = NULL; in cfg80211_ibss_wext_siwap()
[all …]
Dwext-sme.c234 u8 *bssid = ap_addr->sa_data; in cfg80211_mgd_wext_siwap() local
245 if (is_zero_ether_addr(bssid) || is_broadcast_ether_addr(bssid)) in cfg80211_mgd_wext_siwap()
246 bssid = NULL; in cfg80211_mgd_wext_siwap()
250 if (!bssid && !wdev->wext.connect.bssid) in cfg80211_mgd_wext_siwap()
254 if (wdev->wext.connect.bssid && bssid && in cfg80211_mgd_wext_siwap()
255 ether_addr_equal(bssid, wdev->wext.connect.bssid)) in cfg80211_mgd_wext_siwap()
264 if (bssid) { in cfg80211_mgd_wext_siwap()
265 memcpy(wdev->wext.bssid, bssid, ETH_ALEN); in cfg80211_mgd_wext_siwap()
266 wdev->wext.connect.bssid = wdev->wext.bssid; in cfg80211_mgd_wext_siwap()
268 wdev->wext.connect.bssid = NULL; in cfg80211_mgd_wext_siwap()
[all …]
Dsme.c48 u8 bssid[ETH_ALEN], prev_bssid[ETH_ALEN]; member
126 eth_broadcast_addr(request->bssid); in cfg80211_conn_scan()
177 params->bssid, in cfg80211_conn_do_work()
206 params->bssid, in cfg80211_conn_do_work()
219 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, in cfg80211_conn_do_work()
228 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, in cfg80211_conn_do_work()
233 cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, in cfg80211_conn_do_work()
251 u8 bssid_buf[ETH_ALEN], *bssid = NULL; in cfg80211_conn_work() local
267 if (wdev->conn->params.bssid) { in cfg80211_conn_work()
268 memcpy(bssid_buf, wdev->conn->params.bssid, ETH_ALEN); in cfg80211_conn_work()
[all …]
Dmlme.c53 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()
387 if (ether_addr_equal(req->links[i].bss->bssid, dev->dev_addr)) { in cfg80211_mlme_check_mlo()
463 if ((req->bss && ether_addr_equal(req->bss->bssid, dev->dev_addr)) || in cfg80211_mlme_assoc()
[all …]
/linux-6.12.1/net/mac80211/
Dibss.c80 memcpy(mgmt->bssid, ifibss->bssid, ETH_ALEN); in ieee80211_ibss_build_presp()
215 const u8 *bssid, const int beacon_int, in __ieee80211_sta_join_ibss() argument
239 if (!ether_addr_equal(ifibss->bssid, bssid)) in __ieee80211_sta_join_ibss()
307 memcpy(ifibss->bssid, bssid, ETH_ALEN); in __ieee80211_sta_join_ibss()
381 cfg80211_ibss_joined(sdata->dev, ifibss->bssid, chan, GFP_KERNEL); in __ieee80211_sta_join_ibss()
459 __ieee80211_sta_join_ibss(sdata, cbss->bssid, in ieee80211_sta_join_ibss()
484 ifibss->bssid, ifibss->ssid, in ieee80211_ibss_csa_beacon()
527 if (!is_zero_ether_addr(ifibss->bssid)) { in ieee80211_ibss_finish_csa()
530 ifibss->bssid, ifibss->ssid, in ieee80211_ibss_finish_csa()
581 ieee80211_ibss_add_sta(struct ieee80211_sub_if_data *sdata, const u8 *bssid, in ieee80211_ibss_add_sta() argument
[all …]
Ds1g.c35 const u8 *bssid, struct ieee80211_twt_setup *twt) in ieee80211_s1g_send_twt_setup() argument
52 memcpy(mgmt->bssid, bssid, ETH_ALEN); in ieee80211_s1g_send_twt_setup()
66 const u8 *da, const u8 *bssid, u8 flowid) in ieee80211_s1g_send_twt_teardown() argument
84 memcpy(mgmt->bssid, bssid, ETH_ALEN); in ieee80211_s1g_send_twt_teardown()
/linux-6.12.1/net/wireless/tests/
Dscan.c346 const u8 bssid[ETH_ALEN] = { 0x10, 0x22, 0x33, 0x44, 0x55, 0x66 }; in test_inform_bss_ssid_only() local
364 CFG80211_BSS_FTYPE_PRESP, bssid, tsf, in test_inform_bss_ssid_only()
377 KUNIT_EXPECT_MEMEQ(test, bssid, bss->bssid, sizeof(bssid)); in test_inform_bss_ssid_only()
396 other = cfg80211_get_bss(wiphy, NULL, bssid, NULL, 0, in test_inform_bss_ssid_only()
454 const u8 bssid[ETH_ALEN] = { 0x10, 0x22, 0x33, 0x44, 0x55, 0x66 }; in KUNIT_ARRAY_PARAM_DESC() local
475 .bssid = { 0x10, 0x22, 0x33, 0x44, 0x55, 0x67 }, in KUNIT_ARRAY_PARAM_DESC()
533 u8 bssid[ETH_ALEN]; in KUNIT_ARRAY_PARAM_DESC() member
546 .bssid = { *rnr_normal.ap.bssid }, in KUNIT_ARRAY_PARAM_DESC()
609 CFG80211_BSS_FTYPE_PRESP, bssid, tsf, in KUNIT_ARRAY_PARAM_DESC()
617 link_bss = __cfg80211_get_bss(wiphy, NULL, sta_prof.bssid, NULL, 0, in KUNIT_ARRAY_PARAM_DESC()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/
Dutil.h31 u8 *bssid; in get_hdr_bssid() local
34 bssid = hdr->addr1; in get_hdr_bssid()
36 bssid = hdr->addr2; in get_hdr_bssid()
38 bssid = hdr->addr3; in get_hdr_bssid()
40 return bssid; in get_hdr_bssid()
Dbf.c41 const u8 *bssid = bss_conf->bssid; in rtw_bf_assoc() local
50 sta = ieee80211_find_sta(vif, bssid); in rtw_bf_assoc()
55 bssid); in rtw_bf_assoc()
71 ether_addr_copy(bfee->mac_addr, bssid); in rtw_bf_assoc()
73 bfee->p_aid = (bssid[5] << 1) | (bssid[4] >> 7); in rtw_bf_assoc()
89 ether_addr_copy(bfee->mac_addr, bssid); in rtw_bf_assoc()
93 bfee->p_aid = (bssid[5] << 1) | (bssid[4] >> 7); in rtw_bf_assoc()
Drx.c39 u8 *bssid; member
105 u8 *bssid = iter_data->bssid; in rtw_rx_addr_match_iter() local
107 if (!ether_addr_equal(vif->bss_conf.bssid, bssid)) in rtw_rx_addr_match_iter()
137 data.bssid = get_hdr_bssid(hdr); in rtw_rx_addr_match()
/linux-6.12.1/drivers/staging/rtl8192e/
Drtl819x_HTProc.c127 if ((memcmp(net->bssid, BELKINF5D8233V1_RALINK, 3) == 0) || in is_ht_half_nmode_aps()
128 (memcmp(net->bssid, BELKINF5D82334V3_RALINK, 3) == 0) || in is_ht_half_nmode_aps()
129 (memcmp(net->bssid, PCI_RALINK, 3) == 0) || in is_ht_half_nmode_aps()
130 (memcmp(net->bssid, EDIMAX_RALINK, 3) == 0) || in is_ht_half_nmode_aps()
131 (memcmp(net->bssid, AIRLINK_RALINK, 3) == 0) || in is_ht_half_nmode_aps()
134 else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || in is_ht_half_nmode_aps()
135 !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || in is_ht_half_nmode_aps()
136 !memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3) || in is_ht_half_nmode_aps()
160 } else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || in ht_iot_peer_determine()
161 !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || in ht_iot_peer_determine()
[all …]
/linux-6.12.1/drivers/staging/vt6655/
Dkey.c25 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.12.1/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c1154 struct wlan_bssid_ex *bssid; in rtw_check_bcn_info() local
1178 bssid = rtw_zmalloc(sizeof(struct wlan_bssid_ex)); in rtw_check_bcn_info()
1179 if (!bssid) in rtw_check_bcn_info()
1190 bssid->reserved[0] = 1; in rtw_check_bcn_info()
1192 bssid->length = sizeof(struct wlan_bssid_ex) - MAX_IE_SZ + len; in rtw_check_bcn_info()
1195 bssid->ie_length = len; in rtw_check_bcn_info()
1196 memcpy(bssid->ies, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->ie_length); in rtw_check_bcn_info()
1200 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, WLAN_EID_HT_CAPABILITY, &len, bssid->ie_length - _F… in rtw_check_bcn_info()
1208 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, WLAN_EID_HT_OPERATION, &len, bssid->ie_length - _FI… in rtw_check_bcn_info()
1227 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, WLAN_EID_DS_PARAMS, &len, bssid->ie_length - _FIXED… in rtw_check_bcn_info()
[all …]
Drtw_ioctl_set.c10 u8 rtw_validate_bssid(u8 *bssid) in rtw_validate_bssid() argument
14 if (is_zero_mac_addr(bssid) in rtw_validate_bssid()
15 || is_broadcast_mac_addr(bssid) in rtw_validate_bssid()
16 || 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.12.1/drivers/net/wireless/intel/iwlwifi/fw/api/
Dlocation.h253 u8 bssid[ETH_ALEN]; member
289 u8 bssid[ETH_ALEN]; member
337 u8 bssid[ETH_ALEN]; member
387 u8 bssid[ETH_ALEN]; member
439 u8 bssid[ETH_ALEN]; member
576 u8 bssid[ETH_ALEN]; member
662 u8 bssid[ETH_ALEN]; member
728 u8 bssid[ETH_ALEN]; member
788 u8 bssid[ETH_ALEN]; member
841 u8 bssid[ETH_ALEN]; member
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dfw.c1540 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.12.1/drivers/net/wireless/quantenna/qtnfmac/
Devent.c166 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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dfw.c603 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.12.1/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.c152 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 …]
Drtl871x_recv.c315 if (is_zero_ether_addr(pattrib->bssid) || in sta2sta_data_frame()
317 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in sta2sta_data_frame()
324 if (memcmp(pattrib->bssid, pattrib->src, ETH_ALEN)) in sta2sta_data_frame()
326 sta_addr = pattrib->bssid; in sta2sta_data_frame()
332 if (!is_multicast_ether_addr(pattrib->bssid)) in sta2sta_data_frame()
338 if (memcmp(pattrib->bssid, pattrib->dst, ETH_ALEN)) in sta2sta_data_frame()
345 memcpy(pattrib->bssid, GetAddr3Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
398 if (is_zero_ether_addr(pattrib->bssid) || in ap2sta_data_frame()
400 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in ap2sta_data_frame()
405 *psta = r8712_get_stainfo(pstapriv, pattrib->bssid); in ap2sta_data_frame()
[all …]
/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/
Drt2x00config.c22 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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dfw.c271 SET_80211_HDR_ADDRESS3(beacon, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
277 SET_80211_PS_POLL_BSSID(p_pspoll, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
283 SET_80211_HDR_ADDRESS1(nullfunc, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
285 SET_80211_HDR_ADDRESS3(nullfunc, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
290 SET_80211_HDR_ADDRESS1(p_probersp, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
292 SET_80211_HDR_ADDRESS3(p_probersp, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dfw.c498 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.12.1/drivers/staging/vt6656/
Dkey.c42 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()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-initiator.c45 u8 *bssid; member
92 if (memcmp(addr, link_conf->bssid, ETH_ALEN)) in iwl_mvm_ftm_add_pasn_sta()
258 memcpy(cmd->range_req_bssid, vif->bss_conf.bssid, ETH_ALEN); in iwl_mvm_ftm_cmd_v5()
290 memcpy(cmd->range_req_bssid, vif->bss_conf.bssid, ETH_ALEN); in iwl_mvm_ftm_cmd_common()
420 memcpy(target->bssid, peer->addr, ETH_ALEN); in iwl_mvm_ftm_put_target_v2()
482 memcpy(target->bssid, peer->addr, ETH_ALEN); in iwl_mvm_ftm_put_target_common()
543 if (memcmp(peer->addr, link_conf->bssid, ETH_ALEN)) in iwl_mvm_ftm_set_sta()
730 if (!sta || memcmp(sta->addr, target->bssid, ETH_ALEN)) in iter()
742 u8 *bssid, u8 *cipher, u8 *hltk, u8 *tk, in iwl_mvm_ftm_set_secured_ranging() argument
760 if (memcmp(entry->addr, bssid, sizeof(entry->addr))) in iwl_mvm_ftm_set_secured_ranging()
[all …]

12345678910>>...13