2 * hostapd - 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.
12 struct wpa_eapol_ie_parse {
22 #ifdef CONFIG_IEEE80211W
25 #endif /* CONFIG_IEEE80211W */
26 #ifdef CONFIG_IEEE80211R_AP
31 #endif /* CONFIG_IEEE80211R_AP */
33 const u8 *ip_addr_req;
34 const u8 *ip_addr_alloc;
35 #endif /* CONFIG_P2P */
39 #endif /* CONFIG_OCV */
45 int wpa_parse_kde_ies(const u8 *buf, size_t len,
46 struct wpa_eapol_ie_parse *ie);
47 u8 * wpa_add_kde(u8 *pos, u32 kde, const u8 *data, size_t data_len,
48 const u8 *data2, size_t data2_len);
49 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth);
51 #endif /* WPA_AUTH_IE_H */