ath10k: Fix encoding for protected management frames
authorRakesh Pillai <pillair@codeaurora.org>
Tue, 2 Apr 2019 12:42:50 +0000 (18:12 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 7 May 2019 13:49:58 +0000 (16:49 +0300)
commit42f1bc43e6a97b9ddbe976eba9bd05306c990c75
tree85e10b0063336cb94f39755d69321c83ee6077f7
parent5c51875c09431af01d3bce189c4c47c72cc533c9
ath10k: Fix encoding for protected management frames

Currently the protected management frames are
not appended with the MIC_LEN which results in
the protected management frames being encoded
incorrectly.

Add the extra space at the end of the protected
management frames to fix this encoding error for
the protected management frames.

Tested HW: WCN3990
Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1

Fixes: 1807da49733e ("ath10k: wmi: add management tx by reference support over wmi")
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/wmi-tlv.c