ap - Whether the local end is an access point.
registrar - Pointer to WPS registrar data from wps_registrar_init().
wps_state - Current WPS state.
ap_setup_locked - Whether AP setup is locked (only used at AP).
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.
ssid_len - Length of ssid in octets.
dev - Own WPS device data.
dh_ctx - Context data for Diffie-Hellman operation.
dh_privkey - Diffie-Hellman private key.
dh_pubkey_oob - Diffie-Hellman public key.
config_methods - Enabled configuration methods Bit field of WPS_CONFIG_*.
encr_types - Enabled encryption types (bit field of WPS_ENCR_*).
encr_types_rsn - Enabled encryption types for RSN (WPS_ENCR_*).
encr_types_wpa - Enabled encryption types for WPA (WPS_ENCR_*).
auth_types - Authentication types (bit field of WPS_AUTH_*).
encr_types - Current AP encryption type (WPS_ENCR_*).
ap_auth_type - Current AP authentication types (WPS_AUTH_*).
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-Personal, 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).
network_key_len - Length of network_key in octets.
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.
psk_set - Whether psk value is set.
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.
ap_settings_len - Length of ap_settings in octets.
friendly_name - Friendly Name (required for UPnP).
manufacturer_url - Manufacturer URL (optional for UPnP).
model_description - Model Description (recommended for UPnP).
model_url - Model URL (optional for UPnP).
upc - Universal Product Code (optional for UPnP).
cred_cb - Callback to notify that new Credentials were received @ctx: Higher layer context data (cb_ctx) @cred: The received Credential Return: 0 on success, -1 on failure.
event_cb - Event callback (state information about progress) @ctx: Higher layer context data (cb_ctx) @event: Event type @data: Event data.
rf_band_cb - Fetch currently used RF band @ctx: Higher layer context data (cb_ctx) Return: Current used RF band or 0 if not known.
cb_ctx: Higher layer context data for callbacks.