Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.c54 memcpy(wrqu.ap_addr.sa_data, bssid, ETH_ALEN); in __cfg80211_ibss_joined()
461 struct sockaddr *ap_addr, char *extra) in cfg80211_ibss_wext_siwap() argument
465 u8 *bssid = ap_addr->sa_data; in cfg80211_ibss_wext_siwap()
475 if (ap_addr->sa_family != ARPHRD_ETHER) in cfg80211_ibss_wext_siwap()
518 struct sockaddr *ap_addr, char *extra) in cfg80211_ibss_wext_giwap() argument
526 ap_addr->sa_family = ARPHRD_ETHER; in cfg80211_ibss_wext_giwap()
530 memcpy(ap_addr->sa_data, wdev->u.ibss.current_bss->pub.bssid, in cfg80211_ibss_wext_giwap()
533 memcpy(ap_addr->sa_data, wdev->wext.ibss.bssid, ETH_ALEN); in cfg80211_ibss_wext_giwap()
535 eth_zero_addr(ap_addr->sa_data); in cfg80211_ibss_wext_giwap()
Dwext-compat.c1454 struct sockaddr *ap_addr = &wrqu->ap_addr; in cfg80211_wext_siwap() local
1462 ret = cfg80211_ibss_wext_siwap(dev, info, ap_addr, extra); in cfg80211_wext_siwap()
1465 ret = cfg80211_mgd_wext_siwap(dev, info, ap_addr, extra); in cfg80211_wext_siwap()
1480 struct sockaddr *ap_addr = &wrqu->ap_addr; in cfg80211_wext_giwap() local
1488 ret = cfg80211_ibss_wext_giwap(dev, info, ap_addr, extra); in cfg80211_wext_giwap()
1491 ret = cfg80211_mgd_wext_giwap(dev, info, ap_addr, extra); in cfg80211_wext_giwap()
Dmlme.c414 struct net_device *dev, const u8 *ap_addr, in cfg80211_mlme_disassoc() argument
424 .ap_addr = ap_addr, in cfg80211_mlme_disassoc()
433 if (memcmp(wdev->u.client.connected_addr, ap_addr, ETH_ALEN)) in cfg80211_mlme_disassoc()
Dtrace.h1352 MAC_ASSIGN(bssid, req->ap_addr);
2935 MAC_ENTRY(ap_addr)
2939 MAC_ASSIGN(ap_addr,
2943 NETDEV_PR_ARG, __entry->ap_addr)
3018 MAC_ENTRY(ap_addr)
3023 MAC_ASSIGN(ap_addr, data->ap_mld_addr ?: data->bss[0]->bssid);
3027 NETDEV_PR_ARG, __entry->ap_addr, __entry->timeout)
3831 TP_PROTO(struct wireless_dev *wdev, const u8 *ap_addr, u32 timeout),
3832 TP_ARGS(wdev, ap_addr, timeout),
3835 MAC_ENTRY(ap_addr)
[all …]
Dsme.c805 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in __cfg80211_connect_result()
807 memcpy(wrqu.ap_addr.sa_data, connected_addr, ETH_ALEN); in __cfg80211_connect_result()
1160 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in __cfg80211_roamed()
1161 memcpy(wrqu.ap_addr.sa_data, connected_addr, ETH_ALEN); in __cfg80211_roamed()
1399 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in __cfg80211_disconnected()
/linux-6.6.21/net/mac80211/
Dmlme.c1502 memcpy(mgmt->da, sdata->vif.cfg.ap_addr, ETH_ALEN); in ieee80211_send_assoc()
1504 memcpy(mgmt->bssid, sdata->vif.cfg.ap_addr, ETH_ALEN); in ieee80211_send_assoc()
2242 sta = sta_info_get(sdata, sdata->vif.cfg.ap_addr); in ieee80211_powersave_allowed()
2953 ieee80211_send_deauth_disassoc(sdata, sdata->vif.cfg.ap_addr, in ieee80211_set_disassoc()
2954 sdata->vif.cfg.ap_addr, stype, in ieee80211_set_disassoc()
2966 eth_zero_addr(sdata->vif.cfg.ap_addr); in ieee80211_set_disassoc()
3178 u8 *dst = sdata->vif.cfg.ap_addr; in ieee80211_mgd_probe_ap_send()
3432 sdata->vif.cfg.ap_addr); in ieee80211_beacon_connection_loss_work()
3438 sdata->vif.cfg.ap_addr); in ieee80211_beacon_connection_loss_work()
3512 sta_info_destroy_addr(sdata, auth_data->ap_addr); in ieee80211_destroy_auth_data()
[all …]
/linux-6.6.21/drivers/net/wireless/intersil/orinoco/
Dwext.c160 struct sockaddr *ap_addr = &wrqu->ap_addr; in orinoco_ioctl_setwap() local
169 if (is_zero_ether_addr(ap_addr->sa_data) || in orinoco_ioctl_setwap()
170 is_broadcast_ether_addr(ap_addr->sa_data)) { in orinoco_ioctl_setwap()
175 if (ap_addr->sa_data[0] == 0) { in orinoco_ioctl_setwap()
208 memcpy(priv->desired_bssid, &ap_addr->sa_data, ETH_ALEN); in orinoco_ioctl_setwap()
220 struct sockaddr *ap_addr = &wrqu->ap_addr; in orinoco_ioctl_getwap() local
229 ap_addr->sa_family = ARPHRD_ETHER; in orinoco_ioctl_getwap()
230 err = orinoco_hw_get_current_bssid(priv, ap_addr->sa_data); in orinoco_ioctl_getwap()
/linux-6.6.21/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.c685 struct sockaddr *ap_addr = &wrqu->ap_addr; in prism2_ioctl_siwap() local
695 memcpy(local->preferred_ap, &ap_addr->sa_data, ETH_ALEN); in prism2_ioctl_siwap()
726 struct sockaddr *ap_addr = &wrqu->ap_addr; in prism2_ioctl_giwap() local
733 ap_addr->sa_family = ARPHRD_ETHER; in prism2_ioctl_giwap()
736 memcpy(&ap_addr->sa_data, dev->dev_addr, ETH_ALEN); in prism2_ioctl_giwap()
739 memcpy(&ap_addr->sa_data, local->assoc_ap_addr, ETH_ALEN); in prism2_ioctl_giwap()
742 memcpy(&ap_addr->sa_data, iface->u.wds.remote_addr, ETH_ALEN); in prism2_ioctl_giwap()
746 &ap_addr->sa_data, ETH_ALEN, 1) < 0) in prism2_ioctl_giwap()
751 memcpy(local->bssid, &ap_addr->sa_data, ETH_ALEN); in prism2_ioctl_giwap()
1823 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in __prism2_translate_scan()
[all …]
/linux-6.6.21/drivers/staging/rtl8192e/
Drtllib_softmac_wx.c89 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in rtllib_wx_get_wap()
101 eth_zero_addr(wrqu->ap_addr.sa_data); in rtllib_wx_get_wap()
103 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.6.21/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()
/linux-6.6.21/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.6.21/drivers/staging/ks7010/
Dks_hostif.c150 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in get_current_ap()
152 ether_addr_copy(wrqu.ap_addr.sa_data, priv->current_ap.bssid); in get_current_ap()
155 wrqu.ap_addr.sa_data); in get_current_ap()
699 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in hostif_start_confirm()
701 eth_zero_addr(wrqu.ap_addr.sa_data); in hostif_start_confirm()
751 wrqu0.ap_addr.sa_family = ARPHRD_ETHER; in hostif_connect_indication()
754 eth_zero_addr(wrqu0.ap_addr.sa_data); in hostif_connect_indication()
819 wrqu0.ap_addr.sa_family = ARPHRD_ETHER; in hostif_stop_confirm()
822 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()
1193 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in ks_wlan_translate_scan()
1194 ether_addr_copy(iwe.u.ap_addr.sa_data, ap->bssid); in ks_wlan_translate_scan()
/linux-6.6.21/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.6.21/drivers/net/wireless/legacy/
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.6.21/drivers/net/wireless/zydas/
Dzd1201.c1087 struct sockaddr *ap_addr = &wrqu->ap_addr; in zd1201_get_wap() local
1103 return zd1201_getconfig(zd, ZD1201_RID_CURRENTBSSID, ap_addr->sa_data, 6); in zd1201_get_wap()
1146 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in zd1201_get_scan()
1147 memcpy(iwe.u.ap_addr.sa_data, zd->rxdata+i+6, 6); in zd1201_get_scan()
1638 struct sockaddr *sta = &wrqu->ap_addr; in zd1201_auth_sta()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dpower.c241 vif->cfg.ap_addr)) in iwl_mvm_power_allow_uapsd()
505 vif->cfg.ap_addr)) in iwl_mvm_power_vif_assoc()
526 vif->cfg.ap_addr); in iwl_mvm_power_uapsd_misbehav_ap_iterator()
/linux-6.6.21/drivers/net/wireless/atmel/
Datmel.c1370 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in atmel_close()
1371 eth_zero_addr(wrqu.ap_addr.sa_data); in atmel_close()
1700 struct sockaddr *awrq = &wrqu->ap_addr; in atmel_get_wap()
2356 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in atmel_get_scan()
2357 memcpy(iwe.u.ap_addr.sa_data, priv->BSSinfo[i].BSSID, ETH_ALEN); in atmel_get_scan()
2492 struct sockaddr *awrq = &wrqu->ap_addr; in atmel_set_wap()
3155 memcpy(wrqu.ap_addr.sa_data, priv->CurrentBSSID, ETH_ALEN); in associate()
3156 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in associate()
4026 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in reset_atmel_card()
4027 eth_zero_addr(wrqu.ap_addr.sa_data); in reset_atmel_card()
/linux-6.6.21/include/uapi/linux/
Dwireless.h926 struct sockaddr ap_addr; /* Access point address */ member
/linux-6.6.21/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.c1828 .ap_addr = { in ipw2100_down()
1941 .ap_addr = { in ipw2100_reset_adapter()
6866 if (wrqu->ap_addr.sa_family != ARPHRD_ETHER) in ipw2100_wx_set_wap()
6875 if (is_broadcast_ether_addr(wrqu->ap_addr.sa_data) || in ipw2100_wx_set_wap()
6876 is_zero_ether_addr(wrqu->ap_addr.sa_data)) { in ipw2100_wx_set_wap()
6885 memcpy(priv->mandatory_bssid_mac, wrqu->ap_addr.sa_data, ETH_ALEN); in ipw2100_wx_set_wap()
6887 err = ipw2100_set_mandatory_bssid(priv, wrqu->ap_addr.sa_data, 0); in ipw2100_wx_set_wap()
6889 IPW_DEBUG_WX("SET BSSID -> %pM\n", wrqu->ap_addr.sa_data); in ipw2100_wx_set_wap()
6909 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in ipw2100_wx_get_wap()
6910 memcpy(wrqu->ap_addr.sa_data, priv->bssid, ETH_ALEN); in ipw2100_wx_get_wap()
[all …]

12