ath10k: Fill GCMP MIC length for PMF
authorYingying Tang <yintang@codeaurora.org>
Wed, 18 Mar 2020 14:15:11 +0000 (19:45 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 22 Mar 2020 10:22:01 +0000 (12:22 +0200)
commit95a568c4a4611020d403b1ae8bc284133c53a7fe
tree1f7fd35d805ee604047258f04c6389b05c8565e2
parentacc79d981c1462b22a7a2cb0d39725f8c01fc425
ath10k: Fill GCMP MIC length for PMF

GCMP MIC length is not filled for GCMP/GCMP-256 cipher suites in
PMF enabled case. Due to mismatch in MIC length, deauth/disassoc frames
are unencrypted.
This patch fills proper MIC length for GCMP/GCMP-256 cipher suites.

Tested HW: QCA9984, QCA9888
Tested FW: 10.4-3.6-00104

Signed-off-by: Yingying Tang <yintang@codeaurora.org>
Co-developed-by: Sowmiya Sree Elavalagan <ssreeela@codeaurora.org>
Signed-off-by: Sowmiya Sree Elavalagan <ssreeela@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/htt_tx.c
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi.c