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

IEEE 802.1X-2004 Authenticator - EAPOL state machine. More...

Go to the source code of this file.

Data Structures

struct  eapol_auth_config
 
struct  eapol_auth_cb
 

Macros

#define EAPOL_SM_PREAUTH   BIT(0)
 
#define EAPOL_SM_WAIT_START   BIT(1)
 
#define EAPOL_SM_USES_WPA   BIT(2)
 
#define EAPOL_SM_FROM_PMKSA_CACHE   BIT(3)
 

Enumerations

enum  eapol_logger_level { EAPOL_LOGGER_DEBUG, EAPOL_LOGGER_INFO, EAPOL_LOGGER_WARNING }
 
enum  eapol_event { EAPOL_AUTH_SM_CHANGE, EAPOL_AUTH_REAUTHENTICATE }
 

Functions

struct eapol_authenticatoreapol_auth_init (struct eapol_auth_config *conf, struct eapol_auth_cb *cb)
 
void eapol_auth_deinit (struct eapol_authenticator *eapol)
 
struct eapol_state_machineeapol_auth_alloc (struct eapol_authenticator *eapol, const u8 *addr, int flags, const struct wpabuf *assoc_wps_ie, const struct wpabuf *assoc_p2p_ie, void *sta_ctx, const char *identity, const char *radius_cui)
 
void eapol_auth_free (struct eapol_state_machine *sm)
 
void eapol_auth_step (struct eapol_state_machine *sm)
 Advance EAPOL state machines. More...
 
int eapol_auth_dump_state (struct eapol_state_machine *sm, char *buf, size_t buflen)
 
int eapol_auth_eap_pending_cb (struct eapol_state_machine *sm, void *ctx)
 
void eapol_auth_reauthenticate (struct eapol_state_machine *sm)
 
int eapol_auth_set_conf (struct eapol_state_machine *sm, const char *param, const char *value)
 

Detailed Description

IEEE 802.1X-2004 Authenticator - EAPOL state machine.

Function Documentation

void eapol_auth_step ( struct eapol_state_machine sm)

Advance EAPOL state machines.

Parameters
smEAPOL state machine

This function is called to advance EAPOL state machines after any change that could affect their state.