[PATCH] wifi: ath11k: Fix invalid management rx frame length issue

Robert Marko robert.marko at sartura.hr
Fri Apr 7 01:46:13 PDT 2023


On Mon, Mar 20, 2023 at 2:39 PM Nagarajan Maran <quic_nmaran at quicinc.com> wrote:
>
> From: Bhagavathi Perumal S <quic_bperumal at quicinc.com>
>
> The WMI management rx event has multiple arrays of TLVs, however the common
> WMI TLV parser won't handle multiple TLV tags of same type.
> So the multiple array tags of WMI management rx TLV is parsed incorrectly
> and the length calculated becomes wrong when the target sends multiple
> array tags.
>
> Add separate TLV parser to handle multiple arrays for WMI management rx
> TLV. This fixes invalid length issue when the target sends multiple array
> tags.
>
> Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
>
> Signed-off-by: Bhagavathi Perumal S <quic_bperumal at quicinc.com>
> Co-developed-by: Nagarajan Maran <quic_nmaran at quicinc.com>
> Signed-off-by: Nagarajan Maran <quic_nmaran at quicinc.com>
>
> ---

We hit the exact error that this patch fixes while updating to FW
2.9.0.1 on IPQ8074 and
it fixed it so:
Tested-by: Robert Marko <robert.marko at sartura.hr>

Regards,
Robert
-- 
Robert Marko
Staff Embedded Linux Engineer
Sartura Ltd.
Lendavska ulica 16a
10000 Zagreb, Croatia
Email: robert.marko at sartura.hr
Web: www.sartura.hr



More information about the ath11k mailing list