From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gycPg-0006X4-9O for ath10k@lists.infradead.org; Tue, 26 Feb 2019 13:04:49 +0000 MIME-Version: 1.0 Subject: Re: [PATCH] ath10k: Fix length of wmi tlv command for protected mgmt frames From: Kalle Valo In-Reply-To: <1550243977-8612-1-git-send-email-svishnoi@codeaurora.org> References: <1550243977-8612-1-git-send-email-svishnoi@codeaurora.org> Message-Id: <20190226130447.B8FCB60E5A@smtp.codeaurora.org> Date: Tue, 26 Feb 2019 13:04:47 +0000 (UTC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Surabhi Vishnoi Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Surabhi Vishnoi wrote: > 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: 1807da49733e "ath10k: wmi: add management tx by reference support over wmi" > Signed-off-by: Surabhi Vishnoi > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 761156ff573d ath10k: Fix length of wmi tlv command for protected mgmt frames -- https://patchwork.kernel.org/patch/10815099/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k