mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
34 lines
1,009 B
Diff
34 lines
1,009 B
Diff
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
|
|
}
|
|
|