Deleted Added
full compact
wpa_common.h (189261) wpa_common.h (214734)
1/*
2 * WPA definitions shared between hostapd and wpa_supplicant
3 * Copyright (c) 2002-2008, Jouni Malinen <j@w1.fi>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *

--- 268 unchanged lines hidden (view full) ---

277 /* followed by optional parameters */
278} STRUCT_PACKED;
279
280#define FTIE_SUBELEM_R1KH_ID 1
281#define FTIE_SUBELEM_GTK 2
282#define FTIE_SUBELEM_R0KH_ID 3
283#define FTIE_SUBELEM_IGTK 4
284
1/*
2 * WPA definitions shared between hostapd and wpa_supplicant
3 * Copyright (c) 2002-2008, Jouni Malinen <j@w1.fi>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *

--- 268 unchanged lines hidden (view full) ---

277 /* followed by optional parameters */
278} STRUCT_PACKED;
279
280#define FTIE_SUBELEM_R1KH_ID 1
281#define FTIE_SUBELEM_GTK 2
282#define FTIE_SUBELEM_R0KH_ID 3
283#define FTIE_SUBELEM_IGTK 4
284
285struct rsn_rdie {
286 u8 id;
287 u8 descr_count;
288 le16 status_code;
289} STRUCT_PACKED;
290
285#endif /* CONFIG_IEEE80211R */
286
287#ifdef _MSC_VER
288#pragma pack(pop)
289#endif /* _MSC_VER */
290
291
292int wpa_eapol_key_mic(const u8 *key, int ver, const u8 *buf, size_t len,

--- 34 unchanged lines hidden (view full) ---

327 const u8 *pmkid;
328 int mgmt_group_cipher;
329};
330
331
332int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len,
333 struct wpa_ie_data *data);
334
291#endif /* CONFIG_IEEE80211R */
292
293#ifdef _MSC_VER
294#pragma pack(pop)
295#endif /* _MSC_VER */
296
297
298int wpa_eapol_key_mic(const u8 *key, int ver, const u8 *buf, size_t len,

--- 34 unchanged lines hidden (view full) ---

333 const u8 *pmkid;
334 int mgmt_group_cipher;
335};
336
337
338int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len,
339 struct wpa_ie_data *data);
340
341void rsn_pmkid(const u8 *pmk, size_t pmk_len, const u8 *aa, const u8 *spa,
342 u8 *pmkid, int use_sha256);
343
344const char * wpa_cipher_txt(int cipher);
345const char * wpa_key_mgmt_txt(int key_mgmt, int proto);
346int wpa_compare_rsn_ie(int ft_initial_assoc,
347 const u8 *ie1, size_t ie1len,
348 const u8 *ie2, size_t ie2len);
349int wpa_insert_pmkid(u8 *ies, size_t ies_len, const u8 *pmkid);
350
335#endif /* WPA_COMMON_H */
351#endif /* WPA_COMMON_H */