]> git.ipfire.org Git - thirdparty/hostap.git/blob - src/rsn_supp/wpa_ie.h
Remove CONFIG_IEEE80211W build parameter
[thirdparty/hostap.git] / src / rsn_supp / wpa_ie.h
1 /*
2 * wpa_supplicant - WPA/RSN IE and KDE definitions
3 * Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi>
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8
9 #ifndef WPA_IE_H
10 #define WPA_IE_H
11
12 struct wpa_sm;
13
14 struct wpa_eapol_ie_parse {
15 const u8 *wpa_ie;
16 size_t wpa_ie_len;
17 const u8 *rsn_ie;
18 size_t rsn_ie_len;
19 const u8 *pmkid;
20 const u8 *gtk;
21 size_t gtk_len;
22 const u8 *mac_addr;
23 size_t mac_addr_len;
24 const u8 *igtk;
25 size_t igtk_len;
26 const u8 *mdie;
27 size_t mdie_len;
28 const u8 *ftie;
29 size_t ftie_len;
30 const u8 *reassoc_deadline;
31 const u8 *key_lifetime;
32 const u8 *lnkid;
33 size_t lnkid_len;
34 const u8 *ext_capab;
35 size_t ext_capab_len;
36 const u8 *supp_rates;
37 size_t supp_rates_len;
38 const u8 *ext_supp_rates;
39 size_t ext_supp_rates_len;
40 const u8 *ht_capabilities;
41 const u8 *vht_capabilities;
42 const u8 *supp_channels;
43 size_t supp_channels_len;
44 const u8 *supp_oper_classes;
45 size_t supp_oper_classes_len;
46 u8 qosinfo;
47 u16 aid;
48 const u8 *wmm;
49 size_t wmm_len;
50 #ifdef CONFIG_P2P
51 const u8 *ip_addr_req;
52 const u8 *ip_addr_alloc;
53 #endif /* CONFIG_P2P */
54 #ifdef CONFIG_OCV
55 const u8 *oci;
56 size_t oci_len;
57 #endif /* CONFIG_OCV */
58 };
59
60 int wpa_supplicant_parse_ies(const u8 *buf, size_t len,
61 struct wpa_eapol_ie_parse *ie);
62 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
63
64 #endif /* WPA_IE_H */