ath10k: update GCMP & GCMP-256 cipher suite number for WCN3990
authorAbhishek Ambure <aambure@codeaurora.org>
Fri, 8 Feb 2019 12:55:26 +0000 (14:55 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 11 Feb 2019 16:26:04 +0000 (18:26 +0200)
commit7d94f862d6482e1159ccca669cbf21c724d159e1
treefda1220e6ba7638eecc530a7ce6cb7e2675ca441
parent7ba31e6e0cdc0cc2e60e1fcbf467f3c95aea948e
ath10k: update GCMP & GCMP-256 cipher suite number for WCN3990

TLV based firmware ex. QCA6174, WCN3990 expects key cipher value
set to 9 while non-TLV firmware expects key cipher value set to 8
for enabling GCMP and GCMP-256 cipher suites.

To fix this problem, attach the key cipher suite values based on
wmi version.

Tested HW: WCN3990
Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1

Signed-off-by: Abhishek Ambure <aambure@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi-tlv.c
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h