Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/wpa_supplicant/
Dpasn_supplicant.c157 const u8 *rsne, *rsnxe; in wpas_pasn_get_params_from_bss() local
189 rsnxe = wpa_bss_get_ie(bss, WLAN_EID_RSNX); in wpas_pasn_get_params_from_bss()
255 (ieee802_11_rsnx_capab(rsnxe, in wpas_pasn_get_params_from_bss()
261 (ieee802_11_rsnx_capab(rsnxe, in wpas_pasn_get_params_from_bss()
511 const u8 *rsne, *rsnxe; in wpas_pasn_auth_start_cb() local
549 rsnxe = wpa_bss_get_ie(bss, WLAN_EID_RSNX); in wpas_pasn_auth_start_cb()
552 ieee802_11_rsnx_capab(rsnxe, in wpas_pasn_auth_start_cb()
565 ieee802_11_rsnx_capab(rsnxe, WLAN_RSNX_CAPAB_SECURE_LTF)) in wpas_pasn_auth_start_cb()
652 rsnxe, rsnxe ? *(rsnxe + 1) + 2 : 0, in wpas_pasn_auth_start_cb()
Dsme.c188 const u8 *rsnxe; in sme_auth_build_sae_commit() local
190 rsnxe = wpa_bss_get_ie(bss, WLAN_EID_RSNX); in sme_auth_build_sae_commit()
191 if (rsnxe && rsnxe[1] >= 1) in sme_auth_build_sae_commit()
192 rsnxe_capa = rsnxe[2]; in sme_auth_build_sae_commit()
952 wpa_s->rsnxe, wpa_s->rsnxe_len); in sme_send_authentication()
2593 if (elems.rsnxe) in sme_associate()
2594 wpa_sm_set_assoc_rsnxe(wpa_s->wpa, elems.rsnxe - 2, in sme_associate()
Dwpa_supplicant.c1557 wpa_s->rsnxe[0] = WLAN_EID_RSNX; in wpas_update_allowed_key_mgmt()
1558 wpa_s->rsnxe[1] = 1; in wpas_update_allowed_key_mgmt()
1559 wpa_s->rsnxe[2] = 0; in wpas_update_allowed_key_mgmt()
1562 wpa_s->rsnxe[2] |= capab; in wpas_update_allowed_key_mgmt()
2011 wpa_s->rsnxe_len = sizeof(wpa_s->rsnxe); in wpa_supplicant_set_suites()
2012 if (wpa_sm_set_assoc_rsnxe_default(wpa_s->wpa, wpa_s->rsnxe, in wpa_supplicant_set_suites()
3692 os_memcpy(wpa_ie + wpa_ie_len, wpa_s->rsnxe, wpa_s->rsnxe_len); in wpas_populate_assoc_ies()
Dwpa_supplicant_i.h802 u8 rsnxe[20]; member
Dctrl_iface.c3037 const u8 *ie, *ie2, *osen_ie, *p2p, *mesh, *owe, *rsnxe; in wpa_supplicant_ctrl_iface_scan_result() local
3064 rsnxe = wpa_bss_get_ie(bss, WLAN_EID_RSNX); in wpa_supplicant_ctrl_iface_scan_result()
3065 if (ieee802_11_rsnx_capab(rsnxe, WLAN_RSNX_CAPAB_SAE_H2E)) { in wpa_supplicant_ctrl_iface_scan_result()
3071 if (ieee802_11_rsnx_capab(rsnxe, WLAN_RSNX_CAPAB_SAE_PK)) { in wpa_supplicant_ctrl_iface_scan_result()
5254 const u8 *ie, *ie2, *osen_ie, *mesh, *owe, *rsnxe; in print_bss_info() local
5374 rsnxe = wpa_bss_get_ie(bss, WLAN_EID_RSNX); in print_bss_info()
5375 if (ieee802_11_rsnx_capab(rsnxe, WLAN_RSNX_CAPAB_SAE_H2E)) { in print_bss_info()
5381 if (ieee802_11_rsnx_capab(rsnxe, WLAN_RSNX_CAPAB_SAE_PK)) { in print_bss_info()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c215 u8 rsnxe[10]; in wpa_ft_gen_req_ies() local
444 res = wpa_gen_rsnxe(sm, rsnxe, sizeof(rsnxe)); in wpa_ft_gen_req_ies()
474 ric_ies_len, rsnxe_len ? rsnxe : NULL, rsnxe_len, in wpa_ft_gen_req_ies()
1142 if (parse.rsnxe) in wpa_ft_validate_reassoc_resp()
1164 parse.rsnxe ? parse.rsnxe - 2 : NULL, in wpa_ft_validate_reassoc_resp()
1165 parse.rsnxe ? parse.rsnxe_len + 2 : 0, in wpa_ft_validate_reassoc_resp()
1215 if ((sm->ap_rsnxe && !parse.rsnxe && own_rsnxe_used) || in wpa_ft_validate_reassoc_resp()
1216 (!sm->ap_rsnxe && parse.rsnxe) || in wpa_ft_validate_reassoc_resp()
1217 (sm->ap_rsnxe && parse.rsnxe && in wpa_ft_validate_reassoc_resp()
1219 os_memcmp(sm->ap_rsnxe, parse.rsnxe - 2, in wpa_ft_validate_reassoc_resp()
[all …]
Dwpa_ie.c362 int wpa_gen_rsnxe(struct wpa_sm *sm, u8 *rsnxe, size_t rsnxe_len) in wpa_gen_rsnxe() argument
364 u8 *pos = rsnxe; in wpa_gen_rsnxe()
399 return pos - rsnxe; in wpa_gen_rsnxe()
Dwpa_ie.h15 int wpa_gen_rsnxe(struct wpa_sm *sm, u8 *rsnxe, size_t rsnxe_len);
Dwpa.c2120 ((sm->ap_rsnxe && !ie->rsnxe) || in wpa_supplicant_validate_ie()
2121 (!sm->ap_rsnxe && ie->rsnxe) || in wpa_supplicant_validate_ie()
2122 (sm->ap_rsnxe && ie->rsnxe && in wpa_supplicant_validate_ie()
2124 os_memcmp(sm->ap_rsnxe, ie->rsnxe, sm->ap_rsnxe_len) != 0)))) { in wpa_supplicant_validate_ie()
2130 ie->rsnxe, ie->rsnxe_len); in wpa_supplicant_validate_ie()
2225 const u8 *rsne = NULL, *rsnxe = NULL; in wpa_supplicant_validate_link_kde() local
2268 rsnxe = link_kde + RSN_MLO_LINK_KDE_FIXED_LENGTH + rsne_len; in wpa_supplicant_validate_link_kde()
2272 (RSN_MLO_LINK_KDE_FIXED_LENGTH + rsne_len + 2 + rsnxe[1])) { in wpa_supplicant_validate_link_kde()
2279 rsnxe_len = rsnxe[1] + 2; in wpa_supplicant_validate_link_kde()
2297 if ((sm->mlo.links[link_id].ap_rsnxe && !rsnxe) || in wpa_supplicant_validate_link_kde()
[all …]
Dwpa.h192 int wpa_sm_set_assoc_rsnxe_default(struct wpa_sm *sm, u8 *rsnxe,
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ie.c601 const u8 *rsnxe, size_t rsnxe_len, in wpa_validate_wpa_ie() argument
1043 if (rsnxe && rsnxe_len) { in wpa_validate_wpa_ie()
1044 if (!sm->rsnxe || sm->rsnxe_len < rsnxe_len) { in wpa_validate_wpa_ie()
1045 os_free(sm->rsnxe); in wpa_validate_wpa_ie()
1046 sm->rsnxe = os_malloc(rsnxe_len); in wpa_validate_wpa_ie()
1047 if (!sm->rsnxe) in wpa_validate_wpa_ie()
1050 os_memcpy(sm->rsnxe, rsnxe, rsnxe_len); in wpa_validate_wpa_ie()
1053 os_free(sm->rsnxe); in wpa_validate_wpa_ie()
1054 sm->rsnxe = NULL; in wpa_validate_wpa_ie()
Dwpa_auth.c790 os_free(sm->rsnxe); in wpa_free_sta_sm()
2425 ieee802_11_rsnx_capab(sm->rsnxe, WLAN_RSNX_CAPAB_SECURE_LTF))) in wpa_derive_ptk()
2454 ieee802_11_rsnx_capab(sm->rsnxe, in wpa_derive_ptk()
2490 ieee802_11_rsnx_capab(sm->rsnxe, WLAN_RSNX_CAPAB_SECURE_LTF)) { in wpa_derive_ptk()
2517 ieee802_11_rsnx_capab(sm->rsnxe, WLAN_RSNX_CAPAB_SECURE_LTF))) in fils_auth_pmk_to_ptk()
2533 ieee802_11_rsnx_capab(sm->rsnxe, WLAN_RSNX_CAPAB_SECURE_LTF)) { in fils_auth_pmk_to_ptk()
3050 ieee802_11_rsnx_capab(sm->rsnxe, WLAN_RSNX_CAPAB_SECURE_LTF) && in fils_set_tk()
3281 if ((!sm->rsnxe && kde.rsnxe) || in SM_STATE()
3282 (sm->rsnxe && !kde.rsnxe) || in SM_STATE()
3283 (sm->rsnxe && kde.rsnxe && in SM_STATE()
[all …]
Dwpa_auth_ft.c2565 u8 rsnxe_buf[10], *rsnxe = rsnxe_buf; in wpa_sm_write_assoc_resp_ies() local
2822 res = wpa_write_rsnxe(&sm->wpa_auth->conf, rsnxe, in wpa_sm_write_assoc_resp_ies()
2833 rsnxe = sm->wpa_auth->conf.rsnxe_override_ft; in wpa_sm_write_assoc_resp_ies()
2853 rsnxe_len ? rsnxe : NULL, rsnxe_len, in wpa_sm_write_assoc_resp_ies()
2942 ieee802_11_rsnx_capab(sm->rsnxe, WLAN_RSNX_CAPAB_SECURE_LTF) && in wpa_ft_install_ptk()
3346 ieee802_11_rsnx_capab(sm->rsnxe, WLAN_RSNX_CAPAB_SECURE_LTF))) in wpa_ft_process_auth_req()
3359 ieee802_11_rsnx_capab(sm->rsnxe, WLAN_RSNX_CAPAB_SECURE_LTF) && in wpa_ft_process_auth_req()
3594 if (parse.rsnxe) in wpa_ft_validate_reassoc()
3616 parse.rsnxe ? parse.rsnxe - 2 : NULL, in wpa_ft_validate_reassoc()
3617 parse.rsnxe ? parse.rsnxe_len + 2 : 0, in wpa_ft_validate_reassoc()
[all …]
Dwpa_auth_i.h112 u8 *rsnxe; member
Ddrv_callbacks.c365 elems.rsnxe ? elems.rsnxe - 2 : NULL, in hostapd_notif_assoc()
366 elems.rsnxe ? elems.rsnxe_len + 2 : 0, in hostapd_notif_assoc()
457 ieee802_11_rsnx_capab_len(elems.rsnxe, elems.rsnxe_len, in hostapd_notif_assoc()
536 !elems.rsnxe); in hostapd_notif_assoc()
Dwpa_auth.h383 const u8 *rsnxe, size_t rsnxe_len,
Dieee802_11.c1828 elems.rsnxe ? elems.rsnxe - 2 : NULL, in handle_auth_fils()
1829 elems.rsnxe ? elems.rsnxe_len + 2 : 0, in handle_auth_fils()
3844 elems->rsnxe ? elems->rsnxe - 2 : in __check_assoc_ies()
3846 elems->rsnxe ? elems->rsnxe_len + 2 : in __check_assoc_ies()
3906 ieee802_11_rsnx_capab_len(elems->rsnxe, elems->rsnxe_len, in __check_assoc_ies()
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.h43 const u8 *rsnxe; member
288 bool ieee802_11_rsnx_capab_len(const u8 *rsnxe, size_t rsnxe_len,
290 bool ieee802_11_rsnx_capab(const u8 *rsnxe, unsigned int capab);
Dieee802_11_common.c491 elems->rsnxe = pos; in __ieee802_11_parse_elems()
734 elems->rsnxe = NULL; in ieee802_11_elems_clear_ids()
2949 bool ieee802_11_rsnx_capab_len(const u8 *rsnxe, size_t rsnxe_len, in ieee802_11_rsnx_capab_len() argument
2956 if (!rsnxe || rsnxe_len == 0) in ieee802_11_rsnx_capab_len()
2958 end = rsnxe + rsnxe_len; in ieee802_11_rsnx_capab_len()
2959 flen = (rsnxe[0] & 0x0f) + 1; in ieee802_11_rsnx_capab_len()
2960 if (rsnxe + flen > end) in ieee802_11_rsnx_capab_len()
2965 capabs |= rsnxe[i] << (8 * i); in ieee802_11_rsnx_capab_len()
2971 bool ieee802_11_rsnx_capab(const u8 *rsnxe, unsigned int capab) in ieee802_11_rsnx_capab() argument
2973 return ieee802_11_rsnx_capab_len(rsnxe ? rsnxe + 2 : NULL, in ieee802_11_rsnx_capab()
[all …]
Dwpa_common.h484 const u8 *rsnxe, size_t rsnxe_len,
590 const u8 *rsnxe; member
657 const u8 *rsnxe; member
Dwpa_common.c891 const u8 *rsnxe, size_t rsnxe_len, in wpa_ft_mic() argument
967 if (rsnxe) { in wpa_ft_mic()
968 addr[num_elem] = rsnxe; in wpa_ft_mic()
1200 parse->rsnxe = pos; in wpa_ft_parse_ies()
1257 if (parse->rsnxe) in wpa_ft_parse_ies()
3523 ie->rsnxe = pos; in wpa_parse_kde_ies()
3526 ie->rsnxe, ie->rsnxe_len); in wpa_parse_kde_ies()
/external/wpa_supplicant_8/src/pasn/
Dpasn_initiator.c1274 if (elems.rsnxe && elems.rsnxe_len) in wpa_pasn_auth_rx()
1284 if (elems.rsnxe && elems.rsnxe_len) in wpa_pasn_auth_rx()
1286 elems.rsnxe - 2, elems.rsnxe_len + 2); in wpa_pasn_auth_rx()
Dpasn_responder.c650 ieee802_11_rsnx_capab_len(elems.rsnxe, elems.rsnxe_len, in handle_auth_pasn_1()