wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Public Types | Data Fields
wpa_state_machine Struct Reference

Data Structures

struct  wpa_key_replay_counter
 

Public Types

enum  {
  WPA_PTK_INITIALIZE, WPA_PTK_DISCONNECT, WPA_PTK_DISCONNECTED, WPA_PTK_AUTHENTICATION,
  WPA_PTK_AUTHENTICATION2, WPA_PTK_INITPMK, WPA_PTK_INITPSK, WPA_PTK_PTKSTART,
  WPA_PTK_PTKCALCNEGOTIATING, WPA_PTK_PTKCALCNEGOTIATING2, WPA_PTK_PTKINITNEGOTIATING, WPA_PTK_PTKINITDONE
}
 
enum  { WPA_PTK_GROUP_IDLE = 0, WPA_PTK_GROUP_REKEYNEGOTIATING, WPA_PTK_GROUP_REKEYESTABLISHED, WPA_PTK_GROUP_KEYERROR }
 
enum  { WPA_VERSION_NO_WPA = 0, WPA_VERSION_WPA = 1, WPA_VERSION_WPA2 = 2 }
 

Data Fields

struct wpa_authenticatorwpa_auth
 
struct wpa_groupgroup
 
u8 addr [ETH_ALEN]
 
u8 p2p_dev_addr [ETH_ALEN]
 
enum wpa_state_machine:: { ... }  wpa_ptk_state
 
enum wpa_state_machine:: { ... }  wpa_ptk_group_state
 
Boolean Init
 
Boolean DeauthenticationRequest
 
Boolean AuthenticationRequest
 
Boolean ReAuthenticationRequest
 
Boolean Disconnect
 
int TimeoutCtr
 
int GTimeoutCtr
 
Boolean TimeoutEvt
 
Boolean EAPOLKeyReceived
 
Boolean EAPOLKeyPairwise
 
Boolean EAPOLKeyRequest
 
Boolean MICVerified
 
Boolean GUpdateStationKeys
 
u8 ANonce [WPA_NONCE_LEN]
 
u8 SNonce [WPA_NONCE_LEN]
 
u8 alt_SNonce [WPA_NONCE_LEN]
 
u8 alt_replay_counter [WPA_REPLAY_COUNTER_LEN]
 
u8 PMK [PMK_LEN]
 
struct wpa_ptk PTK
 
Boolean PTK_valid
 
Boolean pairwise_set
 
int keycount
 
Boolean Pair
 
struct
wpa_state_machine::wpa_key_replay_counter 
key_replay [RSNA_MAX_EAPOL_RETRIES]
 
struct
wpa_state_machine::wpa_key_replay_counter 
prev_key_replay [RSNA_MAX_EAPOL_RETRIES]
 
Boolean PInitAKeys
 
Boolean PTKRequest
 
Boolean has_GTK
 
Boolean PtkGroupInit
 
u8 * last_rx_eapol_key
 
size_t last_rx_eapol_key_len
 
unsigned int changed:1
 
unsigned int in_step_loop:1
 
unsigned int pending_deinit:1
 
unsigned int started:1
 
unsigned int mgmt_frame_prot:1
 
unsigned int rx_eapol_key_secure:1
 
unsigned int update_snonce:1
 
unsigned int alt_snonce_valid:1
 
unsigned int is_wnmsleep:1
 
u8 req_replay_counter [WPA_REPLAY_COUNTER_LEN]
 
int req_replay_counter_used
 
u8 * wpa_ie
 
size_t wpa_ie_len
 
enum wpa_state_machine:: { ... }  wpa
 
int pairwise
 
int wpa_key_mgmt
 
struct rsn_pmksa_cache_entrypmksa
 
u32 dot11RSNAStatsTKIPLocalMICFailures
 
u32 dot11RSNAStatsTKIPRemoteMICFailures
 
int pending_1_of_4_timeout
 
u8 ip_addr [4]
 

The documentation for this struct was generated from the following file: