wpa_supplicant / hostapd 2.0
Data Fields

wps_config Struct Reference

WPS configuration for a single registration protocol run. More...

#include <wps.h>

Data Fields

struct wps_contextwps
 Pointer to long term WPS context.
int registrar
 Whether this end is a Registrar.
const u8 * pin
 Enrollee Device Password (NULL for Registrar or PBC)
size_t pin_len
 Length on pin in octets.
int pbc
 Whether this is protocol run uses PBC.
struct wpabufassoc_wps_ie
struct wps_credentialnew_ap_settings
 New AP settings (NULL if not used)
const u8 * peer_addr
int use_psk_key
 Use PSK format key in Credential.
u16 dev_pw_id
 Device Password ID for Enrollee when PIN is used.
const u8 * p2p_dev_addr
 P2P Device Address from (Re)Association Request.
int pbc_in_m1
 Do not remove PushButton config method in M1 (AP)

Detailed Description

WPS configuration for a single registration protocol run.


Field Documentation

assoc_wps_ie: (Re)AssocReq WPS IE (in AP; NULL if not AP)

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

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.

peer_addr: MAC address of the peer in AP; NULL if not AP

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:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines