OSDN Git Service

ath10k: add mic bytes for pmf management packet
authorWen Gong <wgong@codeaurora.org>
Wed, 4 Sep 2019 06:33:36 +0000 (09:33 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 10 Sep 2019 13:14:29 +0000 (16:14 +0300)
commit83ac260151e73fb688d159eb3326eec28527bbb6
tree9fdfef5bee0cc1a25193548e56991bfa3ff8926a
parent39d170b3cb62ba98567f5c4f40c27b5864b304e5
ath10k: add mic bytes for pmf management packet

For PMF case, the action,deauth,disassoc management need to encrypt
by hardware, it need to reserve 8 bytes for encryption, otherwise
the packet will be sent out with error format, then PMF case will
fail.

After add the 8 bytes, it will pass the PMF case.

Tested with QCA6174 SDIO with firmware
WLAN.RMH.4.4.1-00005-QCARMSWP-1.

Signed-off-by: Wen Gong <wgong@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/htt_tx.c