Home
last modified time | relevance | path

Searched refs:mdie_len (Results 1 – 25 of 25) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa_ft.c88 if (ft.mdie && ft.mdie_len < MOBILITY_DOMAIN_ID_LEN + 1) in wpa_sm_set_ft_params()
124 sm->assoc_resp_ies = os_malloc(ft.mdie_len + 2 + ft.ftie_len + 2); in wpa_sm_set_ft_params()
128 os_memcpy(pos, ft.mdie - 2, ft.mdie_len + 2); in wpa_sm_set_ft_params()
129 pos += ft.mdie_len + 2; in wpa_sm_set_ft_params()
173 int mdie_len; in wpa_ft_gen_req_ies() local
294 mdie_len = wpa_ft_add_mdie(sm, pos, buf_len - (pos - buf), ap_mdie); in wpa_ft_gen_req_ies()
295 if (mdie_len <= 0) { in wpa_ft_gen_req_ies()
300 pos += mdie_len; in wpa_ft_gen_req_ies()
531 if (mdie == NULL || parse.mdie_len < sizeof(*mdie) || in wpa_ft_process_response()
873 if (mdie == NULL || parse.mdie_len < sizeof(*mdie) || in wpa_ft_validate_reassoc_resp()
[all …]
Dwpa_ie.h29 size_t mdie_len; member
Dwpa_ie.c520 ie->mdie_len = pos[1] + 2; in wpa_supplicant_parse_ies()
522 ie->mdie, ie->mdie_len); in wpa_supplicant_parse_ies()
Dwpa.c1199 if (ie->mdie == NULL || ie->mdie_len < 2 + sizeof(*mdie) || in ft_validate_mdie()
3801 sm->fils_ft_ies = wpabuf_alloc(2 + elems.mdie_len + in fils_process_auth()
3806 2 + elems.mdie_len); in fils_process_auth()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa_ft.c115 if (ft.mdie_len < MOBILITY_DOMAIN_ID_LEN + 1) in wpa_sm_set_ft_params()
147 sm->assoc_resp_ies = os_malloc(ft.mdie_len + 2 + ft.ftie_len + 2); in wpa_sm_set_ft_params()
151 os_memcpy(pos, ft.mdie - 2, ft.mdie_len + 2); in wpa_sm_set_ft_params()
152 pos += ft.mdie_len + 2; in wpa_sm_set_ft_params()
196 int mdie_len; in wpa_ft_gen_req_ies() local
309 mdie_len = wpa_ft_add_mdie(sm, pos, buf_len - (pos - buf), ap_mdie); in wpa_ft_gen_req_ies()
310 if (mdie_len <= 0) { in wpa_ft_gen_req_ies()
315 pos += mdie_len; in wpa_ft_gen_req_ies()
583 if (mdie == NULL || parse.mdie_len < sizeof(*mdie) || in wpa_ft_process_response()
1009 if (mdie == NULL || parse.mdie_len < sizeof(*mdie) || in wpa_ft_validate_reassoc_resp()
[all …]
Dwpa.c1430 if (ie->mdie == NULL || ie->mdie_len < 2 + sizeof(*mdie) || in ft_validate_mdie()
4350 sm->fils_ft_ies = wpabuf_alloc(2 + elems.mdie_len + in fils_process_auth()
4355 2 + elems.mdie_len); in fils_process_auth()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ie.h28 size_t mdie_len; member
Dwpa_auth_ie.c535 const u8 *mdie, size_t mdie_len, in wpa_validate_wpa_ie() argument
814 if (mdie == NULL || mdie_len < MOBILITY_DOMAIN_ID_LEN + 1) { in wpa_validate_wpa_ie()
1102 ie->mdie_len = pos[1] + 2; in wpa_parse_kde_ies()
Dwpa_auth_ft.c2422 size_t mdie_len, ftie_len, rsnie_len = 0, r0kh_id_len, subelem_len = 0; in wpa_sm_write_assoc_resp_ies() local
2475 mdie_len = res; in wpa_sm_write_assoc_resp_ies()
2596 mdie, mdie_len, ftie, ftie_len, in wpa_sm_write_assoc_resp_ies()
2897 if (mdie == NULL || parse.mdie_len < sizeof(*mdie) || in wpa_ft_process_auth_req()
3157 if (mdie == NULL || parse.mdie_len < sizeof(*mdie) || in wpa_ft_validate_reassoc()
3271 parse.mdie - 2, parse.mdie_len + 2, in wpa_ft_validate_reassoc()
3288 parse.mdie - 2, parse.mdie_len + 2); in wpa_ft_validate_reassoc()
Dwpa_auth.h323 const u8 *mdie, size_t mdie_len,
Ddrv_callbacks.c324 elems.mdie, elems.mdie_len, in hostapd_notif_assoc()
Dieee802_11.c1557 elems.mdie, elems.mdie_len, NULL, 0); in handle_auth_fils()
3076 elems.mdie, elems.mdie_len, in check_assoc_ies()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dwpa_common.h415 const u8 *mdie, size_t mdie_len,
492 size_t mdie_len; member
575 size_t mdie_len; member
Dieee802_11_common.h141 u8 mdie_len; member
Dwpa_common.c821 const u8 *mdie, size_t mdie_len, in wpa_ft_mic() argument
867 len[num_elem] = mdie_len; in wpa_ft_mic()
1059 parse->mdie_len = len; in wpa_ft_parse_ies()
3181 ie->mdie_len = pos[1] + 2; in wpa_parse_kde_ies()
3183 ie->mdie, ie->mdie_len); in wpa_parse_kde_ies()
Dieee802_11_common.c445 elems->mdie_len = elen; in ieee802_11_parse_elems()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.h372 const u8 *mdie, size_t mdie_len,
446 size_t mdie_len; member
Dieee802_11_common.h109 u8 mdie_len; member
Dwpa_common.c756 const u8 *mdie, size_t mdie_len, in wpa_ft_mic() argument
800 len[num_elem] = mdie_len; in wpa_ft_mic()
976 parse->mdie_len = len; in wpa_ft_parse_ies()
Dieee802_11_common.c382 elems->mdie_len = elen; in ieee802_11_parse_elems()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_ie.c590 const u8 *mdie, size_t mdie_len, in wpa_validate_wpa_ie() argument
876 if (mdie == NULL || mdie_len < MOBILITY_DOMAIN_ID_LEN + 1) { in wpa_validate_wpa_ie()
Dwpa_auth_ft.c2512 size_t mdie_len, ftie_len, rsnie_len = 0, r0kh_id_len, subelem_len = 0; in wpa_sm_write_assoc_resp_ies() local
2594 mdie_len = res; in wpa_sm_write_assoc_resp_ies()
2775 mdie, mdie_len, ftie, ftie_len, in wpa_sm_write_assoc_resp_ies()
3088 if (mdie == NULL || parse.mdie_len < sizeof(*mdie) || in wpa_ft_process_auth_req()
3357 if (mdie == NULL || parse.mdie_len < sizeof(*mdie) || in wpa_ft_validate_reassoc()
3474 parse.mdie - 2, parse.mdie_len + 2, in wpa_ft_validate_reassoc()
3493 parse.mdie - 2, parse.mdie_len + 2); in wpa_ft_validate_reassoc()
Dwpa_auth.h372 const u8 *mdie, size_t mdie_len,
Ddrv_callbacks.c364 elems.mdie, elems.mdie_len, in hostapd_notif_assoc()
Dieee802_11.c1900 elems.mdie, elems.mdie_len, NULL, 0); in handle_auth_fils()
4639 elems.mdie, elems.mdie_len, in check_assoc_ies()