/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | wpa_auth.h | 324 struct wpa_state_machine * (*add_sta)(void *ctx, const u8 *sta_addr); 325 int (*add_sta_ft)(void *ctx, const u8 *sta_addr); 326 int (*set_vlan)(void *ctx, const u8 *sta_addr, 328 int (*get_vlan)(void *ctx, const u8 *sta_addr, 330 int (*set_identity)(void *ctx, const u8 *sta_addr, 332 size_t (*get_identity)(void *ctx, const u8 *sta_addr, const u8 **buf); 333 int (*set_radius_cui)(void *ctx, const u8 *sta_addr, 335 size_t (*get_radius_cui)(void *ctx, const u8 *sta_addr, const u8 **buf); 336 void (*set_session_timeout)(void *ctx, const u8 *sta_addr, 338 int (*get_session_timeout)(void *ctx, const u8 *sta_addr); [all …]
|
D | wpa_auth_glue.c | 1041 hostapd_wpa_auth_add_sta(void *ctx, const u8 *sta_addr) in hostapd_wpa_auth_add_sta() argument 1049 MAC2STR(sta_addr)); in hostapd_wpa_auth_add_sta() 1050 ret = hostapd_add_sta_node(hapd, sta_addr, WLAN_AUTH_FT); in hostapd_wpa_auth_add_sta() 1061 sta = ap_sta_add(hapd, sta_addr); in hostapd_wpa_auth_add_sta() 1084 static int hostapd_wpa_auth_add_sta_ft(void *ctx, const u8 *sta_addr) in hostapd_wpa_auth_add_sta_ft() argument 1089 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_add_sta_ft() 1112 static int hostapd_wpa_auth_set_vlan(void *ctx, const u8 *sta_addr, in hostapd_wpa_auth_set_vlan() argument 1118 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_set_vlan() 1145 static int hostapd_wpa_auth_get_vlan(void *ctx, const u8 *sta_addr, in hostapd_wpa_auth_get_vlan() argument 1151 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_get_vlan() [all …]
|
D | wpa_auth_ft.c | 39 const u8 *current_ap, const u8 *sta_addr, 673 wpa_ft_add_sta(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) in wpa_ft_add_sta() argument 677 return wpa_auth->cb->add_sta(wpa_auth->cb_ctx, sta_addr); in wpa_ft_add_sta() 682 const u8 *sta_addr, struct vlan_description *vlan) in wpa_ft_set_vlan() argument 686 return wpa_auth->cb->set_vlan(wpa_auth->cb_ctx, sta_addr, vlan); in wpa_ft_set_vlan() 691 const u8 *sta_addr, struct vlan_description *vlan) in wpa_ft_get_vlan() argument 695 return wpa_auth->cb->get_vlan(wpa_auth->cb_ctx, sta_addr, vlan); in wpa_ft_get_vlan() 700 wpa_ft_set_identity(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, in wpa_ft_set_identity() argument 705 return wpa_auth->cb->set_identity(wpa_auth->cb_ctx, sta_addr, identity, in wpa_ft_set_identity() 711 wpa_ft_get_identity(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, in wpa_ft_get_identity() argument [all …]
|
D | pmksa_cache_auth.c | 561 if (attr->sta_addr) { in das_attr_match() 562 if (os_memcmp(attr->sta_addr, entry->spa, ETH_ALEN) != 0) in das_attr_match()
|
D | wpa_auth.c | 4812 const u8 *pmk, size_t len, const u8 *sta_addr, in wpa_auth_pmksa_add_preauth() argument 4823 sta_addr, session_timeout, eapol, in wpa_auth_pmksa_add_preauth() 4873 const u8 *sta_addr) in wpa_auth_pmksa_remove() argument 4879 pmksa = pmksa_cache_auth_get(wpa_auth->pmksa, sta_addr, NULL); in wpa_auth_pmksa_remove() 4882 MACSTR " based on request", MAC2STR(sta_addr)); in wpa_auth_pmksa_remove() 4957 wpa_auth_pmksa_get(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, in wpa_auth_pmksa_get() argument 4962 return pmksa_cache_auth_get(wpa_auth->pmksa, sta_addr, pmkid); in wpa_auth_pmksa_get() 5298 const u8 *sta_addr, const u8 *pmkid) in wpa_auth_pmksa_get_fils_cache_id() argument 5307 idata.spa = sta_addr; in wpa_auth_pmksa_get_fils_cache_id()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | wpa_auth.h | 279 struct wpa_state_machine * (*add_sta)(void *ctx, const u8 *sta_addr); 280 int (*set_vlan)(void *ctx, const u8 *sta_addr, 282 int (*get_vlan)(void *ctx, const u8 *sta_addr, 284 int (*set_identity)(void *ctx, const u8 *sta_addr, 286 size_t (*get_identity)(void *ctx, const u8 *sta_addr, const u8 **buf); 287 int (*set_radius_cui)(void *ctx, const u8 *sta_addr, 289 size_t (*get_radius_cui)(void *ctx, const u8 *sta_addr, const u8 **buf); 290 void (*set_session_timeout)(void *ctx, const u8 *sta_addr, 292 int (*get_session_timeout)(void *ctx, const u8 *sta_addr); 296 int (*add_tspec)(void *ctx, const u8 *sta_addr, u8 *tspec_ie, [all …]
|
D | wpa_auth_glue.c | 895 hostapd_wpa_auth_add_sta(void *ctx, const u8 *sta_addr) in hostapd_wpa_auth_add_sta() argument 902 MAC2STR(sta_addr)); in hostapd_wpa_auth_add_sta() 903 if (hostapd_add_sta_node(hapd, sta_addr, WLAN_AUTH_FT) < 0) in hostapd_wpa_auth_add_sta() 906 sta = ap_sta_add(hapd, sta_addr); in hostapd_wpa_auth_add_sta() 928 static int hostapd_wpa_auth_set_vlan(void *ctx, const u8 *sta_addr, in hostapd_wpa_auth_set_vlan() argument 934 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_set_vlan() 961 static int hostapd_wpa_auth_get_vlan(void *ctx, const u8 *sta_addr, in hostapd_wpa_auth_get_vlan() argument 967 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_get_vlan() 981 hostapd_wpa_auth_set_identity(void *ctx, const u8 *sta_addr, in hostapd_wpa_auth_set_identity() argument 987 sta = ap_get_sta(hapd, sta_addr); in hostapd_wpa_auth_set_identity() [all …]
|
D | wpa_auth_ft.c | 38 const u8 *current_ap, const u8 *sta_addr, 672 wpa_ft_add_sta(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) in wpa_ft_add_sta() argument 676 return wpa_auth->cb->add_sta(wpa_auth->cb_ctx, sta_addr); in wpa_ft_add_sta() 681 const u8 *sta_addr, struct vlan_description *vlan) in wpa_ft_set_vlan() argument 685 return wpa_auth->cb->set_vlan(wpa_auth->cb_ctx, sta_addr, vlan); in wpa_ft_set_vlan() 690 const u8 *sta_addr, struct vlan_description *vlan) in wpa_ft_get_vlan() argument 694 return wpa_auth->cb->get_vlan(wpa_auth->cb_ctx, sta_addr, vlan); in wpa_ft_get_vlan() 699 wpa_ft_set_identity(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, in wpa_ft_set_identity() argument 704 return wpa_auth->cb->set_identity(wpa_auth->cb_ctx, sta_addr, identity, in wpa_ft_set_identity() 710 wpa_ft_get_identity(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, in wpa_ft_get_identity() argument [all …]
|
D | pmksa_cache_auth.c | 555 if (attr->sta_addr) { in das_attr_match() 556 if (os_memcmp(attr->sta_addr, entry->spa, ETH_ALEN) != 0) in das_attr_match()
|
D | wpa_auth.c | 4407 const u8 *pmk, size_t len, const u8 *sta_addr, in wpa_auth_pmksa_add_preauth() argument 4418 sta_addr, session_timeout, eapol, in wpa_auth_pmksa_add_preauth() 4468 const u8 *sta_addr) in wpa_auth_pmksa_remove() argument 4474 pmksa = pmksa_cache_auth_get(wpa_auth->pmksa, sta_addr, NULL); in wpa_auth_pmksa_remove() 4477 MACSTR " based on request", MAC2STR(sta_addr)); in wpa_auth_pmksa_remove() 4552 wpa_auth_pmksa_get(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, in wpa_auth_pmksa_get() argument 4557 return pmksa_cache_auth_get(wpa_auth->pmksa, sta_addr, pmkid); in wpa_auth_pmksa_get() 4892 const u8 *sta_addr, const u8 *pmkid) in wpa_auth_pmksa_get_fils_cache_id() argument 4901 idata.spa = sta_addr; in wpa_auth_pmksa_get_fils_cache_id()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/ |
D | radius_das.c | 63 u8 sta_addr[ETH_ALEN]; in radius_das_disconnect() local 114 if (hwaddr_aton2(tmp, sta_addr) < 0) { in radius_das_disconnect() 120 attrs.sta_addr = sta_addr; in radius_das_disconnect() 223 u8 sta_addr[ETH_ALEN]; in radius_das_coa() local 279 if (hwaddr_aton2(tmp, sta_addr) < 0) { in radius_das_coa() 285 attrs.sta_addr = sta_addr; in radius_das_coa()
|
D | radius_das.h | 30 const u8 *sta_addr; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/ |
D | radius_das.c | 63 u8 sta_addr[ETH_ALEN]; in radius_das_disconnect() local 114 if (hwaddr_aton2(tmp, sta_addr) < 0) { in radius_das_disconnect() 120 attrs.sta_addr = sta_addr; in radius_das_disconnect() 223 u8 sta_addr[ETH_ALEN]; in radius_das_coa() local 279 if (hwaddr_aton2(tmp, sta_addr) < 0) { in radius_das_coa() 285 attrs.sta_addr = sta_addr; in radius_das_coa()
|
D | radius_das.h | 30 const u8 *sta_addr; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | driver_hostap.c | 343 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_set_flags() 422 memset(param->sta_addr, 0xff, ETH_ALEN); in wpa_driver_hostap_set_key() 424 memcpy(param->sta_addr, addr, ETH_ALEN); in wpa_driver_hostap_set_key() 478 os_memset(param->sta_addr, 0xff, ETH_ALEN); in hostap_get_seqnum() 480 os_memcpy(param->sta_addr, addr, ETH_ALEN); in hostap_get_seqnum() 653 memcpy(param.sta_addr, params->addr, ETH_ALEN); in hostap_sta_add() 670 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_remove() 686 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_get_inact_sec() 702 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_clear_stats()
|
D | driver_hostap.h | 153 u8 sta_addr[ETH_ALEN]; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | driver_hostap.c | 342 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_set_flags() 418 memset(param->sta_addr, 0xff, ETH_ALEN); in wpa_driver_hostap_set_key() 420 memcpy(param->sta_addr, addr, ETH_ALEN); in wpa_driver_hostap_set_key() 474 os_memset(param->sta_addr, 0xff, ETH_ALEN); in hostap_get_seqnum() 476 os_memcpy(param->sta_addr, addr, ETH_ALEN); in hostap_get_seqnum() 649 memcpy(param.sta_addr, params->addr, ETH_ALEN); in hostap_sta_add() 666 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_remove() 682 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_get_inact_sec() 698 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_clear_stats()
|
D | driver_hostap.h | 155 u8 sta_addr[ETH_ALEN]; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | wpa_common.h | 363 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, 370 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr, 388 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
|
D | wpa_common.c | 663 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, in fils_key_auth_sk() argument 675 " AP-BSSID=" MACSTR, MAC2STR(sta_addr), MAC2STR(bssid)); in fils_key_auth_sk() 691 addr[2] = sta_addr; in fils_key_auth_sk() 725 addr[3] = sta_addr; in fils_key_auth_sk() 754 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr, in wpa_ft_mic() argument 781 addr[num_elem] = sta_addr; in wpa_ft_mic() 1698 const u8 *sta_addr, const u8 *bssid, in wpa_pmk_r1_to_ptk() argument 1720 MAC2STR(bssid), MAC2STR(sta_addr)); in wpa_pmk_r1_to_ptk() 1728 os_memcpy(pos, sta_addr, ETH_ALEN); in wpa_pmk_r1_to_ptk() 1780 addr[5] = sta_addr; in wpa_pmk_r1_to_ptk()
|
D | ieee802_11_defs.h | 937 u8 sta_addr[ETH_ALEN]; member 943 u8 sta_addr[ETH_ALEN]; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | wpa_common.h | 404 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, 411 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr, 431 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
|
D | wpa_common.c | 728 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, in fils_key_auth_sk() argument 740 " AP-BSSID=" MACSTR, MAC2STR(sta_addr), MAC2STR(bssid)); in fils_key_auth_sk() 756 addr[2] = sta_addr; in fils_key_auth_sk() 790 addr[3] = sta_addr; in fils_key_auth_sk() 819 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr, in wpa_ft_mic() argument 848 addr[num_elem] = sta_addr; in wpa_ft_mic() 2040 const u8 *sta_addr, const u8 *bssid, in wpa_pmk_r1_to_ptk() argument 2071 MAC2STR(bssid), MAC2STR(sta_addr)); in wpa_pmk_r1_to_ptk() 2079 os_memcpy(pos, sta_addr, ETH_ALEN); in wpa_pmk_r1_to_ptk() 2132 addr[5] = sta_addr; in wpa_pmk_r1_to_ptk()
|
D | ieee802_11_defs.h | 990 u8 sta_addr[ETH_ALEN]; member 996 u8 sta_addr[ETH_ALEN]; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | events.c | 3466 const u8 *sta_addr, *target_ap_addr; in ft_rx_action() local 3476 sta_addr = data + 1; in ft_rx_action() 3481 MAC2STR(sta_addr), MAC2STR(target_ap_addr), status); in ft_rx_action() 3483 if (os_memcmp(sta_addr, wpa_s->own_addr, ETH_ALEN) != 0) { in ft_rx_action() 3485 " in FT Action Response", MAC2STR(sta_addr)); in ft_rx_action()
|