Public Types | Public Attributes
wps_data Struct Reference

#include <wps_i.h>

List of all members.

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
}

Public Attributes

void(* ap_settings_cb )(void *ctx, const struct wps_credential *cred)
void * ap_settings_cb_ctx
u16 auth_type
u8 authkey [WPS_AUTHKEY_LEN]
u16 config_error
struct wps_credential cred
u8 * dev_password
size_t dev_password_len
u16 dev_pw_id
void * dh_ctx
struct wpabufdh_privkey
struct wpabufdh_pubkey_e
struct wpabufdh_pubkey_r
u8 emsk [WPS_EMSK_LEN]
u16 encr_type
int er
int ext_reg
int int_reg
u8 keywrapkey [WPS_KEYWRAPKEY_LEN]
struct wpabuflast_msg
u8 mac_addr_e [ETH_ALEN]
struct wps_credentialnew_ap_settings
u8 * new_psk
size_t new_psk_len
u8 nonce_e [WPS_NONCE_LEN]
u8 nonce_r [WPS_NONCE_LEN]
int pbc
struct wps_device_data peer_dev
u8 peer_hash1 [WPS_HASH_LEN]
u8 peer_hash2 [WPS_HASH_LEN]
u8 psk1 [WPS_PSK_LEN]
u8 psk2 [WPS_PSK_LEN]
int registrar
u8 request_type
u8 snonce [2 *WPS_SECRET_NONCE_LEN]
enum wps_data:: { ... }  state
struct wps_credentialuse_cred
int use_psk_key
u8 uuid_e [WPS_UUID_LEN]
u8 uuid_r [WPS_UUID_LEN]
struct wps_contextwps
int wps_pin_revealed

Detailed Description

struct wps_data - 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.

Definition at line 26 of file wps_i.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
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 

Definition at line 42 of file wps_i.h.


Member Data Documentation

void(* wps_data::ap_settings_cb)(void *ctx, const struct wps_credential *cred)

Definition at line 113 of file wps_i.h.

Definition at line 114 of file wps_i.h.

auth_type - Available authentication types

Definition at line 91 of file wps_i.h.

Definition at line 67 of file wps_i.h.

config_error - Configuration Error value to be used in NACK

Definition at line 104 of file wps_i.h.

Definition at line 97 of file wps_i.h.

Definition at line 73 of file wps_i.h.

Definition at line 74 of file wps_i.h.

Definition at line 75 of file wps_i.h.

Definition at line 111 of file wps_i.h.

Definition at line 64 of file wps_i.h.

Definition at line 65 of file wps_i.h.

Definition at line 66 of file wps_i.h.

Definition at line 69 of file wps_i.h.

encr_type - Available encryption types

Definition at line 86 of file wps_i.h.

er - Whether the local end is an external registrar

Definition at line 40 of file wps_i.h.

Definition at line 106 of file wps_i.h.

Definition at line 107 of file wps_i.h.

Definition at line 68 of file wps_i.h.

Definition at line 71 of file wps_i.h.

u8 wps_data::mac_addr_e[ETH_ALEN]

Definition at line 55 of file wps_i.h.

Definition at line 109 of file wps_i.h.

Definition at line 93 of file wps_i.h.

Definition at line 94 of file wps_i.h.

Definition at line 56 of file wps_i.h.

Definition at line 57 of file wps_i.h.

Definition at line 76 of file wps_i.h.

Definition at line 99 of file wps_i.h.

Definition at line 61 of file wps_i.h.

Definition at line 62 of file wps_i.h.

Definition at line 58 of file wps_i.h.

Definition at line 59 of file wps_i.h.

registrar - Whether this end is a Registrar

Definition at line 35 of file wps_i.h.

request_type - Request Type attribute from (Re)AssocReq

Definition at line 81 of file wps_i.h.

Definition at line 60 of file wps_i.h.

enum { ... } wps_data::state

Definition at line 116 of file wps_i.h.

Definition at line 118 of file wps_i.h.

Definition at line 53 of file wps_i.h.

Definition at line 54 of file wps_i.h.

wps - Pointer to long term WPS context

Definition at line 30 of file wps_i.h.

Definition at line 96 of file wps_i.h.


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


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Jan 2 2014 11:25:20