Home
last modified time | relevance | path

Searched refs:mdie (Results 1 – 18 of 18) sorted by relevance

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c68 if (ft.mdie && ft.mdie_len < MOBILITY_DOMAIN_ID_LEN + 1) in wpa_sm_set_ft_params()
71 if (ft.mdie) { in wpa_sm_set_ft_params()
73 ft.mdie, MOBILITY_DOMAIN_ID_LEN); in wpa_sm_set_ft_params()
74 os_memcpy(sm->mobility_domain, ft.mdie, in wpa_sm_set_ft_params()
76 sm->mdie_ft_capab = ft.mdie[MOBILITY_DOMAIN_ID_LEN]; in wpa_sm_set_ft_params()
107 if (ft.mdie) { in wpa_sm_set_ft_params()
108 os_memcpy(pos, ft.mdie - 2, ft.mdie_len + 2); in wpa_sm_set_ft_params()
150 struct rsn_mdie *mdie; in wpa_ft_gen_req_ies() local
244 *pos++ = sizeof(*mdie); in wpa_ft_gen_req_ies()
245 mdie = (struct rsn_mdie *) pos; in wpa_ft_gen_req_ies()
[all …]
Dwpa.h352 int wpa_ft_prepare_auth_request(struct wpa_sm *sm, const u8 *mdie);
361 const u8 *mdie);
372 const u8 *mdie) in wpa_ft_prepare_auth_request() argument
Dwpa_ie.h38 const u8 *mdie; member
Dwpa.c945 struct rsn_mdie *mdie; in ft_validate_mdie() local
947 mdie = (struct rsn_mdie *) (ie->mdie + 2); in ft_validate_mdie()
948 if (ie->mdie == NULL || ie->mdie_len < 2 + sizeof(*mdie) || in ft_validate_mdie()
949 os_memcmp(mdie->mobility_domain, sm->mobility_domain, in ft_validate_mdie()
957 (assoc_resp_mdie[1] != ie->mdie[1] || in ft_validate_mdie()
958 os_memcmp(assoc_resp_mdie, ie->mdie, 2 + ie->mdie[1]) != 0)) { in ft_validate_mdie()
961 ie->mdie, 2 + ie->mdie[1]); in ft_validate_mdie()
1039 const u8 *pos, *end, *mdie = NULL, *ftie = NULL; in wpa_supplicant_validate_ie_ft() local
1049 mdie = pos; in wpa_supplicant_validate_ie_ft()
1059 if (ft_validate_mdie(sm, src_addr, ie, mdie) < 0 || in wpa_supplicant_validate_ie_ft()
Dwpa_ie.c516 ie->mdie = pos; in wpa_supplicant_parse_ies()
519 ie->mdie, ie->mdie_len); in wpa_supplicant_parse_ies()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c639 u8 *end, *mdie, *ftie, *rsnie = NULL, *r0kh_id, *subelem = NULL; in wpa_sm_write_assoc_resp_ies() local
675 mdie = pos; in wpa_sm_write_assoc_resp_ies()
742 mdie, mdie_len, ftie, ftie_len, in wpa_sm_write_assoc_resp_ies()
802 struct rsn_mdie *mdie; in wpa_ft_process_auth_req() local
827 mdie = (struct rsn_mdie *) parse.mdie; in wpa_ft_process_auth_req()
828 if (mdie == NULL || parse.mdie_len < sizeof(*mdie) || in wpa_ft_process_auth_req()
829 os_memcmp(mdie->mobility_domain, in wpa_ft_process_auth_req()
990 struct rsn_mdie *mdie; in wpa_ft_validate_reassoc() local
1023 mdie = (struct rsn_mdie *) parse.mdie; in wpa_ft_validate_reassoc()
1024 if (mdie == NULL || parse.mdie_len < sizeof(*mdie) || in wpa_ft_validate_reassoc()
[all …]
Dwpa_auth_ie.h37 const u8 *mdie; member
Dwpa_auth_ie.c477 const u8 *mdie, size_t mdie_len) in wpa_validate_wpa_ie() argument
660 if (mdie == NULL || mdie_len < MOBILITY_DOMAIN_ID_LEN + 1) { in wpa_validate_wpa_ie()
665 if (os_memcmp(mdie, wpa_auth->conf.mobility_domain, in wpa_validate_wpa_ie()
668 "MDIE", mdie, MOBILITY_DOMAIN_ID_LEN); in wpa_validate_wpa_ie()
913 ie->mdie = pos; in wpa_parse_kde_ies()
Dwpa_auth.c748 struct rsn_mdie *mdie; in ft_check_msg_2_of_4() local
761 if (!kde->mdie || !kde->ftie) { in ft_check_msg_2_of_4()
763 "message 2/4", kde->mdie ? "FTIE" : "MDIE"); in ft_check_msg_2_of_4()
767 mdie = (struct rsn_mdie *) (kde->mdie + 2); in ft_check_msg_2_of_4()
768 if (kde->mdie[1] < sizeof(struct rsn_mdie) || in ft_check_msg_2_of_4()
769 os_memcmp(wpa_auth->conf.mobility_domain, mdie->mobility_domain, in ft_check_msg_2_of_4()
Dwpa_auth.h253 const u8 *mdie, size_t mdie_len);
Ddrv_callbacks.c227 elems.mdie, elems.mdie_len); in hostapd_notif_assoc()
Dieee802_11.c1586 elems.mdie, elems.mdie_len); in check_assoc_ies()
/external/wpa_supplicant_8/src/common/
Dwpa_common.h347 const u8 *mdie, size_t mdie_len,
415 const u8 *mdie; member
Dwpa_common.c211 const u8 *mdie, size_t mdie_len, in wpa_ft_mic() argument
244 if (mdie) { in wpa_ft_mic()
245 addr[num_elem] = mdie; in wpa_ft_mic()
383 parse->mdie = pos; in wpa_ft_parse_ies()
418 if (parse->mdie) in wpa_ft_parse_ies()
Dieee802_11_common.h38 const u8 *mdie; member
Dieee802_11_common.c273 elems->mdie = pos; in ieee802_11_parse_elems()
/external/wpa_supplicant_8/wpa_supplicant/
Dsme.c368 struct rsn_mdie *mdie; in sme_send_authentication() local
372 *pos++ = sizeof(*mdie); in sme_send_authentication()
373 mdie = (struct rsn_mdie *) pos; in sme_send_authentication()
374 os_memcpy(mdie->mobility_domain, md, in sme_send_authentication()
376 mdie->ft_capab = md[MOBILITY_DOMAIN_ID_LEN]; in sme_send_authentication()
Dctrl_iface.c891 const u8 *mdie; in wpa_supplicant_ctrl_iface_ft_ds() local
903 mdie = wpa_bss_get_ie(bss, WLAN_EID_MOBILITY_DOMAIN); in wpa_supplicant_ctrl_iface_ft_ds()
905 mdie = NULL; in wpa_supplicant_ctrl_iface_ft_ds()
907 return wpa_ft_start_over_ds(wpa_s->wpa, target_ap, mdie); in wpa_supplicant_ctrl_iface_ft_ds()