From 22476ff99ea2c233e342dfe2bdff506e54278f03 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 4 Oct 2018 22:34:48 +0200 Subject: [PATCH] wireless: Add Simultaneous Authentication of Equals (SAE) This adds PSK3 / SAE support. Signed-off-by: Hauke Mehrtens --- scripts/netifd-wireless.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh index fc077f2..396ef71 100644 --- a/scripts/netifd-wireless.sh +++ b/scripts/netifd-wireless.sh @@ -211,7 +211,7 @@ wireless_vif_parse_encryption() { # wpa2/tkip+aes => WPA2 RADIUS, CCMP+TKIP case "$encryption" in - wpa2*|*psk2*) + wpa2*|*psk2*|psk3*|sae*) wpa=2 ;; wpa*mixed*|*psk*mixed*) @@ -228,6 +228,12 @@ wireless_vif_parse_encryption() { wpa_pairwise="$wpa_cipher" case "$encryption" in + psk3-mixed*|sae-mixed*) + auth_type=psk-sae + ;; + psk3*|sae*) + auth_type=sae + ;; *psk*) auth_type=psk ;; -- 2.25.1