Home | History | Annotate | Download | only in rsn_supp

Lines Matching defs:ftie

126 	struct rsn_ftie *ftie;
228 /* FTIE[SNonce, R0KH-ID] */
232 ftie = (struct rsn_ftie *) pos;
233 pos += sizeof(*ftie);
234 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN);
236 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN);
253 * FTIE (with MIC field set to 0)
256 ftie->mic_control[1] = 3; /* Information element count */
261 ftie->mic) < 0) {
277 const u8 *ftie;
299 parse->ftie = ie;
310 "length in FTIE: %d", pos[1]);
322 "length in FTIE: %d", pos[1]);
461 struct rsn_ftie *ftie;
503 ftie = (struct rsn_ftie *) parse.ftie;
504 if (ftie == NULL || parse.ftie_len < sizeof(*ftie)) {
505 wpa_printf(MSG_DEBUG, "FT: Invalid FTIE");
510 wpa_printf(MSG_DEBUG, "FT: No R0KH-ID subelem in FTIE");
516 wpa_printf(MSG_DEBUG, "FT: R0KH-ID in FTIE did not match with "
518 wpa_hexdump(MSG_DEBUG, "FT: R0KH-ID in FTIE",
526 wpa_printf(MSG_DEBUG, "FT: No R1KH-ID subelem in FTIE");
540 wpa_hexdump(MSG_DEBUG, "FT: ANonce", ftie->anonce, WPA_NONCE_LEN);
549 wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, ftie->anonce, sm->own_addr,
556 ft_ies = wpa_ft_gen_req_ies(sm, &ft_ies_len, ftie->anonce,
602 wpa_printf(MSG_DEBUG, "FT: No GTK included in FTIE");
650 wpa_printf(MSG_DEBUG, "FT: Too short GTK in FTIE");
689 wpa_printf(MSG_DEBUG, "FT: No IGTK included in FTIE");
737 struct rsn_ftie *ftie;
763 ftie = (struct rsn_ftie *) parse.ftie;
764 if (ftie == NULL || parse.ftie_len < sizeof(*ftie)) {
765 wpa_printf(MSG_DEBUG, "FT: Invalid FTIE");
770 wpa_printf(MSG_DEBUG, "FT: No R0KH-ID subelem in FTIE");
776 wpa_printf(MSG_DEBUG, "FT: R0KH-ID in FTIE did not match with "
778 wpa_hexdump(MSG_DEBUG, "FT: R0KH-ID in FTIE",
786 wpa_printf(MSG_DEBUG, "FT: No R1KH-ID subelem in FTIE");
807 if (ftie->mic_control[1] != count) {
808 wpa_printf(MSG_DEBUG, "FT: Unexpected IE count in FTIE (%d)",
809 ftie->mic_control[1]);
815 parse.ftie - 2, parse.ftie_len + 2,
822 if (os_memcmp(mic, ftie->mic, 16) != 0) {
823 wpa_printf(MSG_DEBUG, "FT: Invalid MIC in FTIE");
824 wpa_hexdump(MSG_MSGDUMP, "FT: Received MIC", ftie->mic, 16);