Home
last modified time | relevance | path

Searched refs:ap_addr (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.1.9/net/wireless/
Dwext-compat.h22 struct sockaddr *ap_addr, char *extra);
25 struct sockaddr *ap_addr, char *extra);
41 struct sockaddr *ap_addr, char *extra);
44 struct sockaddr *ap_addr, char *extra);
Dwext-sme.c248 struct sockaddr *ap_addr, char *extra) in cfg80211_mgd_wext_siwap() argument
252 u8 *bssid = ap_addr->sa_data; in cfg80211_mgd_wext_siwap()
259 if (ap_addr->sa_family != ARPHRD_ETHER) in cfg80211_mgd_wext_siwap()
299 struct sockaddr *ap_addr, char *extra) in cfg80211_mgd_wext_giwap() argument
307 ap_addr->sa_family = ARPHRD_ETHER; in cfg80211_mgd_wext_giwap()
315 memcpy(ap_addr->sa_data, in cfg80211_mgd_wext_giwap()
319 eth_zero_addr(ap_addr->sa_data); in cfg80211_mgd_wext_giwap()
Dibss.c55 memcpy(wrqu.ap_addr.sa_data, bssid, ETH_ALEN); in __cfg80211_ibss_joined()
462 struct sockaddr *ap_addr, char *extra) in cfg80211_ibss_wext_siwap() argument
466 u8 *bssid = ap_addr->sa_data; in cfg80211_ibss_wext_siwap()
476 if (ap_addr->sa_family != ARPHRD_ETHER) in cfg80211_ibss_wext_siwap()
519 struct sockaddr *ap_addr, char *extra) in cfg80211_ibss_wext_giwap() argument
527 ap_addr->sa_family = ARPHRD_ETHER; in cfg80211_ibss_wext_giwap()
531 memcpy(ap_addr->sa_data, wdev->u.ibss.current_bss->pub.bssid, in cfg80211_ibss_wext_giwap()
534 memcpy(ap_addr->sa_data, wdev->wext.ibss.bssid, ETH_ALEN); in cfg80211_ibss_wext_giwap()
536 eth_zero_addr(ap_addr->sa_data); in cfg80211_ibss_wext_giwap()
Dwext-compat.c1433 struct sockaddr *ap_addr, char *extra) in cfg80211_wext_siwap() argument
1442 ret = cfg80211_ibss_wext_siwap(dev, info, ap_addr, extra); in cfg80211_wext_siwap()
1445 ret = cfg80211_mgd_wext_siwap(dev, info, ap_addr, extra); in cfg80211_wext_siwap()
1458 struct sockaddr *ap_addr, char *extra) in cfg80211_wext_giwap() argument
1467 ret = cfg80211_ibss_wext_giwap(dev, info, ap_addr, extra); in cfg80211_wext_giwap()
1470 ret = cfg80211_mgd_wext_giwap(dev, info, ap_addr, extra); in cfg80211_wext_giwap()
Dmlme.c395 struct net_device *dev, const u8 *ap_addr, in cfg80211_mlme_disassoc() argument
405 .ap_addr = ap_addr, in cfg80211_mlme_disassoc()
414 if (memcmp(wdev->u.client.connected_addr, ap_addr, ETH_ALEN)) in cfg80211_mlme_disassoc()
Dsme.c777 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in __cfg80211_connect_result()
779 memcpy(wrqu.ap_addr.sa_data, connected_addr, ETH_ALEN); in __cfg80211_connect_result()
1103 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in __cfg80211_roamed()
1104 memcpy(wrqu.ap_addr.sa_data, connected_addr, ETH_ALEN); in __cfg80211_roamed()
1338 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in __cfg80211_disconnected()
Dtrace.h1339 MAC_ASSIGN(bssid, req->ap_addr);
2916 MAC_ENTRY(ap_addr)
2920 MAC_ASSIGN(ap_addr,
2924 NETDEV_PR_ARG, MAC_PR_ARG(ap_addr))
2999 MAC_ENTRY(ap_addr)
3004 MAC_ASSIGN(ap_addr, data->ap_mld_addr ?: data->bss[0]->bssid);
3008 NETDEV_PR_ARG, MAC_PR_ARG(ap_addr), __entry->timeout)
3791 TP_PROTO(struct wireless_dev *wdev, const u8 *ap_addr, u32 timeout),
3792 TP_ARGS(wdev, ap_addr, timeout),
3795 MAC_ENTRY(ap_addr)
[all …]
/linux-6.1.9/net/mac80211/
Dmlme.c1426 memcpy(mgmt->da, sdata->vif.cfg.ap_addr, ETH_ALEN); in ieee80211_send_assoc()
1428 memcpy(mgmt->bssid, sdata->vif.cfg.ap_addr, ETH_ALEN); in ieee80211_send_assoc()
2173 sta = sta_info_get(sdata, sdata->vif.cfg.ap_addr); in ieee80211_powersave_allowed()
2884 ieee80211_send_deauth_disassoc(sdata, sdata->vif.cfg.ap_addr, in ieee80211_set_disassoc()
2885 sdata->vif.cfg.ap_addr, stype, in ieee80211_set_disassoc()
2897 eth_zero_addr(sdata->vif.cfg.ap_addr); in ieee80211_set_disassoc()
3110 u8 *dst = sdata->vif.cfg.ap_addr; in ieee80211_mgd_probe_ap_send()
3360 sdata->vif.cfg.ap_addr); in ieee80211_beacon_connection_loss_work()
3366 sdata->vif.cfg.ap_addr); in ieee80211_beacon_connection_loss_work()
3439 sta_info_destroy_addr(sdata, auth_data->ap_addr); in ieee80211_destroy_auth_data()
[all …]
/linux-6.1.9/drivers/net/wireless/intersil/orinoco/
Dwext.c157 struct sockaddr *ap_addr, in orinoco_ioctl_setwap() argument
168 if (is_zero_ether_addr(ap_addr->sa_data) || in orinoco_ioctl_setwap()
169 is_broadcast_ether_addr(ap_addr->sa_data)) { in orinoco_ioctl_setwap()
174 if (ap_addr->sa_data[0] == 0) { in orinoco_ioctl_setwap()
207 memcpy(priv->desired_bssid, &ap_addr->sa_data, ETH_ALEN); in orinoco_ioctl_setwap()
216 struct sockaddr *ap_addr, in orinoco_ioctl_getwap() argument
227 ap_addr->sa_family = ARPHRD_ETHER; in orinoco_ioctl_getwap()
228 err = orinoco_hw_get_current_bssid(priv, ap_addr->sa_data); in orinoco_ioctl_getwap()
/linux-6.1.9/drivers/net/wireless/intersil/hostap/
Dhostap_info.c443 memcpy(wrqu.ap_addr.sa_data, local->bssid, ETH_ALEN); in handle_info_queue_linkstatus()
447 eth_zero_addr(wrqu.ap_addr.sa_data); in handle_info_queue_linkstatus()
449 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in handle_info_queue_linkstatus()
Dhostap_ioctl.c672 struct sockaddr *ap_addr, char *extra) in prism2_ioctl_siwap() argument
683 memcpy(local->preferred_ap, &ap_addr->sa_data, ETH_ALEN); in prism2_ioctl_siwap()
712 struct sockaddr *ap_addr, char *extra) in prism2_ioctl_giwap() argument
720 ap_addr->sa_family = ARPHRD_ETHER; in prism2_ioctl_giwap()
723 memcpy(&ap_addr->sa_data, dev->dev_addr, ETH_ALEN); in prism2_ioctl_giwap()
726 memcpy(&ap_addr->sa_data, local->assoc_ap_addr, ETH_ALEN); in prism2_ioctl_giwap()
729 memcpy(&ap_addr->sa_data, iface->u.wds.remote_addr, ETH_ALEN); in prism2_ioctl_giwap()
733 &ap_addr->sa_data, ETH_ALEN, 1) < 0) in prism2_ioctl_giwap()
738 memcpy(local->bssid, &ap_addr->sa_data, ETH_ALEN); in prism2_ioctl_giwap()
1794 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in __prism2_translate_scan()
[all …]
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac_wx.c110 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in ieee80211_wx_get_wap()
122 eth_zero_addr(wrqu->ap_addr.sa_data); in ieee80211_wx_get_wap()
124 memcpy(wrqu->ap_addr.sa_data, in ieee80211_wx_get_wap()
Dieee80211_wx.c55 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in rtl819x_translate_scan()
56 memcpy(iwe.u.ap_addr.sa_data, network->bssid, ETH_ALEN); in rtl819x_translate_scan()
/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_softmac_wx.c108 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in rtllib_wx_get_wap()
120 eth_zero_addr(wrqu->ap_addr.sa_data); in rtllib_wx_get_wap()
122 memcpy(wrqu->ap_addr.sa_data, in rtllib_wx_get_wap()
Drtllib_wx.c42 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in rtl819x_translate_scan()
43 ether_addr_copy(iwe.u.ap_addr.sa_data, network->bssid); in rtl819x_translate_scan()
/linux-6.1.9/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c253 memcpy(data.ap_addr.sa_data, bssid, ETH_ALEN); in gelic_wl_send_iwap_event()
254 data.ap_addr.sa_family = ARPHRD_ETHER; in gelic_wl_send_iwap_event()
579 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in gelic_wl_translate_scan()
580 memcpy(iwe.u.ap_addr.sa_data, &scan->bssid[2], ETH_ALEN); in gelic_wl_translate_scan()
1142 if (data->ap_addr.sa_family != ARPHRD_ETHER) in gelic_wl_set_ap()
1146 if (is_valid_ether_addr(data->ap_addr.sa_data)) { in gelic_wl_set_ap()
1147 memcpy(wl->bssid, data->ap_addr.sa_data, in gelic_wl_set_ap()
1173 data->ap_addr.sa_family = ARPHRD_ETHER; in gelic_wl_get_ap()
1174 memcpy(data->ap_addr.sa_data, wl->active_bssid, in gelic_wl_get_ap()
1177 eth_zero_addr(data->ap_addr.sa_data); in gelic_wl_get_ap()
/linux-6.1.9/drivers/staging/ks7010/
Dks_hostif.c151 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in get_current_ap()
153 ether_addr_copy(wrqu.ap_addr.sa_data, priv->current_ap.bssid); in get_current_ap()
156 wrqu.ap_addr.sa_data); in get_current_ap()
700 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in hostif_start_confirm()
702 eth_zero_addr(wrqu.ap_addr.sa_data); in hostif_start_confirm()
752 wrqu0.ap_addr.sa_family = ARPHRD_ETHER; in hostif_connect_indication()
755 eth_zero_addr(wrqu0.ap_addr.sa_data); in hostif_connect_indication()
820 wrqu0.ap_addr.sa_family = ARPHRD_ETHER; in hostif_stop_confirm()
823 eth_zero_addr(wrqu0.ap_addr.sa_data); in hostif_stop_confirm()
Dks_wlan_net.c322 ether_addr_copy(priv->reg.bssid, awrq->ap_addr.sa_data); in ks_wlan_set_wap()
346 ether_addr_copy(awrq->ap_addr.sa_data, priv->current_ap.bssid); in ks_wlan_get_wap()
348 eth_zero_addr(awrq->ap_addr.sa_data); in ks_wlan_get_wap()
350 awrq->ap_addr.sa_family = ARPHRD_ETHER; in ks_wlan_get_wap()
1194 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in ks_wlan_translate_scan()
1195 ether_addr_copy(iwe.u.ap_addr.sa_data, ap->bssid); in ks_wlan_translate_scan()
/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c61 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in r8712_indicate_wx_assoc_event()
62 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, in r8712_indicate_wx_assoc_event()
71 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in r8712_indicate_wx_disassoc_event()
72 eth_zero_addr(wrqu.ap_addr.sa_data); in r8712_indicate_wx_disassoc_event()
227 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in translate_scan()
228 ether_addr_copy(iwe.u.ap_addr.sa_data, pnetwork->network.MacAddress); in translate_scan()
1083 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in r8711_wx_get_wap()
1086 ether_addr_copy(wrqu->ap_addr.sa_data, pcur_bss->MacAddress); in r8711_wx_get_wap()
1088 eth_zero_addr(wrqu->ap_addr.sa_data); in r8711_wx_get_wap()
/linux-6.1.9/drivers/net/wireless/
Dwl3501_cs.c1536 if (wrqu->ap_addr.sa_family != ARPHRD_ETHER) in wl3501_set_wap()
1538 if (is_broadcast_ether_addr(wrqu->ap_addr.sa_data)) { in wl3501_set_wap()
1541 memcpy(this->bssid, wrqu->ap_addr.sa_data, ETH_ALEN); in wl3501_set_wap()
1553 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in wl3501_get_wap()
1554 memcpy(wrqu->ap_addr.sa_data, this->bssid, ETH_ALEN); in wl3501_get_wap()
1577 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in wl3501_get_scan()
1578 memcpy(iwe.u.ap_addr.sa_data, this->bss_set[i].req.bssid, ETH_ALEN); in wl3501_get_scan()
/linux-6.1.9/drivers/staging/r8188eu/os_dep/
Dioctl_linux.c56 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in rtw_indicate_wx_assoc_event()
58 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN); in rtw_indicate_wx_assoc_event()
69 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in rtw_indicate_wx_disassoc_event()
70 memset(wrqu.ap_addr.sa_data, 0, ETH_ALEN); in rtw_indicate_wx_disassoc_event()
122 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in translate_scan()
124 memcpy(iwe.u.ap_addr.sa_data, pnetwork->network.MacAddress, ETH_ALEN); in translate_scan()
994 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in rtw_wx_get_wap()
996 memset(wrqu->ap_addr.sa_data, 0, ETH_ALEN); in rtw_wx_get_wap()
1001 memcpy(wrqu->ap_addr.sa_data, pcur_bss->MacAddress, ETH_ALEN); in rtw_wx_get_wap()
1003 memset(wrqu->ap_addr.sa_data, 0, ETH_ALEN); in rtw_wx_get_wap()
/linux-6.1.9/include/uapi/linux/
Dwireless.h926 struct sockaddr ap_addr; /* Access point address */ member
/linux-6.1.9/drivers/net/wireless/intel/ipw2x00/
Dlibipw_wx.c59 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in libipw_translate_scan()
60 memcpy(iwe.u.ap_addr.sa_data, network->bssid, ETH_ALEN); in libipw_translate_scan()
Dipw2100.c1839 .ap_addr = { in ipw2100_down()
1952 .ap_addr = { in ipw2100_reset_adapter()
6877 if (wrqu->ap_addr.sa_family != ARPHRD_ETHER) in ipw2100_wx_set_wap()
6886 if (is_broadcast_ether_addr(wrqu->ap_addr.sa_data) || in ipw2100_wx_set_wap()
6887 is_zero_ether_addr(wrqu->ap_addr.sa_data)) { in ipw2100_wx_set_wap()
6896 memcpy(priv->mandatory_bssid_mac, wrqu->ap_addr.sa_data, ETH_ALEN); in ipw2100_wx_set_wap()
6898 err = ipw2100_set_mandatory_bssid(priv, wrqu->ap_addr.sa_data, 0); in ipw2100_wx_set_wap()
6900 IPW_DEBUG_WX("SET BSSID -> %pM\n", wrqu->ap_addr.sa_data); in ipw2100_wx_set_wap()
6920 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in ipw2100_wx_get_wap()
6921 memcpy(wrqu->ap_addr.sa_data, priv->bssid, ETH_ALEN); in ipw2100_wx_get_wap()
[all …]
/linux-6.1.9/drivers/net/wireless/zydas/
Dzd1201.c1080 struct iw_request_info *info, struct sockaddr *ap_addr, char *extra) in zd1201_get_wap() argument
1097 return zd1201_getconfig(zd, ZD1201_RID_CURRENTBSSID, ap_addr->sa_data, 6); in zd1201_get_wap()
1139 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in zd1201_get_scan()
1140 memcpy(iwe.u.ap_addr.sa_data, zd->rxdata+i+6, 6); in zd1201_get_scan()

12