Signed-off-by: Hauke Mehrtens <[email protected]>
---
 ...d-Simultaneous-Authentication-of-Equals-S.patch | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 
package/network/config/netifd/patches/001-wireless-Add-Simultaneous-Authentication-of-Equals-S.patch

diff --git 
a/package/network/config/netifd/patches/001-wireless-Add-Simultaneous-Authentication-of-Equals-S.patch
 
b/package/network/config/netifd/patches/001-wireless-Add-Simultaneous-Authentication-of-Equals-S.patch
new file mode 100644
index 0000000000..a634fe38bd
--- /dev/null
+++ 
b/package/network/config/netifd/patches/001-wireless-Add-Simultaneous-Authentication-of-Equals-S.patch
@@ -0,0 +1,36 @@
+From 22476ff99ea2c233e342dfe2bdff506e54278f03 Mon Sep 17 00:00:00 2001
+From: Hauke Mehrtens <[email protected]>
+Date: Thu, 4 Oct 2018 22:34:48 +0200
+Subject: wireless: Add Simultaneous Authentication of Equals (SAE)
+
+This adds PSK3 / SAE support.
+
+Signed-off-by: Hauke Mehrtens <[email protected]>
+---
+ scripts/netifd-wireless.sh | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+--- 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.11.0


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to