netifd: wireless: Add support for GCMP cipher
authorRobert Marko <robimarko@gmail.com>
Thu, 14 Mar 2019 10:03:16 +0000 (11:03 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 21 Mar 2019 14:17:21 +0000 (15:17 +0100)
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@gmail.com>
scripts/netifd-wireless.sh

index 991544ed3b45cb3bb0c23f03057425f603917c51..4c64e25e4c887820bb3f34dc4151be3ee2b23060 100644 (file)
@@ -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