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

WPS registration protocol data. More...

#include <wps_i.h>

Public Types

enum  {
  SEND_M1, RECV_M2, SEND_M3, RECV_M4,
  SEND_M5, RECV_M6, SEND_M7, RECV_M8,
  RECEIVED_M2D, WPS_MSG_DONE, RECV_ACK, WPS_FINISHED,
  SEND_WSC_NACK, RECV_M1, SEND_M2, RECV_M3,
  SEND_M4, RECV_M5, SEND_M6, RECV_M7,
  SEND_M8, RECV_DONE, SEND_M2D, RECV_M2D_ACK
}
 

Data Fields

struct wps_contextwps
 Pointer to long term WPS context.
 
int registrar
 Whether this end is a Registrar.
 
int er
 Whether the local end is an external registrar.
 
enum wps_data:: { ... }  state
 
u8 uuid_e [WPS_UUID_LEN]
 
u8 uuid_r [WPS_UUID_LEN]
 
u8 mac_addr_e [ETH_ALEN]
 
u8 nonce_e [WPS_NONCE_LEN]
 
u8 nonce_r [WPS_NONCE_LEN]
 
u8 psk1 [WPS_PSK_LEN]
 
u8 psk2 [WPS_PSK_LEN]
 
u8 snonce [2 *WPS_SECRET_NONCE_LEN]
 
u8 peer_hash1 [WPS_HASH_LEN]
 
u8 peer_hash2 [WPS_HASH_LEN]
 
struct wpabufdh_privkey
 
struct wpabufdh_pubkey_e
 
struct wpabufdh_pubkey_r
 
u8 authkey [WPS_AUTHKEY_LEN]
 
u8 keywrapkey [WPS_KEYWRAPKEY_LEN]
 
u8 emsk [WPS_EMSK_LEN]
 
struct wpabuflast_msg
 
u8 * dev_password
 
size_t dev_password_len
 
u16 dev_pw_id
 
int pbc
 
u8 * alt_dev_password
 
size_t alt_dev_password_len
 
u16 alt_dev_pw_id
 
u8 peer_pubkey_hash [WPS_OOB_PUBKEY_HASH_LEN]
 
int peer_pubkey_hash_set
 
u8 request_type
 Request Type attribute from (Re)AssocReq.
 
u16 encr_type
 Available encryption types.
 
u16 auth_type
 Available authentication types.
 
u8 * new_psk
 
size_t new_psk_len
 
int wps_pin_revealed
 
struct wps_credential cred
 
struct wps_device_data peer_dev
 
u16 config_error
 Configuration Error value to be used in NACK.
 
u16 error_indication
 
int ext_reg
 
int int_reg
 
struct wps_credentialnew_ap_settings
 
void * dh_ctx
 
void(* ap_settings_cb )(void *ctx, const struct wps_credential *cred)
 
void * ap_settings_cb_ctx
 
struct wps_credentialuse_cred
 
int use_psk_key
 
u8 p2p_dev_addr [ETH_ALEN]
 
int pbc_in_m1
 
struct wps_nfc_pw_token * nfc_pw_token
 

Detailed Description

WPS registration protocol data.

This data is stored at the EAP-WSC server/peer method and it is kept for a single registration protocol run.


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