[OpenWrt-Devel] [PATCH 8/9] netifd: Add support for wireless OWE authentication

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


Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 ...Add-Opportunistic-Wireless-Encryption-OWE.patch | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 package/network/config/netifd/patches/002-wireless-Add-Opportunistic-Wireless-Encryption-OWE.patch

diff --git a/package/network/config/netifd/patches/002-wireless-Add-Opportunistic-Wireless-Encryption-OWE.patch b/package/network/config/netifd/patches/002-wireless-Add-Opportunistic-Wireless-Encryption-OWE.patch
new file mode 100644
index 0000000000..9fe10ff84b
--- /dev/null
+++ b/package/network/config/netifd/patches/002-wireless-Add-Opportunistic-Wireless-Encryption-OWE.patch
@@ -0,0 +1,31 @@
+From c6c3a0d8988013f2059157404e519db9ec7ddf14 Mon Sep 17 00:00:00 2001
+From: Hauke Mehrtens <hauke at hauke-m.de>
+Date: Tue, 9 Oct 2018 22:57:13 +0200
+Subject: wireless: Add Opportunistic Wireless Encryption (OWE)
+
+Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
+---
+ scripts/netifd-wireless.sh | 5 ++++-
+ 1 file changed, 4 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*)
++		wpa2*|*psk2*|psk3*|sae*|owe*)
+ 			wpa=2
+ 		;;
+ 		wpa*mixed*|*psk*mixed*)
+@@ -228,6 +228,9 @@ wireless_vif_parse_encryption() {
+ 	wpa_pairwise="$wpa_cipher"
+ 
+ 	case "$encryption" in
++		owe*)
++			auth_type=owe
++		;;
+ 		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