Home
last modified time | relevance | path

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

12345678910>>...13

/drivers/net/wireless/legacy/
Drndis_wlan.c190 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 …]
/drivers/staging/rtl8192u/ieee80211/
Drtl819x_HTProc.c274 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 …]
/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()
/drivers/staging/rtl8192e/
Drtl819x_HTProc.c147 if ((memcmp(net->bssid, BELKINF5D8233V1_RALINK, 3) == 0) || in IsHTHalfNmodeAPs()
148 (memcmp(net->bssid, BELKINF5D82334V3_RALINK, 3) == 0) || in IsHTHalfNmodeAPs()
149 (memcmp(net->bssid, PCI_RALINK, 3) == 0) || in IsHTHalfNmodeAPs()
150 (memcmp(net->bssid, EDIMAX_RALINK, 3) == 0) || in IsHTHalfNmodeAPs()
151 (memcmp(net->bssid, AIRLINK_RALINK, 3) == 0) || in IsHTHalfNmodeAPs()
154 else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || in IsHTHalfNmodeAPs()
155 !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || in IsHTHalfNmodeAPs()
156 !memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3) || in IsHTHalfNmodeAPs()
180 } else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || in HTIOTPeerDetermine()
181 !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || in HTIOTPeerDetermine()
[all …]
/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c1155 struct wlan_bssid_ex *bssid; in rtw_check_bcn_info() local
1179 bssid = rtw_zmalloc(sizeof(struct wlan_bssid_ex)); in rtw_check_bcn_info()
1180 if (!bssid) in rtw_check_bcn_info()
1191 bssid->reserved[0] = 1; in rtw_check_bcn_info()
1193 bssid->length = sizeof(struct wlan_bssid_ex) - MAX_IE_SZ + len; in rtw_check_bcn_info()
1196 bssid->ie_length = len; in rtw_check_bcn_info()
1197 memcpy(bssid->ies, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->ie_length); in rtw_check_bcn_info()
1201 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, WLAN_EID_HT_CAPABILITY, &len, bssid->ie_length - _F… in rtw_check_bcn_info()
1209 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, WLAN_EID_HT_OPERATION, &len, bssid->ie_length - _FI… in rtw_check_bcn_info()
1228 …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.c11 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()
225 u8 rtw_set_802_11_connect(struct adapter *padapter, u8 *bssid, struct ndis_802_11_ssid *ssid) in rtw_set_802_11_connect() argument
235 if (!bssid || rtw_validate_bssid(bssid) == false) in rtw_set_802_11_connect()
269 if (bssid && bssid_valid) { in rtw_set_802_11_connect()
270 memcpy(&pmlmepriv->assoc_bssid, bssid, ETH_ALEN); in rtw_set_802_11_connect()
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dlocation.h252 u8 bssid[ETH_ALEN]; member
288 u8 bssid[ETH_ALEN]; member
336 u8 bssid[ETH_ALEN]; member
386 u8 bssid[ETH_ALEN]; member
523 u8 bssid[ETH_ALEN]; member
606 u8 bssid[ETH_ALEN]; member
671 u8 bssid[ETH_ALEN]; member
731 u8 bssid[ETH_ALEN]; member
784 u8 bssid[ETH_ALEN]; member
853 u8 bssid[ETH_ALEN]; member
[all …]
/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 …]
/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 …]
/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()
/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()
/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 …]
/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()
/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()
/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()
/drivers/net/wireless/intersil/hostap/
Dhostap_info.c211 if (memcmp(local->preferred_ap, entry->bssid, 6) == 0) in prism2_host_roaming()
221 memcpy(req.bssid, selected->bssid, ETH_ALEN); in prism2_host_roaming()
227 dev->name, req.bssid, le16_to_cpu(req.channel)); in prism2_host_roaming()
428 local->bssid, ETH_ALEN, 1) < 0) { in handle_info_queue_linkstatus()
434 (unsigned char *) local->bssid); in handle_info_queue_linkstatus()
436 hostap_add_sta(local->ap, local->bssid); in handle_info_queue_linkstatus()
443 memcpy(wrqu.ap_addr.sa_data, local->bssid, ETH_ALEN); in handle_info_queue_linkstatus()
/drivers/net/wireless/realtek/rtw89/
Dcam.c552 const u8 *bssid) in rtw89_cam_init_bssid_cam() argument
574 ether_addr_copy(bssid_cam->bssid, bssid); in rtw89_cam_init_bssid_cam()
583 ether_addr_copy(bssid_cam->bssid, rtwvif->bssid); in rtw89_cam_bssid_changed()
592 ret = rtw89_cam_init_bssid_cam(rtwdev, rtwvif, bssid_cam, rtwvif->bssid); in rtw89_cam_init()
629 FWCMD_SET_ADDR_BSSID_BSSID0(cmd, bssid_cam->bssid[0]); in rtw89_cam_fill_bssid_cam_info()
630 FWCMD_SET_ADDR_BSSID_BSSID1(cmd, bssid_cam->bssid[1]); in rtw89_cam_fill_bssid_cam_info()
631 FWCMD_SET_ADDR_BSSID_BSSID2(cmd, bssid_cam->bssid[2]); in rtw89_cam_fill_bssid_cam_info()
632 FWCMD_SET_ADDR_BSSID_BSSID3(cmd, bssid_cam->bssid[3]); in rtw89_cam_fill_bssid_cam_info()
633 FWCMD_SET_ADDR_BSSID_BSSID4(cmd, bssid_cam->bssid[4]); in rtw89_cam_fill_bssid_cam_info()
634 FWCMD_SET_ADDR_BSSID_BSSID5(cmd, bssid_cam->bssid[5]); in rtw89_cam_fill_bssid_cam_info()
[all …]
/drivers/net/wireless/realtek/rtlwifi/
Dbase.c1340 u8 *bssid, u16 tid);
1925 if (!ether_addr_equal(hdr->addr3, rtlpriv->mac80211.bssid)) in rtl_beacon_statistic()
1981 entry->bssid, rtlpriv->scan_list.num); in rtl_scan_list_expire()
2011 if (memcmp(iter->bssid, hdr->addr3, ETH_ALEN) == 0) { in rtl_collect_scan_list()
2027 memcpy(entry->bssid, hdr->addr3, ETH_ALEN); in rtl_collect_scan_list()
2396 u8 *da, u8 *bssid) in rtl_make_smps_action() argument
2411 memcpy(action_frame->bssid, bssid, ETH_ALEN); in rtl_make_smps_action()
2447 u8 bssid[ETH_ALEN] = {0}; in rtl_send_smps_action() local
2464 memcpy(bssid, rtlpriv->efuse.dev_addr, ETH_ALEN); in rtl_send_smps_action()
2466 memcpy(bssid, rtlpriv->mac80211.bssid, ETH_ALEN); in rtl_send_smps_action()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.c677 SET_80211_HDR_ADDRESS3(beacon, mac->bssid); in rtl92ee_set_fw_rsvdpagepkt()
685 SET_80211_PS_POLL_BSSID(p_pspoll, mac->bssid); in rtl92ee_set_fw_rsvdpagepkt()
695 SET_80211_HDR_ADDRESS1(nullfunc, mac->bssid); in rtl92ee_set_fw_rsvdpagepkt()
697 SET_80211_HDR_ADDRESS3(nullfunc, mac->bssid); in rtl92ee_set_fw_rsvdpagepkt()
706 SET_80211_HDR_ADDRESS1(p_probersp, mac->bssid); in rtl92ee_set_fw_rsvdpagepkt()
708 SET_80211_HDR_ADDRESS3(p_probersp, mac->bssid); in rtl92ee_set_fw_rsvdpagepkt()
717 SET_80211_HDR_ADDRESS1(qosnull, mac->bssid); in rtl92ee_set_fw_rsvdpagepkt()
719 SET_80211_HDR_ADDRESS3(qosnull, mac->bssid); in rtl92ee_set_fw_rsvdpagepkt()
728 SET_80211_HDR_ADDRESS1(btqosnull, mac->bssid); in rtl92ee_set_fw_rsvdpagepkt()
730 SET_80211_HDR_ADDRESS3(btqosnull, mac->bssid); in rtl92ee_set_fw_rsvdpagepkt()
/drivers/net/wireless/marvell/libertas/
Dcfg.c620 const u8 *bssid; in lbs_ret_scan() local
635 bssid = pos; in lbs_ret_scan()
684 bssid, capa, chan_no, ssid_len, ssid, in lbs_ret_scan()
691 bssid, get_unaligned_le64(tsfdesc), in lbs_ret_scan()
1085 if (sme->bssid) in lbs_set_authtype()
1086 memcpy(cmd.bssid, sme->bssid, ETH_ALEN); in lbs_set_authtype()
1146 memcpy(cmd->bssid, bss->bssid, ETH_ALEN); in lbs_associate()
1188 memcpy(priv->assoc_bss, bss->bssid, ETH_ALEN); in lbs_associate()
1334 if (!sme->bssid) { in lbs_cfg_connect()
1363 bss = cfg80211_get_bss(wiphy, sme->channel, sme->bssid, in lbs_cfg_connect()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h239 u8 bssid[ETH_ALEN]; member
370 u8 bssid[ETH_ALEN]; /* default: bcast */ member
413 u8 bssid[ETH_ALEN]; /* default: bcast */ member
484 u8 bssid[ETH_ALEN]; member
894 u8 bssid[ETH_ALEN]; member
911 u8 bssid[ETH_ALEN]; member
932 u8 bssid[ETH_ALEN]; member
1057 u8 bssid[ETH_ALEN]; member
1121 u8 bssid[ETH_ALEN]; member
Dpno.c221 static int brcmf_pno_add_bssid(struct brcmf_if *ifp, const u8 *bssid) in brcmf_pno_add_bssid() argument
227 memcpy(bssid_cfg.bssid, bssid, ETH_ALEN); in brcmf_pno_add_bssid()
230 brcmf_dbg(SCAN, "adding bssid=%pM\n", bssid); in brcmf_pno_add_bssid()
381 if (!err && is_valid_ether_addr(ms->bssid)) in brcmf_pno_config_networks()
382 err = brcmf_pno_add_bssid(ifp, ms->bssid); in brcmf_pno_config_networks()
586 if (is_valid_ether_addr(ms->bssid) && in brcmf_pno_get_bucket_map()
587 !memcmp(ms->bssid, ni->bssid, ETH_ALEN)) { in brcmf_pno_get_bucket_map()

12345678910>>...13