Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Dwpa_auth.h224 struct wpa_state_machine * (*add_sta)(void *ctx, const u8 *sta_addr);
227 int (*add_tspec)(void *ctx, const u8 *sta_addr, u8 *tspec_ie,
231 int (*start_ampe)(void *ctx, const u8 *sta_addr);
294 const u8 *pmk, size_t len, const u8 *sta_addr,
300 const u8 *sta_addr);
305 wpa_auth_pmksa_get(struct wpa_authenticator *wpa_auth, const u8 *sta_addr);
Dwpa_auth_ft.c28 const u8 *current_ap, const u8 *sta_addr,
55 wpa_ft_add_sta(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) in wpa_ft_add_sta() argument
59 return wpa_auth->cb.add_sta(wpa_auth->cb.ctx, sta_addr); in wpa_ft_add_sta()
64 const u8 *sta_addr, in wpa_ft_add_tspec() argument
71 return wpa_auth->cb.add_tspec(wpa_auth->cb.ctx, sta_addr, tspec_ie, in wpa_ft_add_tspec()
1141 const u8 *sta_addr, *target_ap; in wpa_ft_action_rx() local
1162 sta_addr = data + 2; in wpa_ft_action_rx()
1169 MAC2STR(sta_addr), MAC2STR(target_ap), action); in wpa_ft_action_rx()
1171 if (os_memcmp(sta_addr, sm->addr, ETH_ALEN) != 0) { in wpa_ft_action_rx()
1174 MAC2STR(sm->addr), MAC2STR(sta_addr)); in wpa_ft_action_rx()
[all …]
Dwpa_auth_glue.c539 hostapd_wpa_auth_add_sta(void *ctx, const u8 *sta_addr) in hostapd_wpa_auth_add_sta() argument
544 if (hostapd_add_sta_node(hapd, sta_addr, WLAN_AUTH_FT) < 0) in hostapd_wpa_auth_add_sta()
547 sta = ap_sta_add(hapd, sta_addr); in hostapd_wpa_auth_add_sta()
584 static int hostapd_wpa_auth_add_tspec(void *ctx, const u8 *sta_addr, in hostapd_wpa_auth_add_tspec() argument
588 return hostapd_add_tspec(hapd, sta_addr, tspec_ie, tspec_ielen); in hostapd_wpa_auth_add_tspec()
Dpmksa_cache_auth.c500 if (attr->sta_addr) { in das_attr_match()
501 if (os_memcmp(attr->sta_addr, entry->spa, ETH_ALEN) != 0) in das_attr_match()
Dwpa_auth.c3312 const u8 *pmk, size_t len, const u8 *sta_addr, in wpa_auth_pmksa_add_preauth() argument
3322 sta_addr, session_timeout, eapol, in wpa_auth_pmksa_add_preauth()
3347 const u8 *sta_addr) in wpa_auth_pmksa_remove() argument
3353 pmksa = pmksa_cache_auth_get(wpa_auth->pmksa, sta_addr, NULL); in wpa_auth_pmksa_remove()
3356 MACSTR " based on request", MAC2STR(sta_addr)); in wpa_auth_pmksa_remove()
3379 wpa_auth_pmksa_get(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) in wpa_auth_pmksa_get() argument
3383 return pmksa_cache_auth_get(wpa_auth->pmksa, sta_addr, NULL); in wpa_auth_pmksa_get()
Dgas_serv.c121 const u8 *sta_addr) in gas_serv_free_dialogs() argument
126 sta = ap_get_sta(hapd, sta_addr); in gas_serv_free_dialogs()
Dhostapd.c660 if (attr->sta_addr) { in hostapd_das_find_sta()
662 sta = ap_get_sta(hapd, attr->sta_addr); in hostapd_das_find_sta()
/external/wpa_supplicant_8/src/radius/
Dradius_das.c61 u8 sta_addr[ETH_ALEN]; in radius_das_disconnect() local
112 if (hwaddr_aton2(tmp, sta_addr) < 0) { in radius_das_disconnect()
118 attrs.sta_addr = sta_addr; in radius_das_disconnect()
Dradius_das.h29 const u8 *sta_addr; member
/external/wpa_supplicant_8/src/drivers/
Ddriver_hostap.c338 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_set_flags()
411 memset(param->sta_addr, 0xff, ETH_ALEN); in wpa_driver_hostap_set_key()
413 memcpy(param->sta_addr, addr, ETH_ALEN); in wpa_driver_hostap_set_key()
467 os_memset(param->sta_addr, 0xff, ETH_ALEN); in hostap_get_seqnum()
469 os_memcpy(param->sta_addr, addr, ETH_ALEN); in hostap_get_seqnum()
642 memcpy(param.sta_addr, params->addr, ETH_ALEN); in hostap_sta_add()
659 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_remove()
675 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_get_inact_sec()
691 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.h345 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr,
361 const u8 *sta_addr, const u8 *bssid,
Dwpa_common.c209 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr, in wpa_ft_mic() argument
227 addr[num_elem] = sta_addr; in wpa_ft_mic()
963 const u8 *sta_addr, const u8 *bssid, in wpa_pmk_r1_to_ptk() argument
985 os_memcpy(pos, sta_addr, ETH_ALEN); in wpa_pmk_r1_to_ptk()
1009 addr[5] = sta_addr; in wpa_pmk_r1_to_ptk()
Dieee802_11_defs.h558 u8 sta_addr[ETH_ALEN]; member
564 u8 sta_addr[ETH_ALEN]; member
/external/wpa_supplicant_8/wpa_supplicant/
Devents.c2916 const u8 *sta_addr, *target_ap_addr; local
2926 sta_addr = data + 1;
2931 MAC2STR(sta_addr), MAC2STR(target_ap_addr), status);
2933 if (os_memcmp(sta_addr, wpa_s->own_addr, ETH_ALEN) != 0) {
2935 " in FT Action Response", MAC2STR(sta_addr));