Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c47 wpa_ft_add_sta(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) in wpa_ft_add_sta() argument
51 return wpa_auth->cb.add_sta(wpa_auth->cb.ctx, sta_addr); in wpa_ft_add_sta()
56 const u8 *sta_addr, in wpa_ft_add_tspec() argument
63 return wpa_auth->cb.add_tspec(wpa_auth->cb.ctx, sta_addr, tspec_ie, in wpa_ft_add_tspec()
1116 const u8 *sta_addr, *target_ap; in wpa_ft_action_rx() local
1137 sta_addr = data + 2; in wpa_ft_action_rx()
1144 MAC2STR(sta_addr), MAC2STR(target_ap), action); in wpa_ft_action_rx()
1146 if (os_memcmp(sta_addr, sm->addr, ETH_ALEN) != 0) { in wpa_ft_action_rx()
1149 MAC2STR(sm->addr), MAC2STR(sta_addr)); in wpa_ft_action_rx()
1184 const u8 *current_ap, const u8 *sta_addr, in wpa_ft_rrb_rx_request() argument
[all …]
Dwpa_auth.h198 struct wpa_state_machine * (*add_sta)(void *ctx, const u8 *sta_addr);
201 int (*add_tspec)(void *ctx, const u8 *sta_addr, u8 *tspec_ie,
260 const u8 *pmk, size_t len, const u8 *sta_addr,
Dwpa_auth_glue.c434 hostapd_wpa_auth_add_sta(void *ctx, const u8 *sta_addr) in hostapd_wpa_auth_add_sta() argument
439 if (hostapd_add_sta_node(hapd, sta_addr, WLAN_AUTH_FT) < 0) in hostapd_wpa_auth_add_sta()
442 sta = ap_sta_add(hapd, sta_addr); in hostapd_wpa_auth_add_sta()
476 static int hostapd_wpa_auth_add_tspec(void *ctx, const u8 *sta_addr, in hostapd_wpa_auth_add_tspec() argument
480 return hostapd_add_tspec(hapd, sta_addr, tspec_ie, tspec_ielen); in hostapd_wpa_auth_add_tspec()
Dgas_serv.c112 const u8 *sta_addr) in gas_serv_free_dialogs() argument
117 sta = ap_get_sta(hapd, sta_addr); in gas_serv_free_dialogs()
Dhostapd.c533 if (attr->sta_addr) in hostapd_das_find_sta()
534 sta = ap_get_sta(hapd, attr->sta_addr); in hostapd_das_find_sta()
Dwpa_auth.c2963 const u8 *pmk, size_t len, const u8 *sta_addr, in wpa_auth_pmksa_add_preauth() argument
2971 sta_addr, session_timeout, eapol, in wpa_auth_pmksa_add_preauth()
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_prism54.c164 os_memset(param->sta_addr, 0xff, ETH_ALEN); in wpa_driver_prism54_set_key()
166 os_memcpy(param->sta_addr, addr, ETH_ALEN); in wpa_driver_prism54_set_key()
168 os_memset(param->sta_addr, 0xff, ETH_ALEN); in wpa_driver_prism54_set_key()
275 MAC2STR(param->sta_addr)); in show_set_key_error()
Ddriver_hostap.c132 MAC2STR(param->sta_addr)); in show_set_key_error()
202 os_memset(param->sta_addr, 0xff, ETH_ALEN); in wpa_driver_hostap_set_key()
204 os_memcpy(param->sta_addr, addr, ETH_ALEN); in wpa_driver_hostap_set_key()
206 os_memset(param->sta_addr, 0xff, ETH_ALEN); in wpa_driver_hostap_set_key()
276 os_memcpy(param.sta_addr, addr, ETH_ALEN); in wpa_driver_hostap_mlme()
Ddriver_atmel.c81 unsigned char sta_addr[6]; member
243 os_memset(param->sta_addr, 0xff, ETH_ALEN); in wpa_driver_atmel_set_key()
245 os_memcpy(param->sta_addr, addr, ETH_ALEN); in wpa_driver_atmel_set_key()
295 os_memcpy(param.sta_addr, addr, ETH_ALEN); in wpa_driver_atmel_mlme()
Ddriver_ipw.c66 u8 sta_addr[ETH_ALEN]; member
130 MAC2STR(param->sta_addr)); in ipw_show_set_key_error()
190 os_memcpy(param.sta_addr, addr, ETH_ALEN); in ipw_mlme()
259 os_memset(param->sta_addr, 0xff, ETH_ALEN); in wpa_driver_ipw_set_key()
Ddriver_hostap.h98 u8 sta_addr[ETH_ALEN]; member
/external/wpa_supplicant_8/src/radius/
Dradius_das.c58 u8 sta_addr[ETH_ALEN]; in radius_das_disconnect() local
79 if (hwaddr_aton2(tmp, sta_addr) < 0) { in radius_das_disconnect()
85 attrs.sta_addr = sta_addr; in radius_das_disconnect()
Dradius_das.h21 const u8 *sta_addr; member
/external/wpa_supplicant_6/wpa_supplicant/src/common/
Dwpa_common.c135 int wpa_ft_mic(const u8 *kck, const u8 *sta_addr, const u8 *ap_addr, in wpa_ft_mic() argument
150 os_memcpy(pos, sta_addr, ETH_ALEN); in wpa_ft_mic()
524 const u8 *sta_addr, const u8 *bssid, in wpa_pmk_r1_to_ptk() argument
544 os_memcpy(pos, sta_addr, ETH_ALEN); in wpa_pmk_r1_to_ptk()
563 addr[5] = sta_addr; in wpa_pmk_r1_to_ptk()
Dwpa_common.h300 int wpa_ft_mic(const u8 *kck, const u8 *sta_addr, const u8 *ap_addr,
315 const u8 *sta_addr, const u8 *bssid,
Dieee802_11_defs.h316 u8 sta_addr[ETH_ALEN]; member
322 u8 sta_addr[ETH_ALEN]; member
/external/wpa_supplicant_8/src/drivers/
Ddriver_hostap.c342 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_set_flags()
414 memset(param->sta_addr, 0xff, ETH_ALEN); in wpa_driver_hostap_set_key()
416 memcpy(param->sta_addr, addr, ETH_ALEN); in wpa_driver_hostap_set_key()
470 memset(param->sta_addr, 0xff, ETH_ALEN); in hostap_get_seqnum()
472 memcpy(param->sta_addr, addr, ETH_ALEN); in hostap_get_seqnum()
644 memcpy(param.sta_addr, params->addr, ETH_ALEN); in hostap_sta_add()
661 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_remove()
677 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_get_inact_sec()
693 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_clear_stats()
Ddriver_hostap.h155 u8 sta_addr[ETH_ALEN]; member
/external/wpa_supplicant_8/src/common/
Dwpa_common.c133 int wpa_ft_mic(const u8 *kck, const u8 *sta_addr, const u8 *ap_addr, in wpa_ft_mic() argument
148 os_memcpy(pos, sta_addr, ETH_ALEN); in wpa_ft_mic()
810 const u8 *sta_addr, const u8 *bssid, in wpa_pmk_r1_to_ptk() argument
830 os_memcpy(pos, sta_addr, ETH_ALEN); in wpa_pmk_r1_to_ptk()
849 addr[5] = sta_addr; in wpa_pmk_r1_to_ptk()
Dwpa_common.h312 int wpa_ft_mic(const u8 *kck, const u8 *sta_addr, const u8 *ap_addr,
327 const u8 *sta_addr, const u8 *bssid,
Dieee802_11_defs.h483 u8 sta_addr[ETH_ALEN]; member
489 u8 sta_addr[ETH_ALEN]; member
/external/wpa_supplicant_6/wpa_supplicant/
Dmlme.c1685 u8 *sta_addr, *target_ap_addr; in ieee80211_rx_mgmt_ft_action() local
1703 sta_addr = mgmt->u.action.u.ft_action_resp.sta_addr; in ieee80211_rx_mgmt_ft_action()
1707 MAC2STR(sta_addr), MAC2STR(target_ap_addr), status); in ieee80211_rx_mgmt_ft_action()
1708 if (os_memcmp(sta_addr, wpa_s->own_addr, ETH_ALEN) != 0) { in ieee80211_rx_mgmt_ft_action()
1710 " in FT Action Response", MAC2STR(sta_addr)); in ieee80211_rx_mgmt_ft_action()
2955 os_memcpy(mgmt->u.action.u.ft_action_req.sta_addr, wpa_s->own_addr, in ieee80211_sta_send_ft_action()
/external/wpa_supplicant_8/wpa_supplicant/
Devents.c2200 const u8 *sta_addr, *target_ap_addr; local
2210 sta_addr = data + 1;
2215 MAC2STR(sta_addr), MAC2STR(target_ap_addr), status);
2217 if (os_memcmp(sta_addr, wpa_s->own_addr, ETH_ALEN) != 0) {
2219 " in FT Action Response", MAC2STR(sta_addr));