1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

fix netift

This commit is contained in:
suyuan168 2022-04-06 20:55:49 +08:00
parent b76bbb581c
commit 5930a09dfc
38 changed files with 1918 additions and 68 deletions

View file

@ -0,0 +1,34 @@
From 9cee2ce25a98adeedd230983dba2c9e12e456d01 Mon Sep 17 00:00:00 2001
From: Aloka Dixit <alokad@codeaurora.org>
Date: Wed, 16 Sep 2020 15:54:56 -0700
Subject: [PATCH] auth: Add support for Opportunistic Wireless Encryption
This patch adds support for OWE in wireless configuration file.
Use 'option encryption owe'.
Signed-off-by: Aloka Dixit <alokad@codeaurora.org>
---
scripts/netifd-wireless.sh | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
--- a/scripts/netifd-wireless.sh
+++ b/scripts/netifd-wireless.sh
@@ -201,7 +201,7 @@ wireless_vif_parse_encryption() {
case "$encryption" in
*tkip+aes|*tkip+ccmp|*aes+tkip|*ccmp+tkip) wpa_cipher="CCMP TKIP";;
- *aes|*ccmp| psk2 | wpa2 | sae*) wpa_cipher="CCMP";;
+ *aes|*ccmp| psk2 | wpa2 | sae* | owe) wpa_cipher="CCMP";;
*tkip | wpa | psk ) wpa_cipher="TKIP";;
*gcmp) wpa_cipher="GCMP";;
esac
@@ -287,6 +287,9 @@ wireless_vif_parse_encryption() {
*sae*)
auth_type=sae
;;
+ owe)
+ auth_type=owe
+ ;;
esac
}