Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f882fc70 authored by Surabhi Vishnoi's avatar Surabhi Vishnoi Committed by Balaji Pothunoori
Browse files

UPSTREAM: ath10k: Fix length of wmi tlv command for protected mgmt frames



The length of wmi tlv command for management tx send is calculated
incorrectly in case of protected management frames as there is addition
of IEEE80211_CCMP_MIC_LEN twice. This leads to improper behaviour of
firmware as the wmi tlv mgmt tx send command for protected mgmt frames
is formed wrongly.

Fix the length calculation of wmi tlv command for mgmt tx send in case
of protected management frames by adding the IEEE80211_CCMP_MIC_LEN only
once.

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

Fixes: 1807da49 "ath10k: wmi: add management tx by reference support over wmi"
Signed-off-by: default avatarSurabhi Vishnoi <svishnoi@codeaurora.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Change-Id: Iea5367f7664399c178b5749f7f9f46d7730ee788
Git-commit: 761156ff573d1002983416e4fd1fe8d3489c4bd8
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git


Signed-off-by: default avatarBalaji Pothunoori <bpothuno@codeaurora.org>
parent 69490b23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment