From 9cee2ce25a98adeedd230983dba2c9e12e456d01 Mon Sep 17 00:00:00 2001 From: Aloka Dixit 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 --- 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 }