Home
last modified time | relevance | path

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

12345678910>>...13

/drivers/net/wireless/
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/r8188eu/core/
Drtw_wlan_util.c884 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 …]
Drtw_ioctl_set.c104 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()
/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.h26 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()
Dbf.c41 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()
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.c146 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 …]
/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c1159 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 …]
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()
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()
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dlocation.h246 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 …]
/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.c313 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 …]
/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/marvell/libertas/
Dcfg.c577 const u8 *bssid; in lbs_ret_scan() local
592 bssid = pos; in lbs_ret_scan()
641 bssid, capa, chan_no, ssid_len, ssid, in lbs_ret_scan()
648 bssid, get_unaligned_le64(tsfdesc), in lbs_ret_scan()
1036 if (sme->bssid) in lbs_set_authtype()
1037 memcpy(cmd.bssid, sme->bssid, ETH_ALEN); in lbs_set_authtype()
1097 memcpy(cmd->bssid, bss->bssid, ETH_ALEN); in lbs_associate()
1139 memcpy(priv->assoc_bss, bss->bssid, ETH_ALEN); in lbs_associate()
1285 if (!sme->bssid) { in lbs_cfg_connect()
1314 bss = cfg80211_get_bss(wiphy, sme->channel, sme->bssid, in lbs_cfg_connect()
[all …]
/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.c1341 u8 *bssid, u16 tid);
1926 if (!ether_addr_equal(hdr->addr3, rtlpriv->mac80211.bssid)) in rtl_beacon_statistic()
1982 entry->bssid, rtlpriv->scan_list.num); in rtl_scan_list_expire()
2012 if (memcmp(iter->bssid, hdr->addr3, ETH_ALEN) == 0) { in rtl_collect_scan_list()
2028 memcpy(entry->bssid, hdr->addr3, ETH_ALEN); in rtl_collect_scan_list()
2410 u8 *da, u8 *bssid) in rtl_make_smps_action() argument
2425 memcpy(action_frame->bssid, bssid, ETH_ALEN); in rtl_make_smps_action()
2461 u8 bssid[ETH_ALEN] = {0}; in rtl_send_smps_action() local
2478 memcpy(bssid, rtlpriv->efuse.dev_addr, ETH_ALEN); in rtl_send_smps_action()
2480 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()

12345678910>>...13