Home
last modified time | relevance | path

Searched refs:sta_addr (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.3-rc2/drivers/staging/rtl8723bs/os_dep/
A Dioctl_linux.c64 if (param->sta_addr[0] != 0xff || param->sta_addr[1] != 0xff || in wpa_set_encryption()
65 param->sta_addr[2] != 0xff || param->sta_addr[3] != 0xff || in wpa_set_encryption()
66 param->sta_addr[4] != 0xff || param->sta_addr[5] != 0xff) { in wpa_set_encryption()
548 if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && in rtw_set_encryption()
549 param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && in rtw_set_encryption()
550 param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) { in rtw_set_encryption()
817 if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && in rtw_add_sta()
818 param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && in rtw_add_sta()
819 param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) { in rtw_add_sta()
885 if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && in rtw_del_sta()
[all …]
A Dioctl_cfg80211.c520 if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && in rtw_cfg80211_ap_set_encryption()
521 param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && in rtw_cfg80211_ap_set_encryption()
522 param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) { in rtw_cfg80211_ap_set_encryption()
528 psta = rtw_get_stainfo(pstapriv, param->sta_addr); in rtw_cfg80211_ap_set_encryption()
728 if (param->sta_addr[0] != 0xff || param->sta_addr[1] != 0xff || in rtw_cfg80211_set_encryption()
729 param->sta_addr[2] != 0xff || param->sta_addr[3] != 0xff || in rtw_cfg80211_set_encryption()
730 param->sta_addr[4] != 0xff || param->sta_addr[5] != 0xff) { in rtw_cfg80211_set_encryption()
875 eth_broadcast_addr(param->sta_addr); in cfg80211_rtw_add_key()
923 memcpy(param->sta_addr, (void *)mac_addr, ETH_ALEN); in cfg80211_rtw_add_key()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/
A Dcam.c257 u8 rtl_cam_get_free_entry(struct ieee80211_hw *hw, u8 *sta_addr) in rtl_cam_get_free_entry() argument
264 if (NULL == sta_addr) { in rtl_cam_get_free_entry()
271 if (ether_addr_equal_unaligned(addr, sta_addr)) in rtl_cam_get_free_entry()
281 sta_addr, ETH_ALEN); in rtl_cam_get_free_entry()
290 void rtl_cam_del_entry(struct ieee80211_hw *hw, u8 *sta_addr) in rtl_cam_del_entry() argument
296 if (NULL == sta_addr) { in rtl_cam_del_entry()
301 if (is_zero_ether_addr(sta_addr)) { in rtl_cam_del_entry()
302 pr_err("sta_addr is %pM\n", sta_addr); in rtl_cam_del_entry()
310 (ether_addr_equal_unaligned(addr, sta_addr))) { in rtl_cam_del_entry()
A Dcam.h25 u8 rtl_cam_get_free_entry(struct ieee80211_hw *hw, u8 *sta_addr);
26 void rtl_cam_del_entry(struct ieee80211_hw *hw, u8 *sta_addr);
/linux-6.3-rc2/drivers/net/wireless/quantenna/qtnfmac/
A Devent.c23 const u8 *sta_addr; in qtnf_event_handle_sta_assoc() local
48 sta_addr = sta_assoc->sta_addr; in qtnf_event_handle_sta_assoc()
51 pr_debug("VIF%u.%u: MAC:%pM FC:%x\n", mac->macid, vif->vifid, sta_addr, in qtnf_event_handle_sta_assoc()
54 qtnf_sta_list_add(vif, sta_addr); in qtnf_event_handle_sta_assoc()
93 cfg80211_new_sta(vif->netdev, sta_assoc->sta_addr, sinfo, in qtnf_event_handle_sta_assoc()
106 const u8 *sta_addr; in qtnf_event_handle_sta_deauth() local
122 sta_addr = sta_deauth->sta_addr; in qtnf_event_handle_sta_deauth()
126 sta_addr, reason); in qtnf_event_handle_sta_deauth()
128 if (qtnf_sta_list_del(vif, sta_addr)) in qtnf_event_handle_sta_deauth()
129 cfg80211_del_sta(vif->netdev, sta_deauth->sta_addr, in qtnf_event_handle_sta_deauth()
A Dqlink.h447 u8 sta_addr[ETH_ALEN]; member
525 u8 sta_addr[ETH_ALEN]; member
537 u8 sta_addr[ETH_ALEN]; member
1168 u8 sta_addr[ETH_ALEN]; member
1271 u8 sta_addr[ETH_ALEN]; member
1284 u8 sta_addr[ETH_ALEN]; member
A Dcommands.c720 ether_addr_copy(cmd->sta_addr, sta_mac); in qtnf_cmd_get_sta_info()
729 if (!ether_addr_equal(sta_mac, resp->sta_addr)) { in qtnf_cmd_get_sta_info()
731 vif->mac->macid, vif->vifid, resp->sta_addr, sta_mac); in qtnf_cmd_get_sta_info()
1886 ether_addr_copy(cmd->sta_addr, mac); in qtnf_cmd_send_change_sta()
1932 ether_addr_copy(cmd->sta_addr, params->mac); in qtnf_cmd_send_del_sta()
1934 eth_broadcast_addr(cmd->sta_addr); /* flush all stations */ in qtnf_cmd_send_del_sta()
/linux-6.3-rc2/drivers/net/wireless/intersil/hostap/
A Dhostap_ap.h250 int hostap_is_sta_assoc(struct ap_data *ap, u8 *sta_addr);
251 int hostap_is_sta_authorized(struct ap_data *ap, u8 *sta_addr);
252 int hostap_add_sta(struct ap_data *ap, u8 *sta_addr);
A Dhostap_ap.c2488 sta = ap_get_sta(ap, param->sta_addr); in prism2_hostapd_add_sta()
2494 sta = ap_add_sta(ap, param->sta_addr); in prism2_hostapd_add_sta()
2527 sta = ap_get_sta(ap, param->sta_addr); in prism2_hostapd_remove_sta()
2551 sta = ap_get_sta(ap, param->sta_addr); in prism2_hostapd_get_info_sta()
2573 sta = ap_get_sta(ap, param->sta_addr); in prism2_hostapd_set_flags_sta()
2594 sta = ap_get_sta(ap, param->sta_addr); in prism2_hostapd_sta_clear_stats()
3097 sta = ap_get_sta(ap, sta_addr); in hostap_is_sta_assoc()
3113 sta = ap_get_sta(ap, sta_addr); in hostap_is_sta_authorized()
3125 int hostap_add_sta(struct ap_data *ap, u8 *sta_addr) in hostap_add_sta() argument
3134 sta = ap_get_sta(ap, sta_addr); in hostap_add_sta()
[all …]
A Dhostap_common.h364 u8 sta_addr[ETH_ALEN]; member
A Dhostap_ioctl.c3479 if (is_broadcast_ether_addr(param->sta_addr)) { in prism2_ioctl_set_encryption()
3488 local->ap, param->sta_addr, in prism2_ioctl_set_encryption()
3612 if (is_broadcast_ether_addr(param->sta_addr)) { in prism2_ioctl_get_encryption()
3619 sta_ptr = ap_crypt_get_ptrs(local->ap, param->sta_addr, 0, in prism2_ioctl_get_encryption()
3695 local->dev->name, param->sta_addr); in prism2_ioctl_set_assoc_ap_addr()
3696 memcpy(local->assoc_ap_addr, param->sta_addr, ETH_ALEN); in prism2_ioctl_set_assoc_ap_addr()
3784 return prism2_sta_send_mgmt(local, param->sta_addr, in prism2_ioctl_mlme()
3788 return prism2_sta_send_mgmt(local, param->sta_addr, in prism2_ioctl_mlme()
/linux-6.3-rc2/drivers/staging/rtl8712/
A Drtl871x_recv.c305 u8 *sta_addr = NULL; in sta2sta_data_frame() local
319 sta_addr = pattrib->src; in sta2sta_data_frame()
326 sta_addr = pattrib->bssid; in sta2sta_data_frame()
340 sta_addr = pattrib->src; in sta2sta_data_frame()
348 sta_addr = mybssid; in sta2sta_data_frame()
355 *psta = r8712_get_stainfo(pstapriv, sta_addr); /* get ap_info */ in sta2sta_data_frame()
A Dieee80211.h72 u8 sta_addr[ETH_ALEN]; member
A Drtl871x_ioctl_linux.c381 if (!is_broadcast_ether_addr(param->sta_addr)) in wpa_set_encryption()
1784 eth_broadcast_addr(param->sta_addr); in r871x_wx_set_enc_ext()
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/
A Duap_event.c133 cfg80211_new_sta(priv->netdev, event->sta_addr, sinfo, in mwifiex_process_uap_event()
136 node = mwifiex_add_sta_entry(priv, event->sta_addr); in mwifiex_process_uap_event()
A Dfw.h1912 u8 sta_addr[ETH_ALEN]; member
/linux-6.3-rc2/drivers/staging/wlan-ng/
A Dhfa384x.h713 u8 sta_addr[ETH_ALEN]; member
723 u8 sta_addr[ETH_ALEN]; member
734 u8 sta_addr[ETH_ALEN]; member
A Dprism2sta.c1492 if (ether_addr_equal(rec.sta_addr, hw->authlist.addr[i])) in prism2sta_inf_assocstatus()
1558 ether_addr_copy(rec.address, inf->info.authreq.sta_addr); in prism2sta_inf_authreq_defer()
/linux-6.3-rc2/drivers/staging/rtl8723bs/include/
A Dieee80211.h166 u8 sta_addr[ETH_ALEN]; member
206 u8 sta_addr[ETH_ALEN]; member
/linux-6.3-rc2/drivers/staging/rtl8723bs/core/
A Drtw_recv.c656 u8 *sta_addr = NULL; in sta2sta_data_frame() local
680 sta_addr = pattrib->src; in sta2sta_data_frame()
689 sta_addr = pattrib->bssid; in sta2sta_data_frame()
704 sta_addr = pattrib->src; in sta2sta_data_frame()
714 sta_addr = mybssid; in sta2sta_data_frame()
723 *psta = rtw_get_stainfo(pstapriv, sta_addr); /* get ap_info */ in sta2sta_data_frame()
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/fw/api/
A Dtx.h634 u8 sta_addr[ETH_ALEN]; member
/linux-6.3-rc2/net/mac80211/
A Dtrace.h24 #define STA_ENTRY __array(char, sta_addr, ETH_ALEN)
25 #define STA_ASSIGN (sta ? memcpy(__entry->sta_addr, sta->addr, ETH_ALEN) : \
26 eth_zero_addr(__entry->sta_addr))
27 #define STA_NAMED_ASSIGN(s) memcpy(__entry->sta_addr, (s)->addr, ETH_ALEN)
29 #define STA_PR_ARG __entry->sta_addr
A Dsta_info.h827 const u8 *sta_addr, const u8 *vif_addr);
A Dsta_info.c313 const u8 *sta_addr, const u8 *vif_addr) in sta_info_get_by_addrs() argument
318 for_each_sta_info(local, sta_addr, sta, tmp) { in sta_info_get_by_addrs()
/linux-6.3-rc2/drivers/staging/rtl8192u/ieee80211/
A Dieee80211.h234 u8 sta_addr[ETH_ALEN]; member

Completed in 128 milliseconds

12