hostapd
Public Attributes | List of all members
wps_config Struct Reference

struct wps_config - WPS configuration for a single registration protocol run More...

#include <wps.h>

Public Attributes

struct wps_contextwps
 wps - Pointer to long term WPS context
 
int registrar
 registrar - Whether this end is a Registrar
 
const u8 * pin
 pin - Enrollee Device Password (NULL for Registrar or PBC)
 
size_t pin_len
 pin_len - Length on pin in octets
 
int pbc
 pbc - Whether this is protocol run uses PBC
 
const struct wpabufassoc_wps_ie
 assoc_wps_ie: (Re)AssocReq WPS IE (in AP; NULL if not AP)
 
const struct wps_credentialnew_ap_settings
 new_ap_settings - New AP settings (NULL if not used) More...
 
const u8 * peer_addr
 peer_addr: MAC address of the peer in AP; NULL if not AP
 
int use_psk_key
 use_psk_key - Use PSK format key in Credential More...
 
u16 dev_pw_id
 dev_pw_id - Device Password ID for Enrollee when PIN is used
 
const u8 * p2p_dev_addr
 p2p_dev_addr - P2P Device Address from (Re)Association Request More...
 
int pbc_in_m1
 pbc_in_m1 - Do not remove PushButton config method in M1 (AP) More...
 
const u8 * peer_pubkey_hash
 peer_pubkey_hash - Peer public key hash or NULL if not known
 

Detailed Description

struct wps_config - WPS configuration for a single registration protocol run

Member Data Documentation

§ new_ap_settings

const struct wps_credential* wps_config::new_ap_settings

new_ap_settings - New AP settings (NULL if not used)

This parameter provides new AP settings when using a wireless stations as a Registrar to configure the AP. NULL means that AP will not be reconfigured, i.e., the station will only learn the current AP settings by using AP PIN.

§ p2p_dev_addr

const u8* wps_config::p2p_dev_addr

p2p_dev_addr - P2P Device Address from (Re)Association Request

On AP/GO, this is set to the P2P Device Address of the associating P2P client if a P2P IE is included in the (Re)Association Request frame and the P2P Device Address is included. Otherwise, this is set to NULL to indicate the station does not have a P2P Device Address.

§ pbc_in_m1

int wps_config::pbc_in_m1

pbc_in_m1 - Do not remove PushButton config method in M1 (AP)

This can be used to enable a workaround to allow Windows 7 to use PBC with the AP.

§ use_psk_key

int wps_config::use_psk_key

use_psk_key - Use PSK format key in Credential

Force PSK format to be used instead of ASCII passphrase when building Credential for an Enrollee. The PSK value is set in struct wpa_context::psk.


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