]>
git.ipfire.org Git - thirdparty/hostap.git/blob - src/rsn_supp/wpa_ie.h
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
{
33 #endif /* CONFIG_PEERKEY */
34 #ifdef CONFIG_IEEE80211W
37 #endif /* CONFIG_IEEE80211W */
42 const u8
*reassoc_deadline
;
43 const u8
*key_lifetime
;
49 size_t supp_rates_len
;
50 const u8
*ext_supp_rates
;
51 size_t ext_supp_rates_len
;
52 const u8
*ht_capabilities
;
53 size_t ht_capabilities_len
;
54 const u8
*vht_capabilities
;
55 size_t vht_capabilities_len
;
56 const u8
*supp_channels
;
57 size_t supp_channels_len
;
58 const u8
*supp_oper_classes
;
59 size_t supp_oper_classes_len
;
63 const u8
*ip_addr_req
;
64 const u8
*ip_addr_alloc
;
65 #endif /* CONFIG_P2P */
68 int wpa_supplicant_parse_ies(const u8
*buf
, size_t len
,
69 struct wpa_eapol_ie_parse
*ie
);
70 int wpa_gen_wpa_ie(struct wpa_sm
*sm
, u8
*wpa_ie
, size_t wpa_ie_len
);