Lines Matching defs:mdie
29 const u8 *mdie;
105 if (ft.mdie && ft.mdie_len < MOBILITY_DOMAIN_ID_LEN + 1)
108 if (ft.mdie) {
110 ft.mdie, MOBILITY_DOMAIN_ID_LEN);
111 os_memcpy(sm->mobility_domain, ft.mdie,
113 sm->mdie_ft_capab = ft.mdie[MOBILITY_DOMAIN_ID_LEN];
144 if (ft.mdie) {
145 os_memcpy(pos, ft.mdie - 2, ft.mdie_len + 2);
153 wpa_hexdump(MSG_DEBUG, "FT: Stored MDIE and FTIE from "
185 struct rsn_mdie *mdie;
279 /* MDIE */
281 *pos++ = sizeof(*mdie);
282 mdie = (struct rsn_mdie *) pos;
283 pos += sizeof(*mdie);
284 os_memcpy(mdie->mobility_domain, sm->mobility_domain,
286 mdie->ft_capab = ap_mdie && ap_mdie[1] >= 3 ? ap_mdie[4] :
326 * MDIE
334 ((u8 *) mdie) - 2, 2 + sizeof(*mdie),
431 parse->mdie = pos + 2;
463 if (parse->mdie)
535 * @mdie: Target AP MDIE
538 int wpa_ft_prepare_auth_request(struct wpa_sm *sm, const u8 *mdie)
550 NULL, sm->bssid, NULL, 0, mdie);
568 struct rsn_mdie *mdie;
604 mdie = (struct rsn_mdie *) parse.mdie;
605 if (mdie == NULL || parse.mdie_len < sizeof(*mdie) ||
606 os_memcmp(mdie->mobility_domain, sm->mobility_domain,
608 wpa_printf(MSG_DEBUG, "FT: Invalid MDIE");
678 parse.mdie ? parse.mdie - 2 : NULL);
867 struct rsn_mdie *mdie;
886 mdie = (struct rsn_mdie *) parse.mdie;
887 if (mdie == NULL || parse.mdie_len < sizeof(*mdie) ||
888 os_memcmp(mdie->mobility_domain, sm->mobility_domain,
890 wpa_printf(MSG_DEBUG, "FT: Invalid MDIE");
963 parse.mdie - 2, parse.mdie_len + 2,
1009 * @mdie: Mobility Domain IE from the target AP
1013 const u8 *mdie)
1028 NULL, target_ap, NULL, 0, mdie);