aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-10-11 20:09:16 (GMT)
committerJouni Malinen <j@w1.fi>2017-10-11 20:24:19 (GMT)
commita34ca59e4db0df63034fed4def121eaecc65bfa7 (patch)
tree1168ebf27bc4b26fbd4284d5fdedab41b3d6b78b /wpa_supplicant/config_ssid.h
parent2377c1caef77c9c309681ad419b87cafc1c10e28 (diff)
downloadhostap-a34ca59e4db0df63034fed4def121eaecc65bfa7.zip
hostap-a34ca59e4db0df63034fed4def121eaecc65bfa7.tar.gz
hostap-a34ca59e4db0df63034fed4def121eaecc65bfa7.tar.bz2
SAE: Allow SAE password to be configured separately (STA)
The new sae_password network profile parameter can now be used to set the SAE password instead of the previously used psk parameter. This allows shorter than 8 characters and longer than 63 characters long passwords to be used. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 2748c6a..a3ad0cc 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -184,6 +184,16 @@ struct wpa_ssid {
char *passphrase;
/**
+ * sae_password - SAE password
+ *
+ * This parameter can be used to set a password for SAE. By default, the
+ * passphrase value is used if this separate parameter is not used, but
+ * passphrase follows the WPA-PSK constraints (8..63 characters) even
+ * though SAE passwords do not have such constraints.
+ */
+ char *sae_password;
+
+ /**
* ext_psk - PSK/passphrase name in external storage
*
* If this is set, PSK/passphrase will be fetched from external storage