|
wpa_supplicant / hostapd
2.5
|
wpa_supplicant - WPA/RSN IE and KDE processing More...
#include "includes.h"#include "common.h"#include "wpa.h"#include "pmksa_cache.h"#include "common/ieee802_11_defs.h"#include "wpa_i.h"#include "wpa_ie.h"Functions | |
| int | wpa_parse_wpa_ie (const u8 *wpa_ie, size_t wpa_ie_len, struct wpa_ie_data *data) |
| Parse WPA/RSN IE. More... | |
| int | wpa_gen_wpa_ie (struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) |
| Generate WPA/RSN IE based on current security policy. More... | |
| int | wpa_supplicant_parse_ies (const u8 *buf, size_t len, struct wpa_eapol_ie_parse *ie) |
| Parse EAPOL-Key Key Data IEs. More... | |
wpa_supplicant - WPA/RSN IE and KDE processing
| int wpa_gen_wpa_ie | ( | struct wpa_sm * | sm, |
| u8 * | wpa_ie, | ||
| size_t | wpa_ie_len | ||
| ) |
Generate WPA/RSN IE based on current security policy.
| sm | Pointer to WPA state machine data from wpa_sm_init() |
| wpa_ie | Pointer to memory area for the generated WPA/RSN IE |
| wpa_ie_len | Maximum length of the generated WPA/RSN IE |
| int wpa_parse_wpa_ie | ( | const u8 * | wpa_ie, |
| size_t | wpa_ie_len, | ||
| struct wpa_ie_data * | data | ||
| ) |
Parse WPA/RSN IE.
| wpa_ie | Pointer to WPA or RSN IE |
| wpa_ie_len | Length of the WPA/RSN IE |
| data | Pointer to data area for parsing results |
Parse the contents of WPA or RSN IE and write the parsed data into data.
| int wpa_supplicant_parse_ies | ( | const u8 * | buf, |
| size_t | len, | ||
| struct wpa_eapol_ie_parse * | ie | ||
| ) |
Parse EAPOL-Key Key Data IEs.
| buf | Pointer to the Key Data buffer |
| len | Key Data Length |
| ie | Pointer to parsed IE data |
1.8.6