Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c79 if (ft.mdie && ft.mdie_len < MOBILITY_DOMAIN_ID_LEN + 1) in wpa_sm_set_ft_params()
82 if (ft.mdie) { in wpa_sm_set_ft_params()
84 ft.mdie, MOBILITY_DOMAIN_ID_LEN); in wpa_sm_set_ft_params()
85 os_memcpy(sm->mobility_domain, ft.mdie, in wpa_sm_set_ft_params()
87 sm->mdie_ft_capab = ft.mdie[MOBILITY_DOMAIN_ID_LEN]; in wpa_sm_set_ft_params()
118 if (ft.mdie) { in wpa_sm_set_ft_params()
119 os_memcpy(pos, ft.mdie - 2, ft.mdie_len + 2); in wpa_sm_set_ft_params()
161 struct rsn_mdie *mdie; in wpa_ft_gen_req_ies() local
290 mdie = (struct rsn_mdie *) (pos + 2); in wpa_ft_gen_req_ies()
373 ((u8 *) mdie) - 2, 2 + sizeof(*mdie), in wpa_ft_gen_req_ies()
[all …]
Dwpa.h364 int wpa_ft_prepare_auth_request(struct wpa_sm *sm, const u8 *mdie);
366 const u8 *mdie);
376 const u8 *mdie);
387 const u8 *mdie) in wpa_ft_prepare_auth_request() argument
393 const u8 *mdie) in wpa_ft_add_mdie() argument
Dwpa.c1170 struct rsn_mdie *mdie; in ft_validate_mdie() local
1172 mdie = (struct rsn_mdie *) (ie->mdie + 2); in ft_validate_mdie()
1173 if (ie->mdie == NULL || ie->mdie_len < 2 + sizeof(*mdie) || in ft_validate_mdie()
1174 os_memcmp(mdie->mobility_domain, sm->mobility_domain, in ft_validate_mdie()
1182 (assoc_resp_mdie[1] != ie->mdie[1] || in ft_validate_mdie()
1183 os_memcmp(assoc_resp_mdie, ie->mdie, 2 + ie->mdie[1]) != 0)) { in ft_validate_mdie()
1186 ie->mdie, 2 + ie->mdie[1]); in ft_validate_mdie()
1264 const u8 *pos, *end, *mdie = NULL, *ftie = NULL; in wpa_supplicant_validate_ie_ft() local
1274 mdie = pos; in wpa_supplicant_validate_ie_ft()
1284 if (ft_validate_mdie(sm, src_addr, ie, mdie) < 0 || in wpa_supplicant_validate_ie_ft()
[all …]
Dwpa_ie.h28 const u8 *mdie; member
Dwpa_ie.c519 ie->mdie = pos; in wpa_supplicant_parse_ies()
522 ie->mdie, ie->mdie_len); in wpa_supplicant_parse_ies()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ie.c535 const u8 *mdie, size_t mdie_len, in wpa_validate_wpa_ie() argument
568 if (wpa_key_mgmt_ft(data.key_mgmt) && !mdie && in wpa_validate_wpa_ie()
814 if (mdie == NULL || mdie_len < MOBILITY_DOMAIN_ID_LEN + 1) { in wpa_validate_wpa_ie()
819 if (os_memcmp(mdie, wpa_auth->conf.mobility_domain, in wpa_validate_wpa_ie()
822 "MDIE", mdie, MOBILITY_DOMAIN_ID_LEN); in wpa_validate_wpa_ie()
825 } else if (mdie != NULL) { in wpa_validate_wpa_ie()
1101 ie->mdie = pos; in wpa_parse_kde_ies()
Dwpa_auth_ie.h27 const u8 *mdie; member
Dwpa_auth_ft.c2411 u8 *end, *mdie, *ftie, *rsnie = NULL, *r0kh_id, *subelem = NULL; in wpa_sm_write_assoc_resp_ies() local
2465 mdie = pos; in wpa_sm_write_assoc_resp_ies()
2587 mdie, mdie_len, ftie, ftie_len, in wpa_sm_write_assoc_resp_ies()
2856 struct rsn_mdie *mdie; in wpa_ft_process_auth_req() local
2887 mdie = (struct rsn_mdie *) parse.mdie; in wpa_ft_process_auth_req()
2888 if (mdie == NULL || parse.mdie_len < sizeof(*mdie) || in wpa_ft_process_auth_req()
2889 os_memcmp(mdie->mobility_domain, in wpa_ft_process_auth_req()
3105 struct rsn_mdie *mdie; in wpa_ft_validate_reassoc() local
3144 mdie = (struct rsn_mdie *) parse.mdie; in wpa_ft_validate_reassoc()
3145 if (mdie == NULL || parse.mdie_len < sizeof(*mdie) || in wpa_ft_validate_reassoc()
[all …]
Dwpa_auth.c784 struct rsn_mdie *mdie; in ft_check_msg_2_of_4() local
797 if (!kde->mdie || !kde->ftie) { in ft_check_msg_2_of_4()
799 "message 2/4", kde->mdie ? "FTIE" : "MDIE"); in ft_check_msg_2_of_4()
803 mdie = (struct rsn_mdie *) (kde->mdie + 2); in ft_check_msg_2_of_4()
804 if (kde->mdie[1] < sizeof(struct rsn_mdie) || in ft_check_msg_2_of_4()
805 os_memcmp(wpa_auth->conf.mobility_domain, mdie->mobility_domain, in ft_check_msg_2_of_4()
Dwpa_auth.h323 const u8 *mdie, size_t mdie_len,
Ddrv_callbacks.c311 elems.mdie, elems.mdie_len, in hostapd_notif_assoc()
Dieee802_11.c1554 elems.mdie, elems.mdie_len, NULL, 0); in handle_auth_fils()
2946 elems.mdie, elems.mdie_len, in check_assoc_ies()
/external/wpa_supplicant_8/src/common/
Dwpa_common.h372 const u8 *mdie, size_t mdie_len,
445 const u8 *mdie; member
Dwpa_common.c756 const u8 *mdie, size_t mdie_len, in wpa_ft_mic() argument
798 if (mdie) { in wpa_ft_mic()
799 addr[num_elem] = mdie; in wpa_ft_mic()
975 parse->mdie = pos; in wpa_ft_parse_ies()
1045 if (parse->mdie) in wpa_ft_parse_ies()
Dieee802_11_common.h47 const u8 *mdie; member
Dieee802_11_common.c377 elems->mdie = pos; in ieee802_11_parse_elems()
/external/wpa_supplicant_8/wpa_supplicant/
Dsme.c471 struct rsn_mdie *mdie; in sme_send_authentication() local
475 *pos++ = sizeof(*mdie); in sme_send_authentication()
476 mdie = (struct rsn_mdie *) pos; in sme_send_authentication()
477 os_memcpy(mdie->mobility_domain, md, in sme_send_authentication()
479 mdie->ft_capab = md[MOBILITY_DOMAIN_ID_LEN]; in sme_send_authentication()
Dwpa_supplicant.c2898 const u8 *mdie = wpa_bss_get_ie(bss, WLAN_EID_MOBILITY_DOMAIN); in wpas_populate_assoc_ies() local
2900 if (mdie && mdie[1] >= MOBILITY_DOMAIN_ID_LEN) { in wpas_populate_assoc_ies()
2902 const u8 *md = mdie + 2; in wpas_populate_assoc_ies()
2910 max_wpa_ie_len - wpa_ie_len, mdie); in wpas_populate_assoc_ies()
Dctrl_iface.c1139 const u8 *mdie; in wpa_supplicant_ctrl_iface_ft_ds() local
1151 mdie = wpa_bss_get_ie(bss, WLAN_EID_MOBILITY_DOMAIN); in wpa_supplicant_ctrl_iface_ft_ds()
1153 mdie = NULL; in wpa_supplicant_ctrl_iface_ft_ds()
1155 return wpa_ft_start_over_ds(wpa_s->wpa, target_ap, mdie); in wpa_supplicant_ctrl_iface_ft_ds()