Home
last modified time | relevance | path

Searched refs:kde (Results 1 – 6 of 6) sorted by relevance

/hostap-3.6.0/src/rsn_supp/
Dtdls.c946 struct wpa_eapol_ie_parse kde; in wpa_tdls_recv_teardown() local
979 if (wpa_supplicant_parse_ies((const u8 *) pos, ielen, &kde) < 0) in wpa_tdls_recv_teardown()
983 if (kde.lnkid == NULL || kde.lnkid_len < 3 * ETH_ALEN) { in wpa_tdls_recv_teardown()
988 lnkid = (struct wpa_tdls_lnkid *) kde.lnkid; in wpa_tdls_recv_teardown()
993 if (kde.ftie == NULL || kde.ftie_len < sizeof(*ftie)) { in wpa_tdls_recv_teardown()
998 ftie = (struct wpa_tdls_ftie *) kde.ftie; in wpa_tdls_recv_teardown()
1532 struct wpa_eapol_ie_parse kde; in wpa_tdls_process_discovery_request() local
1557 &kde) < 0) { in wpa_tdls_process_discovery_request()
1562 if (!kde.lnkid) { in wpa_tdls_process_discovery_request()
1568 lnkid = (const struct wpa_tdls_lnkid *) kde.lnkid; in wpa_tdls_process_discovery_request()
[all …]
Dwpa.c627 struct wpa_eapol_ie_parse *kde) in wpa_handle_ext_key_id() argument
632 if (!kde->key_id) { in wpa_handle_ext_key_id()
640 key_id = kde->key_id[0] & 0x03; in wpa_handle_ext_key_id()
651 if (kde->key_id && (kde->key_id[0] & 0x03)) { in wpa_handle_ext_key_id()
657 if (kde->key_id) { in wpa_handle_ext_key_id()
680 u8 *kde, *kde_buf = NULL; in wpa_supplicant_process_1_of_4() local
750 kde = sm->assoc_wpa_ie; in wpa_supplicant_process_1_of_4()
759 os_memcpy(kde_buf, kde, kde_len); in wpa_supplicant_process_1_of_4()
760 kde = kde_buf; in wpa_supplicant_process_1_of_4()
767 pos = kde + kde_len; in wpa_supplicant_process_1_of_4()
[all …]
/hostap-3.6.0/src/ap/
Dwpa_auth.c855 struct wpa_eapol_ie_parse *kde) in ft_check_msg_2_of_4() argument
860 if (wpa_parse_wpa_ie_rsn(kde->rsn_ie, kde->rsn_ie_len, &ie) < 0 || in ft_check_msg_2_of_4()
871 if (!kde->mdie || !kde->ftie) { in ft_check_msg_2_of_4()
874 kde->mdie ? "FTIE" : "MDIE"); in ft_check_msg_2_of_4()
878 mdie = (struct rsn_mdie *) (kde->mdie + 2); in ft_check_msg_2_of_4()
879 if (kde->mdie[1] < sizeof(struct rsn_mdie) || in ft_check_msg_2_of_4()
887 (kde->ftie[1] != sm->assoc_resp_ftie[1] || in ft_check_msg_2_of_4()
888 os_memcmp(kde->ftie, sm->assoc_resp_ftie, in ft_check_msg_2_of_4()
892 kde->ftie, kde->ftie_len); in ft_check_msg_2_of_4()
1025 struct wpa_eapol_ie_parse kde; in wpa_receive() local
[all …]
Dwpa_auth_ie.h12 u8 * wpa_add_kde(u8 *pos, u32 kde, const u8 *data, size_t data_len,
Dwpa_auth_i.h286 const u8 *kde, size_t kde_len,
Dwpa_auth_ie.c549 u8 * wpa_add_kde(u8 *pos, u32 kde, const u8 *data, size_t data_len, in wpa_add_kde() argument
554 RSN_SELECTOR_PUT(pos, kde); in wpa_add_kde()