1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
openmptcprouter-feeds/netifd/patches/089-authsae-add-support-to-parse-encypiton-tye-sae-and-s.patch
2022-04-06 20:55:49 +08:00

34 lines
1 KiB
Diff

From a2bbbb0b4c13f060b21e5ea34839ec665963a635 Mon Sep 17 00:00:00 2001
From: Venkateswara Naralasetty <vnaralas@codeaurora.org>
Date: Thu, 19 Dec 2019 17:42:24 +0530
Subject: [PATCH] authsae: add support to parse encypiton tye sae and sae-mixed
this patch add support to parse encyption type sae and
sae-mixed mode.
Signed-off-by: Venkateswara Naralasetty <vnaralas@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) wpa_cipher="CCMP";;
+ *aes|*ccmp| psk2 | wpa2 | sae*) wpa_cipher="CCMP";;
*tkip | wpa | psk ) wpa_cipher="TKIP";;
*gcmp) wpa_cipher="GCMP";;
esac
@@ -281,6 +281,9 @@ wireless_vif_parse_encryption() {
;;
esac
;;
+ sae-mixed)
+ auth_type=sae-mixed
+ ;;
*sae*)
auth_type=sae
;;