aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-03-06 19:44:06 (GMT)
committerJouni Malinen <j@w1.fi>2019-03-06 19:52:49 (GMT)
commit339dc8bd6b07cf8e7e14ed746b0cfe4dffecf73f (patch)
tree55096fc729db6376aa2dc65140cc252a73a06df2 /wpa_supplicant/config.h
parentfc30f99b34b0c7a62a74385f533f268299ea0b02 (diff)
downloadhostap-339dc8bd6b07cf8e7e14ed746b0cfe4dffecf73f.zip
hostap-339dc8bd6b07cf8e7e14ed746b0cfe4dffecf73f.tar.gz
hostap-339dc8bd6b07cf8e7e14ed746b0cfe4dffecf73f.tar.bz2
WPS: Allow SAE configuration to be added automatically for PSK
The new wpa_supplicant configuration parameter wps_cred_add_sae=1 can be used to request wpa_supplicant to add SAE configuration whenever WPS is used to provision WPA2-PSK credentials and the credential includes a passphrase (instead of PSK). This can be used to enable WPA3-Personal transition mode with both SAE and PSK enabled and also with PMF enabled. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index 15d8c48..abbd8c9 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -745,6 +745,16 @@ struct wpa_config {
*/
int wps_cred_processing;
+ /**
+ * wps_cred_add_sae - Whether to enable SAE automatically for WPS
+ *
+ * 0 = only add the explicitly listed WPA2-PSK configuration
+ * 1 = add both the WPA2-PSK and SAE configuration and enable PMF so
+ * that the station gets configured in WPA3-Personal transition mode
+ * (supports both WPA2-Personal (PSK) and WPA3-Personal (SAE) APs).
+ */
+ int wps_cred_add_sae;
+
#define MAX_SEC_DEVICE_TYPES 5
/**
* sec_device_types - Secondary Device Types (P2P)