wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Functions
wpa_auth_ie.c File Reference

hostapd - WPA/RSN IE and KDE definitions More...

#include "utils/includes.h"
#include "utils/common.h"
#include "common/ieee802_11_defs.h"
#include "eapol_auth/eapol_auth_sm.h"
#include "ap_config.h"
#include "ieee802_11.h"
#include "wpa_auth.h"
#include "pmksa_cache_auth.h"
#include "wpa_auth_ie.h"
#include "wpa_auth_i.h"

Data Structures

struct  wpa_auth_okc_iter_data
 

Functions

int wpa_write_rsn_ie (struct wpa_auth_config *conf, u8 *buf, size_t len, const u8 *pmkid)
 
int wpa_auth_gen_wpa_ie (struct wpa_authenticator *wpa_auth)
 
u8 * wpa_add_kde (u8 *pos, u32 kde, const u8 *data, size_t data_len, const u8 *data2, size_t data2_len)
 
int wpa_validate_wpa_ie (struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *mdie, size_t mdie_len)
 
int wpa_parse_kde_ies (const u8 *buf, size_t len, struct wpa_eapol_ie_parse *ie)
 Parse EAPOL-Key Key Data IEs. More...
 
int wpa_auth_uses_mfp (struct wpa_state_machine *sm)
 

Detailed Description

hostapd - WPA/RSN IE and KDE definitions

Function Documentation

int wpa_parse_kde_ies ( const u8 *  buf,
size_t  len,
struct wpa_eapol_ie_parse ie 
)

Parse EAPOL-Key Key Data IEs.

Parameters
bufPointer to the Key Data buffer
lenKey Data Length
iePointer to parsed IE data
Returns
0 on success, -1 on failure