ath10k: assign 'n_cipher_suites = 11' for WCN3990 to enable WPA3
authorAbhishek Ambure <aambure@codeaurora.org>
Fri, 8 Feb 2019 12:55:23 +0000 (14:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Nov 2019 12:05:26 +0000 (13:05 +0100)
commit1ba6488775f1d4866811b944ed25d5c043319a05
treeeb5caf9c1038f8785825d5d0536bd6d7973638a1
parenta6af54d4ad0da1b40e85312c802cd6c17a564925
ath10k: assign 'n_cipher_suites = 11' for WCN3990 to enable WPA3

[ Upstream commit 7ba31e6e0cdc0cc2e60e1fcbf467f3c95aea948e ]

Hostapd uses CCMP, GCMP & GCMP-256 as 'wpa_pairwise' option to run WPA3.
In WCN3990 firmware cipher suite numbers 9 to 11 are for CCMP,
GCMP & GCMP-256.

To enable CCMP, GCMP & GCMP-256 cipher suites in WCN3990 firmware,
host sets 'n_cipher_suites = 11' while initializing hardware parameters.

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/ath/ath10k/core.c