|
wpa_supplicant / hostapd 2.0
|
WPS configuration for a single registration protocol run. More...
#include <wps.h>
Data Fields | |
| struct wps_context * | wps |
| 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 wpabuf * | assoc_wps_ie |
| struct wps_credential * | new_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) | |
WPS configuration for a single registration protocol run.
| struct wpabuf* wps_config::assoc_wps_ie |
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.
| const u8* wps_config::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.
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.
| const u8* wps_config::peer_addr |
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.
1.7.3