Home
last modified time | relevance | path

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

/linux/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_linux.c62 if (param->sta_addr[0] != 0xff || param->sta_addr[1] != 0xff || in wpa_set_encryption()
63 param->sta_addr[2] != 0xff || param->sta_addr[3] != 0xff || in wpa_set_encryption()
64 param->sta_addr[4] != 0xff || param->sta_addr[5] != 0xff) { in wpa_set_encryption()
536 if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && in rtw_set_encryption()
537 param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && in rtw_set_encryption()
538 param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) { in rtw_set_encryption()
544 psta = rtw_get_stainfo(pstapriv, param->sta_addr); in rtw_set_encryption()
792 if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && in rtw_add_sta()
793 param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && in rtw_add_sta()
794 param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) { in rtw_add_sta()
[all …]
H A Dioctl_cfg80211.c514 if (param->sta_addr[0] == 0xff && param->sta_addr[1] == 0xff && in rtw_cfg80211_ap_set_encryption()
515 param->sta_addr[2] == 0xff && param->sta_addr[3] == 0xff && in rtw_cfg80211_ap_set_encryption()
516 param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) { in rtw_cfg80211_ap_set_encryption()
522 psta = rtw_get_stainfo(pstapriv, param->sta_addr); in rtw_cfg80211_ap_set_encryption()
714 if (param->sta_addr[0] != 0xff || param->sta_addr[1] != 0xff || in rtw_cfg80211_set_encryption()
715 param->sta_addr[2] != 0xff || param->sta_addr[3] != 0xff || in rtw_cfg80211_set_encryption()
716 param->sta_addr[4] != 0xff || param->sta_addr[5] != 0xff) { in rtw_cfg80211_set_encryption()
860 eth_broadcast_addr(param->sta_addr); in cfg80211_rtw_add_key()
907 memcpy(param->sta_addr, (void *)mac_addr, ETH_ALEN); in cfg80211_rtw_add_key()
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dcam.c258 u8 rtl_cam_get_free_entry(struct ieee80211_hw *hw, u8 *sta_addr) in rtl_cam_get_free_entry() argument
265 if (NULL == sta_addr) { in rtl_cam_get_free_entry()
272 if (ether_addr_equal_unaligned(addr, sta_addr)) in rtl_cam_get_free_entry()
282 sta_addr, ETH_ALEN); in rtl_cam_get_free_entry()
291 void rtl_cam_del_entry(struct ieee80211_hw *hw, u8 *sta_addr) in rtl_cam_del_entry() argument
297 if (NULL == sta_addr) { in rtl_cam_del_entry()
302 if (is_zero_ether_addr(sta_addr)) { in rtl_cam_del_entry()
303 pr_err("sta_addr is %pM\n", sta_addr); in rtl_cam_del_entry()
311 (ether_addr_equal_unaligned(addr, sta_addr))) { in rtl_cam_del_entry()
H 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/drivers/net/wireless/quantenna/qtnfmac/
H 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()
H 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
H 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()
1888 ether_addr_copy(cmd->sta_addr, mac); in qtnf_cmd_send_change_sta()
1934 ether_addr_copy(cmd->sta_addr, params->mac); in qtnf_cmd_send_del_sta()
1936 eth_broadcast_addr(cmd->sta_addr); /* flush all stations */ in qtnf_cmd_send_del_sta()
/linux/drivers/staging/rtl8712/
H 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()
H A Dieee80211.h72 u8 sta_addr[ETH_ALEN]; member
H A Drtl871x_ioctl_linux.c362 if (!is_broadcast_ether_addr(param->sta_addr)) in wpa_set_encryption()
1729 eth_broadcast_addr(param->sta_addr); in r871x_wx_set_enc_ext()
/linux/drivers/net/wireless/marvell/mwifiex/
H 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()
H A Dfw.h1953 u8 sta_addr[ETH_ALEN]; member
/linux/drivers/staging/rtl8723bs/include/
H A Dieee80211.h166 u8 sta_addr[ETH_ALEN]; member
206 u8 sta_addr[ETH_ALEN]; member
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_recv.c655 u8 *sta_addr = NULL; in sta2sta_data_frame() local
679 sta_addr = pattrib->src; in sta2sta_data_frame()
688 sta_addr = pattrib->bssid; in sta2sta_data_frame()
703 sta_addr = pattrib->src; in sta2sta_data_frame()
713 sta_addr = mybssid; in sta2sta_data_frame()
722 *psta = rtw_get_stainfo(pstapriv, sta_addr); /* get ap_info */ in sta2sta_data_frame()
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dtx.h625 u8 sta_addr[ETH_ALEN]; member
/linux/net/mac80211/
H 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
H A Dsta_info.h834 const u8 *sta_addr, const u8 *vif_addr);
H A Dsta_info.c320 const u8 *sta_addr, const u8 *vif_addr) in sta_info_get_by_addrs() argument
325 for_each_sta_info(local, sta_addr, sta, tmp) { in sta_info_get_by_addrs()
/linux/drivers/net/wireless/ath/wcn36xx/
H A Dhal.h3022 u8 sta_addr[ETH_ALEN]; member
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c2302 ba_notif->sta_addr, ba_notif->sta_id); in iwl_mvm_rx_ba_notif()