summaryrefslogtreecommitdiffhomepage
path: root/scripts/netifd-wireless.sh
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-10-04 22:34:48 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-10-12 22:04:59 +0200
commit22476ff99ea2c233e342dfe2bdff506e54278f03 (patch)
tree8ea4d395dba7956a1a610a84ac7d33758f51634f /scripts/netifd-wireless.sh
parent83428fac8fca8b72f1a9508e4928eb70d9332444 (diff)
wireless: Add Simultaneous Authentication of Equals (SAE)
This adds PSK3 / SAE support. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'scripts/netifd-wireless.sh')
-rw-r--r--scripts/netifd-wireless.sh8
1 files changed, 7 insertions, 1 deletions
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
;;