wps_context Struct Reference
#include <wps.h>
List of all members.
Detailed Description
struct wps_context - Long term WPS context data
This data is stored at the higher layer Authenticator or Supplicant data structures and it is maintained over multiple registration protocol runs.
Definition at line 488 of file wps.h.
Member Data Documentation
ap - Whether the local end is an access point
Definition at line 492 of file wps.h.
ap_settings - AP Settings override for M7 (only used at AP)
If NULL, AP Settings attributes will be generated based on the current network configuration.
Definition at line 616 of file wps.h.
ap_settings_len - Length of ap_settings in octets
Definition at line 621 of file wps.h.
ap_setup_locked - Whether AP setup is locked (only used at AP)
Definition at line 507 of file wps.h.
auth_types - Authentication types (bit field of WPS_AUTH_*)
Definition at line 573 of file wps.h.
cb_ctx: Higher layer context data for callbacks
Definition at line 668 of file wps.h.
config_methods - Enabled configuration methods
Bit field of WPS_CONFIG_*
Definition at line 563 of file wps.h.
cred_cb - Callback to notify that new Credentials were received : Higher layer context data (cb_ctx) : The received Credential Return: 0 on success, -1 on failure
Definition at line 654 of file wps.h.
dev - Own WPS device data
Definition at line 531 of file wps.h.
dh_ctx - Context data for Diffie-Hellman operation
Definition at line 546 of file wps.h.
dh_privkey - Diffie-Hellman private key
Definition at line 551 of file wps.h.
dh_pubkey_oob - Diffie-Hellman public key
Definition at line 556 of file wps.h.
encr_types - Enabled encryption types (bit field of WPS_ENCR_*)
Definition at line 568 of file wps.h.
event_cb - Event callback (state information about progress) : Higher layer context data (cb_ctx) : Event type : Event data
Definition at line 662 of file wps.h.
friendly_name - Friendly Name (required for UPnP)
Definition at line 626 of file wps.h.
manufacturer_url - Manufacturer URL (optional for UPnP)
Definition at line 631 of file wps.h.
model_description - Model Description (recommended for UPnP)
Definition at line 636 of file wps.h.
model_url - Model URL (optional for UPnP)
Definition at line 641 of file wps.h.
network_key - The current Network Key (PSK) or NULL to generate new
If NULL, Registrar will generate per-device PSK. In addition, AP uses this when acting as an Enrollee to notify Registrar of the current configuration.
When using WPA/WPA2-Person, this key can be either the ASCII passphrase (8..63 characters) or the 32-octet PSK (64 hex characters). When this is set to the ASCII passphrase, the PSK can be provided in the psk buffer and used per-Enrollee to control which key type is included in the Credential (e.g., to reduce calculation need on low-powered devices by provisioning PSK while still allowing other devices to get the passphrase).
Definition at line 590 of file wps.h.
network_key_len - Length of network_key in octets
Definition at line 595 of file wps.h.
oob_conf - OOB Config data
Definition at line 536 of file wps.h.
oob_dev_pw_id - OOB Device password id
Definition at line 541 of file wps.h.
psk - The current network PSK
This optional value can be used to provide the current PSK if network_key is set to the ASCII passphrase.
Definition at line 603 of file wps.h.
psk_set - Whether psk value is set
Definition at line 608 of file wps.h.
ssid - SSID
This SSID is used by the Registrar to fill in information for Credentials. In addition, AP uses it when acting as an Enrollee to notify Registrar of the current configuration.
Definition at line 521 of file wps.h.
ssid_len - Length of ssid in octets
Definition at line 526 of file wps.h.
upc - Universal Product Code (optional for UPnP)
Definition at line 646 of file wps.h.
uuid - Own UUID
Definition at line 512 of file wps.h.
wps_state - Current WPS state
Definition at line 502 of file wps.h.
The documentation for this struct was generated from the following file: