[OpenWrt-Devel] [RFC 5/6] netifd: Add support for wireless SAE authentication
Hauke Mehrtens
hauke at hauke-m.de
Fri Oct 5 17:49:29 EDT 2018
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
.../config/netifd/patches/001-wireless-sae.patch | 26 ++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 package/network/config/netifd/patches/001-wireless-sae.patch
diff --git a/package/network/config/netifd/patches/001-wireless-sae.patch b/package/network/config/netifd/patches/001-wireless-sae.patch
new file mode 100644
index 0000000000..e707bfbb21
--- /dev/null
+++ b/package/network/config/netifd/patches/001-wireless-sae.patch
@@ -0,0 +1,26 @@
+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.11.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list