2 * wpa_supplicant - WPA/RSN IE and KDE definitions
3 * Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi>
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
14 struct wpa_eapol_ie_parse {
24 #ifdef CONFIG_IEEE80211W
27 #endif /* CONFIG_IEEE80211W */
32 const u8 *reassoc_deadline;
33 const u8 *key_lifetime;
39 size_t supp_rates_len;
40 const u8 *ext_supp_rates;
41 size_t ext_supp_rates_len;
42 const u8 *ht_capabilities;
43 const u8 *vht_capabilities;
44 const u8 *supp_channels;
45 size_t supp_channels_len;
46 const u8 *supp_oper_classes;
47 size_t supp_oper_classes_len;
53 const u8 *ip_addr_req;
54 const u8 *ip_addr_alloc;
55 #endif /* CONFIG_P2P */
59 #endif /* CONFIG_OCV */
62 int wpa_supplicant_parse_ies(const u8 *buf, size_t len,
63 struct wpa_eapol_ie_parse *ie);
64 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);