[OpenWrt-Devel] [RFC 6/6] netifd: Add support for wireless OWE authentication

Hauke Mehrtens hauke at hauke-m.de
Fri Oct 5 17:49:30 EDT 2018


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

diff --git a/package/network/config/netifd/patches/002-wireless-owe.patch b/package/network/config/netifd/patches/002-wireless-owe.patch
new file mode 100644
index 0000000000..c8ca7d420b
--- /dev/null
+++ b/package/network/config/netifd/patches/002-wireless-owe.patch
@@ -0,0 +1,23 @@
+diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh
+index 396ef71..52641c7 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*|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