[OpenWrt-Devel] [PATCH] netifd: wireless: Add support for GCMP cipher

Robert Marko robimarko at gmail.com
Thu Mar 14 06:03:16 EDT 2019


This patch will add support for using GCMP as cipher suite.
This is not a strong cipher but is only one supported by
wil6210 driver in order to have encrypted traffic.

Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 scripts/netifd-wireless.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh
index 424b3ad..6bc48c6 100644
--- a/scripts/netifd-wireless.sh
+++ b/scripts/netifd-wireless.sh
@@ -200,6 +200,7 @@ wireless_vif_parse_encryption() {
 		*tkip+aes|*tkip+ccmp|*aes+tkip|*ccmp+tkip) wpa_cipher="CCMP TKIP";;
 		*aes|*ccmp) wpa_cipher="CCMP";;
 		*tkip) wpa_cipher="TKIP";;
+		*gcmp) wpa_cipher="GCMP";;
 	esac
 
 	# 802.11n requires CCMP for WPA
-- 
2.20.1


_______________________________________________
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