[OpenWrt-Devel] [PATCH 9/9] netifd: Add support for wireless EAP-Suite-B-192 authentication

Hauke Mehrtens hauke at hauke-m.de
Fri Oct 12 16:37:07 EDT 2018


Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 ...s-Add-WPA-EAP-SUITE-B-192-WPA3-Enterprise.patch | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 package/network/config/netifd/patches/003-wireless-Add-WPA-EAP-SUITE-B-192-WPA3-Enterprise.patch

diff --git a/package/network/config/netifd/patches/003-wireless-Add-WPA-EAP-SUITE-B-192-WPA3-Enterprise.patch b/package/network/config/netifd/patches/003-wireless-Add-WPA-EAP-SUITE-B-192-WPA3-Enterprise.patch
new file mode 100644
index 0000000000..03f5f703a0
--- /dev/null
+++ b/package/network/config/netifd/patches/003-wireless-Add-WPA-EAP-SUITE-B-192-WPA3-Enterprise.patch
@@ -0,0 +1,34 @@
+From a117e414d8acd5dd27ba9ac30bc462ba4ae6587e Mon Sep 17 00:00:00 2001
+From: Hauke Mehrtens <hauke at hauke-m.de>
+Date: Tue, 9 Oct 2018 22:57:52 +0200
+Subject: wireless: Add WPA-EAP-SUITE-B-192 (WPA3-Enterprise)
+
+Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
+---
+ 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*|psk3*|sae*|owe*)
++		wpa2*|wpa3*|*psk2*|psk3*|sae*|owe*)
+ 			wpa=2
+ 		;;
+ 		wpa*mixed*|*psk*mixed*)
+@@ -231,6 +231,12 @@ wireless_vif_parse_encryption() {
+ 		owe*)
+ 			auth_type=owe
+ 		;;
++		wpa3-mixed*)
++			auth_type=eap-eap192
++		;;
++		wpa3*)
++			auth_type=eap192
++		;;
+ 		psk3-mixed*|sae-mixed*)
+ 			auth_type=psk-sae
+ 		;;
-- 
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