Home
last modified time | relevance | path

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

12345678

/drivers/net/wireless/
Drndis_wlan.c253 u8 bssid[6]; member
259 u8 bssid[6]; member
317 struct ndis_80211_bssid_ex bssid[0]; member
337 u8 bssid[6]; member
346 u8 bssid[6]; member
392 u8 bssid[6]; member
469 u8 bssid[ETH_ALEN]; member
517 u8 bssid[ETH_ALEN]; member
1058 static int set_bssid(struct usbnet *usbdev, const u8 *bssid) in set_bssid() argument
1062 ret = rndis_set_oid(usbdev, OID_802_11_BSSID, bssid, ETH_ALEN); in set_bssid()
[all …]
Dat76c50x-usb.h192 u8 bssid[ETH_ALEN]; member
204 u8 bssid[ETH_ALEN]; member
213 u8 bssid[ETH_ALEN]; member
403 u8 bssid[ETH_ALEN]; member
/drivers/staging/rtl8712/
Drtl871x_ioctl_set.c128 u8 r8712_set_802_11_bssid(struct _adapter *padapter, u8 *bssid) in r8712_set_802_11_bssid() argument
134 if ((bssid[0] == 0x00 && bssid[1] == 0x00 && bssid[2] == 0x00 && in r8712_set_802_11_bssid()
135 bssid[3] == 0x00 && bssid[4] == 0x00 && bssid[5] == 0x00) || in r8712_set_802_11_bssid()
136 (bssid[0] == 0xFF && bssid[1] == 0xFF && bssid[2] == 0xFF && in r8712_set_802_11_bssid()
137 bssid[3] == 0xFF && bssid[4] == 0xFF && bssid[5] == 0xFF)) { in r8712_set_802_11_bssid()
149 if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, bssid, in r8712_set_802_11_bssid()
168 memcpy(&pmlmepriv->assoc_bssid, bssid, ETH_ALEN); in r8712_set_802_11_bssid()
Drtl871x_recv.c334 if (!memcmp(pattrib->bssid, "\x0\x0\x0\x0\x0\x0", ETH_ALEN) || in sta2sta_data_frame()
336 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in sta2sta_data_frame()
342 if (memcmp(pattrib->bssid, pattrib->src, ETH_ALEN)) in sta2sta_data_frame()
344 sta_addr = pattrib->bssid; in sta2sta_data_frame()
349 if (!IS_MCAST(pattrib->bssid)) in sta2sta_data_frame()
354 if (memcmp(pattrib->bssid, pattrib->dst, ETH_ALEN)) in sta2sta_data_frame()
361 memcpy(pattrib->bssid, GetAddr3Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
412 if (!memcmp(pattrib->bssid, "\x0\x0\x0\x0\x0\x0", ETH_ALEN) || in ap2sta_data_frame()
414 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in ap2sta_data_frame()
419 *psta = r8712_get_stainfo(pstapriv, pattrib->bssid); in ap2sta_data_frame()
[all …]
Drtl871x_mp_ioctl.c166 struct ndis_wlan_bssid_ex bssid; in mp_start_test() local
173 memcpy(bssid.MacAddress, pmppriv->network_macaddr, ETH_ALEN); in mp_start_test()
174 bssid.Ssid.SsidLength = 16; in mp_start_test()
175 memcpy(bssid.Ssid.Ssid, (unsigned char *)"mp_pseudo_adhoc", in mp_start_test()
176 bssid.Ssid.SsidLength); in mp_start_test()
177 bssid.InfrastructureMode = Ndis802_11IBSS; in mp_start_test()
178 bssid.NetworkTypeInUse = Ndis802_11DS; in mp_start_test()
179 bssid.IELength = 0; in mp_start_test()
180 length = r8712_get_ndis_wlan_bssid_ex_sz(&bssid); in mp_start_test()
183 bssid.Length = ((length >> 2) + 1) << 2; in mp_start_test()
[all …]
/drivers/staging/rtl8192u/ieee80211/
Drtl819x_HTProc.c351 if((memcmp(net->bssid, BELKINF5D8233V1_RALINK, 3)==0) || in IsHTHalfNmodeAPs()
352 (memcmp(net->bssid, BELKINF5D82334V3_RALINK, 3)==0) || in IsHTHalfNmodeAPs()
353 (memcmp(net->bssid, PCI_RALINK, 3)==0) || in IsHTHalfNmodeAPs()
354 (memcmp(net->bssid, EDIMAX_RALINK, 3)==0) || in IsHTHalfNmodeAPs()
355 (memcmp(net->bssid, AIRLINK_RALINK, 3)==0) || in IsHTHalfNmodeAPs()
358 else if((memcmp(net->bssid, UNKNOWN_BORADCOM, 3)==0) || in IsHTHalfNmodeAPs()
359 (memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3)==0)|| in IsHTHalfNmodeAPs()
360 (memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3)==0)|| in IsHTHalfNmodeAPs()
361 (memcmp(net->bssid, NETGEAR834Bv2_BROADCOM, 3)==0) || in IsHTHalfNmodeAPs()
387 else if((memcmp(net->bssid, UNKNOWN_BORADCOM, 3)==0) || in HTIOTPeerDetermine()
[all …]
/drivers/staging/rtl8192e/
Drtl819x_HTProc.c319 if ((memcmp(net->bssid, BELKINF5D8233V1_RALINK, 3) == 0) || in IsHTHalfNmodeAPs()
320 (memcmp(net->bssid, BELKINF5D82334V3_RALINK, 3) == 0) || in IsHTHalfNmodeAPs()
321 (memcmp(net->bssid, PCI_RALINK, 3) == 0) || in IsHTHalfNmodeAPs()
322 (memcmp(net->bssid, EDIMAX_RALINK, 3) == 0) || in IsHTHalfNmodeAPs()
323 (memcmp(net->bssid, AIRLINK_RALINK, 3) == 0) || in IsHTHalfNmodeAPs()
326 else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || in IsHTHalfNmodeAPs()
327 !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || in IsHTHalfNmodeAPs()
328 !memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3) || in IsHTHalfNmodeAPs()
351 else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || in HTIOTPeerDetermine()
352 !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || in HTIOTPeerDetermine()
[all …]
Drtllib_rx.c925 u8 *src, u8 *bssid) in rtllib_rx_extract_addr() argument
933 memcpy(bssid, hdr->addr2, ETH_ALEN); in rtllib_rx_extract_addr()
938 memcpy(bssid, hdr->addr1, ETH_ALEN); in rtllib_rx_extract_addr()
943 memcpy(bssid, ieee->current_network.bssid, ETH_ALEN); in rtllib_rx_extract_addr()
948 memcpy(bssid, hdr->addr3, ETH_ALEN); in rtllib_rx_extract_addr()
954 u8 *dst, u8 *src, u8 *bssid, u8 *addr2) in rtllib_rx_data_filter() argument
964 && (compare_ether_addr(ieee->current_network.bssid, bssid) != 0) in rtllib_rx_data_filter()
965 && memcmp(ieee->current_network.bssid, zero_addr, ETH_ALEN)) { in rtllib_rx_data_filter()
973 (compare_ether_addr(dst, ieee->current_network.bssid) != 0) && in rtllib_rx_data_filter()
974 (compare_ether_addr(bssid, ieee->current_network.bssid) == 0)) { in rtllib_rx_data_filter()
[all …]
Drtllib_softmac.c814 memcpy(auth->header.addr1, beacon->bssid, ETH_ALEN); in rtllib_authentication_req()
816 memcpy(auth->header.addr3, beacon->bssid, ETH_ALEN); in rtllib_authentication_req()
909 memcpy(beacon_buf->header.addr3, ieee->current_network.bssid, ETH_ALEN); in rtllib_probe_resp()
1083 memcpy(hdr->addr1, ieee->current_network.bssid, ETH_ALEN); in rtllib_null_func()
1085 memcpy(hdr->addr3, ieee->current_network.bssid, ETH_ALEN); in rtllib_null_func()
1110 memcpy(hdr->bssid, ieee->current_network.bssid, ETH_ALEN); in rtllib_pspoll_func()
1148 inline int SecIsInPMKIDList(struct rtllib_device *ieee, u8 *bssid) in SecIsInPMKIDList() argument
1154 (memcmp(ieee->PMKIDList[i].Bssid, bssid, ETH_ALEN) == 0)) in SecIsInPMKIDList()
1230 PMKCacheIdx = SecIsInPMKIDList(ieee, ieee->current_network.bssid); in rtllib_association_req()
1263 memcpy(hdr->header.addr1, beacon->bssid, ETH_ALEN); in rtllib_association_req()
[all …]
/drivers/net/wireless/rt2x00/
Drt2x00config.c35 const u8 *mac, const u8 *bssid) in rt2x00lib_config_intf() argument
69 memset(conf.bssid, 0, sizeof(conf.bssid)); in rt2x00lib_config_intf()
70 if (bssid) in rt2x00lib_config_intf()
71 memcpy(conf.bssid, bssid, ETH_ALEN); in rt2x00lib_config_intf()
76 if (bssid || (!rt2x00dev->intf_ap_count && !rt2x00dev->intf_sta_count)) in rt2x00lib_config_intf()
/drivers/net/wireless/rtlwifi/rtl8192se/
Dfw.c644 joinbss_rpt.bssid[0] = mac->bssid[0]; in rtl92s_set_fw_joinbss_report_cmd()
645 joinbss_rpt.bssid[1] = mac->bssid[1]; in rtl92s_set_fw_joinbss_report_cmd()
646 joinbss_rpt.bssid[2] = mac->bssid[2]; in rtl92s_set_fw_joinbss_report_cmd()
647 joinbss_rpt.bssid[3] = mac->bssid[3]; in rtl92s_set_fw_joinbss_report_cmd()
648 joinbss_rpt.bssid[4] = mac->bssid[4]; in rtl92s_set_fw_joinbss_report_cmd()
649 joinbss_rpt.bssid[5] = mac->bssid[5]; in rtl92s_set_fw_joinbss_report_cmd()
/drivers/net/wireless/rtlwifi/
Dbase.c1271 enum ieee80211_smps_mode smps, u8 *da, u8 *bssid) in rtl_make_smps_action() argument
1287 memcpy(action_frame->bssid, bssid, ETH_ALEN); in rtl_make_smps_action()
1314 struct ieee80211_sta *sta, u8 *da, u8 *bssid, in rtl_send_smps_action() argument
1320 struct sk_buff *skb = rtl_make_smps_action(hw, smps, da, bssid); in rtl_send_smps_action()
1464 if (compare_ether_addr(hdr->addr3, rtlpriv->mac80211.bssid)) in rtl_recognize_peer()
1470 if ((memcmp(mac->bssid, ap5_1, 3) == 0) || in rtl_recognize_peer()
1471 (memcmp(mac->bssid, ap5_2, 3) == 0) || in rtl_recognize_peer()
1472 (memcmp(mac->bssid, ap5_3, 3) == 0) || in rtl_recognize_peer()
1473 (memcmp(mac->bssid, ap5_4, 3) == 0) || in rtl_recognize_peer()
1474 (memcmp(mac->bssid, ap5_5, 3) == 0) || in rtl_recognize_peer()
[all …]
Dcore.c115 memset(mac->bssid, 0, 6); in rtl_op_stop()
250 memset(mac->bssid, 0, 6); in rtl_op_remove_interface()
644 memcpy(mac->bssid, bss_conf->bssid, 6); in rtl_op_bss_info_changed()
657 memset(mac->bssid, 0, 6); in rtl_op_bss_info_changed()
702 sta = get_sta(hw, vif, bss_conf->bssid); in rtl_op_bss_info_changed()
727 (u8 *) bss_conf->bssid); in rtl_op_bss_info_changed()
730 bss_conf->bssid); in rtl_op_bss_info_changed()
733 memcpy(mac->bssid, bss_conf->bssid, 6); in rtl_op_bss_info_changed()
737 sta = get_sta(hw, vif, bss_conf->bssid); in rtl_op_bss_info_changed()
/drivers/net/wireless/hostap/
Dhostap_info.c209 if (memcmp(local->preferred_ap, entry->bssid, 6) == 0) in prism2_host_roaming()
219 memcpy(req.bssid, selected->bssid, 6); in prism2_host_roaming()
225 dev->name, req.bssid, le16_to_cpu(req.channel)); in prism2_host_roaming()
425 local->bssid, ETH_ALEN, 1) < 0) { in handle_info_queue_linkstatus()
431 (unsigned char *) local->bssid); in handle_info_queue_linkstatus()
433 hostap_add_sta(local->ap, local->bssid); in handle_info_queue_linkstatus()
440 memcpy(wrqu.ap_addr.sa_data, local->bssid, ETH_ALEN); in handle_info_queue_linkstatus()
/drivers/net/wireless/libertas/
Dcfg.c565 const u8 *bssid; in lbs_ret_scan() local
581 bssid = pos; in lbs_ret_scan()
631 bssid, capa, chan_no, in lbs_ret_scan()
638 bssid, get_unaligned_le64(tsfdesc), in lbs_ret_scan()
1059 if (sme->bssid) in lbs_set_authtype()
1060 memcpy(cmd.bssid, sme->bssid, ETH_ALEN); in lbs_set_authtype()
1123 memcpy(cmd->bssid, bss->bssid, ETH_ALEN); in lbs_associate()
1164 memcpy(priv->assoc_bss, bss->bssid, ETH_ALEN); in lbs_associate()
1317 if (!sme->bssid) { in lbs_cfg_connect()
1346 bss = cfg80211_get_bss(wiphy, sme->channel, sme->bssid, in lbs_cfg_connect()
[all …]
/drivers/staging/rtl8187se/ieee80211/
Dieee80211_rx.c230 if((ieee->state == IEEE80211_LINKED)&&(memcmp(hdr->addr3,ieee->current_network.bssid,ETH_ALEN))) { in ieee80211_rx_frame_mgmt()
487 u8 bssid[ETH_ALEN]; in ieee80211_rtl_rx() local
580 memcpy(bssid,hdr->addr2,ETH_ALEN); in ieee80211_rtl_rx()
585 memcpy(bssid,hdr->addr1,ETH_ALEN); in ieee80211_rtl_rx()
592 memcpy(bssid, ieee->current_network.bssid, ETH_ALEN); in ieee80211_rtl_rx()
597 memcpy(bssid,hdr->addr3,ETH_ALEN); in ieee80211_rtl_rx()
621 if(memcmp(bssid,ieee->current_network.bssid,ETH_ALEN)) { in ieee80211_rtl_rx()
929 memcpy(network->bssid, beacon->header.addr3, ETH_ALEN); in ieee80211_network_init()
1203 network->bssid); in ieee80211_network_init()
1229 !memcmp(src->bssid, dst->bssid, ETH_ALEN) && in is_same_network()
[all …]
/drivers/net/wireless/ath/ath6kl/
Dwmi.h717 u8 bssid[ETH_ALEN]; member
728 u8 bssid[ETH_ALEN]; member
793 u8 bssid[ETH_ALEN]; member
1405 u8 bssid[ETH_ALEN]; member
1422 u8 bssid[ETH_ALEN]; member
1463 u8 bssid[ETH_ALEN]; member
1504 u8 bssid[ETH_ALEN]; member
1523 u8 bssid[ETH_ALEN]; /* WMI_FORCE_ROAM */ member
1540 u8 bssid[ETH_ALEN]; member
1579 u8 bssid[ETH_ALEN]; member
[all …]
Dmain.c585 void ath6kl_connect_event(struct ath6kl_vif *vif, u16 channel, u8 *bssid, in ath6kl_connect_event() argument
593 ath6kl_cfg80211_connect_event(vif, channel, bssid, in ath6kl_connect_event()
599 memcpy(vif->bssid, bssid, sizeof(vif->bssid)); in ath6kl_connect_event()
916 void ath6kl_disconnect_event(struct ath6kl_vif *vif, u8 reason, u8 *bssid, in ath6kl_disconnect_event() argument
923 if (!ath6kl_remove_sta(ar, bssid, prot_reason_status)) in ath6kl_disconnect_event()
938 if (!is_broadcast_ether_addr(bssid)) { in ath6kl_disconnect_event()
940 cfg80211_del_sta(vif->ndev, bssid, GFP_KERNEL); in ath6kl_disconnect_event()
943 if (memcmp(vif->ndev->dev_addr, bssid, ETH_ALEN) == 0) { in ath6kl_disconnect_event()
950 ath6kl_cfg80211_disconnect_event(vif, reason, bssid, in ath6kl_disconnect_event()
993 memset(vif->bssid, 0, sizeof(vif->bssid)); in ath6kl_disconnect_event()
Dcfg80211.c448 (sme->bssid && is_zero_ether_addr(sme->bssid)))) { in ath6kl_cfg80211_connect()
514 if (sme->bssid && !is_broadcast_ether_addr(sme->bssid)) in ath6kl_cfg80211_connect()
515 memcpy(vif->req_bssid, sme->bssid, sizeof(vif->req_bssid)); in ath6kl_cfg80211_connect()
638 const u8 *bssid, in ath6kl_add_bss_if_needed() argument
656 bss = cfg80211_get_bss(ar->wiphy, chan, bssid, in ath6kl_add_bss_if_needed()
676 bssid, 0, cap_val, 100, in ath6kl_add_bss_if_needed()
681 "cfg80211\n", bssid); in ath6kl_add_bss_if_needed()
690 u8 *bssid, u16 listen_intvl, in ath6kl_cfg80211_connect_event() argument
739 bss = ath6kl_add_bss_if_needed(vif, nw_type, bssid, chan, in ath6kl_cfg80211_connect_event()
749 cfg80211_ibss_joined(vif->ndev, bssid, GFP_KERNEL); in ath6kl_cfg80211_connect_event()
[all …]
Dcfg80211.h34 u8 *bssid, u16 listen_intvl,
41 u8 *bssid, u8 assoc_resp_len,
Dwmi.c725 int ath6kl_wmi_force_roam_cmd(struct wmi *wmi, const u8 *bssid) in ath6kl_wmi_force_roam_cmd() argument
737 memcpy(cmd->info.bssid, bssid, ETH_ALEN); in ath6kl_wmi_force_roam_cmd()
740 ath6kl_dbg(ATH6KL_DBG_WMI, "force roam to %pM\n", bssid); in ath6kl_wmi_force_roam_cmd()
779 if (memcmp(dev->dev_addr, ev->u.ap_bss.bssid, ETH_ALEN) == 0) { in ath6kl_wmi_connect_event_rx()
783 ev->u.ap_bss.bssid); in ath6kl_wmi_connect_event_rx()
812 le16_to_cpu(ev->u.sta.ch), ev->u.sta.bssid, in ath6kl_wmi_connect_event_rx()
845 ev->u.sta.bssid, in ath6kl_wmi_connect_event_rx()
943 le16_to_cpu(ev->proto_reason_status), ev->bssid, in ath6kl_wmi_disconnect_event_rx()
949 ev->bssid, ev->assoc_resp_len, ev->assoc_info, in ath6kl_wmi_disconnect_event_rx()
1016 bih->ch, bih->snr, bih->snr - 95, bih->bssid, in ath6kl_wmi_bssinfo_event_rx()
[all …]
/drivers/staging/vt6656/
Diowpa.h85 u8 bssid[6]; member
118 u8 bssid[6]; member
/drivers/staging/vt6655/
Diowpa.h91 u8 bssid[6]; member
130 u8 bssid[6]; member
/drivers/net/wireless/mwifiex/
Dcfg80211.c811 bss_info.bssid, 0, WLAN_CAPABILITY_IBSS, in mwifiex_cfg80211_inform_ibss_bss()
814 memcpy(priv->cfg_bssid, bss_info.bssid, ETH_ALEN); in mwifiex_cfg80211_inform_ibss_bss()
835 u8 *bssid, int mode, struct ieee80211_channel *channel, in mwifiex_cfg80211_assoc() argument
940 bssid, ssid, ssid_len, in mwifiex_cfg80211_assoc()
945 bssid, ssid, ssid_len, in mwifiex_cfg80211_assoc()
959 (char *) req_ssid.ssid, bss->bssid); in mwifiex_cfg80211_assoc()
960 memcpy(&priv->cfg_bssid, bss->bssid, ETH_ALEN); in mwifiex_cfg80211_assoc()
999 (char *) sme->ssid, sme->bssid); in mwifiex_cfg80211_connect()
1001 ret = mwifiex_cfg80211_assoc(priv, sme->ssid_len, sme->ssid, sme->bssid, in mwifiex_cfg80211_connect()
1041 (char *) params->ssid, params->bssid); in mwifiex_cfg80211_join_ibss()
[all …]
/drivers/net/wireless/brcm80211/brcmfmac/
Dwl_cfg80211.c495 memcpy(params_le->bssid, ether_bcast, ETH_ALEN); in wl_iscan_prep()
799 return &cfg_priv->profile->bssid; in brcmf_read_prof()
825 memcpy(cfg_priv->profile->bssid, data, ETH_ALEN); in brcmf_update_prof()
827 memset(cfg_priv->profile->bssid, 0, ETH_ALEN); in brcmf_update_prof()
923 if (params->bssid) in brcmf_cfg80211_join_ibss()
925 params->bssid[0], params->bssid[1], params->bssid[2], in brcmf_cfg80211_join_ibss()
926 params->bssid[3], params->bssid[4], params->bssid[5]); in brcmf_cfg80211_join_ibss()
994 if (params->bssid) { in brcmf_cfg80211_join_ibss()
995 memcpy(join_params.params_le.bssid, params->bssid, ETH_ALEN); in brcmf_cfg80211_join_ibss()
999 memcpy(join_params.params_le.bssid, ether_bcast, ETH_ALEN); in brcmf_cfg80211_join_ibss()
[all …]

12345678