Home
last modified time | relevance | path

Searched refs:rsnxe_len (Results 1 – 19 of 19) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_ie.c589 const u8 *rsnxe, size_t rsnxe_len, in wpa_validate_wpa_ie() argument
1022 if (rsnxe && rsnxe_len) { in wpa_validate_wpa_ie()
1023 if (!sm->rsnxe || sm->rsnxe_len < rsnxe_len) { in wpa_validate_wpa_ie()
1025 sm->rsnxe = os_malloc(rsnxe_len); in wpa_validate_wpa_ie()
1029 os_memcpy(sm->rsnxe, rsnxe, rsnxe_len); in wpa_validate_wpa_ie()
1030 sm->rsnxe_len = rsnxe_len; in wpa_validate_wpa_ie()
1034 sm->rsnxe_len = 0; in wpa_validate_wpa_ie()
Dwpa_auth_i.h109 size_t rsnxe_len; member
Dwpa_auth_ft.c2514 size_t rsnxe_len; in wpa_sm_write_assoc_resp_ies() local
2746 rsnxe_len = 0; in wpa_sm_write_assoc_resp_ies()
2752 rsnxe_len = res; in wpa_sm_write_assoc_resp_ies()
2760 rsnxe_len = sm->wpa_auth->conf.rsnxe_override_ft_len; in wpa_sm_write_assoc_resp_ies()
2763 if (auth_alg == WLAN_AUTH_FT && rsnxe_len) in wpa_sm_write_assoc_resp_ies()
2778 rsnxe_len ? rsnxe : NULL, rsnxe_len, in wpa_sm_write_assoc_resp_ies()
3479 parse.rsnxe ? parse.rsnxe_len + 2 : 0, in wpa_ft_validate_reassoc()
3500 parse.rsnxe ? parse.rsnxe_len + 2 : 0); in wpa_ft_validate_reassoc()
Dwpa_auth.h371 const u8 *rsnxe, size_t rsnxe_len,
Dwpa_auth.c3092 (sm->rsnxe_len != kde.rsnxe_len || in SM_STATE()
3093 os_memcmp(sm->rsnxe, kde.rsnxe, sm->rsnxe_len) != 0))) { in SM_STATE()
3097 sm->rsnxe, sm->rsnxe_len); in SM_STATE()
3099 kde.rsnxe, kde.rsnxe_len); in SM_STATE()
Ddrv_callbacks.c363 elems.rsnxe ? elems.rsnxe_len + 2 : 0, in hostapd_notif_assoc()
464 ieee802_11_rsnx_capab_len(elems.rsnxe, elems.rsnxe_len, in hostapd_notif_assoc()
Dieee802_11.c1899 elems.rsnxe ? elems.rsnxe_len + 2 : 0, in handle_auth_fils()
3156 ieee802_11_rsnx_capab_len(elems.rsnxe, elems.rsnxe_len, in handle_auth_pasn_1()
4638 elems.rsnxe ? elems.rsnxe_len + 2 : 0, in check_assoc_ies()
4700 ieee802_11_rsnx_capab_len(elems.rsnxe, elems.rsnxe_len, in check_assoc_ies()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa_ft.c198 size_t rsnxe_len; in wpa_ft_gen_req_ies() local
402 rsnxe_len = 0; in wpa_ft_gen_req_ies()
409 rsnxe_len = res; in wpa_ft_gen_req_ies()
427 if (rsnxe_len) in wpa_ft_gen_req_ies()
433 ric_ies_len, rsnxe_len ? rsnxe : NULL, rsnxe_len, in wpa_ft_gen_req_ies()
1126 parse.rsnxe ? parse.rsnxe_len + 2 : 0, in wpa_ft_validate_reassoc_resp()
1177 (sm->ap_rsnxe_len != 2 + parse.rsnxe_len || in wpa_ft_validate_reassoc_resp()
1187 parse.rsnxe ? parse.rsnxe_len + 2 : 0); in wpa_ft_validate_reassoc_resp()
Dwpa_ie.h15 int wpa_gen_rsnxe(struct wpa_sm *sm, u8 *rsnxe, size_t rsnxe_len);
Dwpa_ie.c354 int wpa_gen_rsnxe(struct wpa_sm *sm, u8 *rsnxe, size_t rsnxe_len) in wpa_gen_rsnxe() argument
379 if (rsnxe_len < 2 + flen) in wpa_gen_rsnxe()
Dwpa.c1613 (sm->ap_rsnxe_len != ie->rsnxe_len || in wpa_supplicant_validate_ie()
1620 ie->rsnxe, ie->rsnxe_len); in wpa_supplicant_validate_ie()
3643 size_t *rsnxe_len) in wpa_sm_set_assoc_rsnxe_default() argument
3650 res = wpa_gen_rsnxe(sm, rsnxe, *rsnxe_len); in wpa_sm_set_assoc_rsnxe_default()
3653 *rsnxe_len = res; in wpa_sm_set_assoc_rsnxe_default()
3655 wpa_hexdump(MSG_DEBUG, "RSN: Set own RSNXE default", rsnxe, *rsnxe_len); in wpa_sm_set_assoc_rsnxe_default()
3661 } else if (*rsnxe_len > 0) { in wpa_sm_set_assoc_rsnxe_default()
3666 sm->assoc_rsnxe = os_memdup(rsnxe, *rsnxe_len); in wpa_sm_set_assoc_rsnxe_default()
3670 sm->assoc_rsnxe_len = *rsnxe_len; in wpa_sm_set_assoc_rsnxe_default()
Dwpa.h161 size_t *rsnxe_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dieee802_11_common.h136 u8 rsnxe_len; member
289 bool ieee802_11_rsnx_capab_len(const u8 *rsnxe, size_t rsnxe_len,
Dwpa_common.h419 const u8 *rsnxe, size_t rsnxe_len,
521 size_t rsnxe_len; member
589 size_t rsnxe_len; member
Dieee802_11_common.c429 elems->rsnxe_len = elen; in ieee802_11_parse_elems()
2488 bool ieee802_11_rsnx_capab_len(const u8 *rsnxe, size_t rsnxe_len, in ieee802_11_rsnx_capab_len() argument
2495 if (!rsnxe || rsnxe_len == 0) in ieee802_11_rsnx_capab_len()
2497 end = rsnxe + rsnxe_len; in ieee802_11_rsnx_capab_len()
Dwpa_common.c825 const u8 *rsnxe, size_t rsnxe_len, in wpa_ft_mic() argument
898 len[num_elem] = rsnxe_len; in wpa_ft_mic()
1052 parse->rsnxe_len = len; in wpa_ft_parse_ies()
3176 ie->rsnxe_len = pos[1] + 2; in wpa_parse_kde_ies()
3178 ie->rsnxe, ie->rsnxe_len); in wpa_parse_kde_ies()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dsme.c661 if (wpa_s->rsnxe_len > 0 && in sme_send_authentication()
662 wpa_s->rsnxe_len <= in sme_send_authentication()
666 wpa_s->rsnxe, wpa_s->rsnxe_len); in sme_send_authentication()
667 wpa_s->sme.assoc_req_ie_len += wpa_s->rsnxe_len; in sme_send_authentication()
979 wpa_s->rsnxe_len = 0; in sme_auth_start_cb()
2159 elems.rsnxe_len + 2); in sme_associate()
Dwpa_supplicant.c435 wpa_s->rsnxe_len = 0; in wpa_supplicant_set_non_wpa_policy()
1798 wpa_s->rsnxe_len = sizeof(wpa_s->rsnxe); in wpa_supplicant_set_suites()
1800 &wpa_s->rsnxe_len)) { in wpa_supplicant_set_suites()
3418 if (wpa_s->rsnxe_len > 0 && in wpas_populate_assoc_ies()
3419 wpa_s->rsnxe_len <= max_wpa_ie_len - wpa_ie_len) { in wpas_populate_assoc_ies()
3420 os_memcpy(wpa_ie + wpa_ie_len, wpa_s->rsnxe, wpa_s->rsnxe_len); in wpas_populate_assoc_ies()
3421 wpa_ie_len += wpa_s->rsnxe_len; in wpas_populate_assoc_ies()
3735 wpa_s->rsnxe_len = 0; in wpas_start_assoc_cb()
Dwpa_supplicant_i.h833 size_t rsnxe_len; member