/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa_ft.c | 68 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 …]
|
D | wpa.h | 352 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
|
D | wpa_ie.h | 38 const u8 *mdie; member
|
D | wpa.c | 945 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()
|
D | wpa_ie.c | 516 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/ |
D | wpa_auth_ft.c | 639 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 …]
|
D | wpa_auth_ie.h | 37 const u8 *mdie; member
|
D | wpa_auth_ie.c | 477 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()
|
D | wpa_auth.c | 748 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()
|
D | wpa_auth.h | 253 const u8 *mdie, size_t mdie_len);
|
D | drv_callbacks.c | 227 elems.mdie, elems.mdie_len); in hostapd_notif_assoc()
|
D | ieee802_11.c | 1586 elems.mdie, elems.mdie_len); in check_assoc_ies()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.h | 347 const u8 *mdie, size_t mdie_len, 415 const u8 *mdie; member
|
D | wpa_common.c | 211 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()
|
D | ieee802_11_common.h | 38 const u8 *mdie; member
|
D | ieee802_11_common.c | 273 elems->mdie = pos; in ieee802_11_parse_elems()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | sme.c | 368 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()
|
D | ctrl_iface.c | 891 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()
|