Skip to content
Commit 447b0398 authored by Bhagavathi Perumal S's avatar Bhagavathi Perumal S Committed by Kalle Valo
Browse files

wifi: ath11k: Fix invalid management rx frame length issue



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: default avatarBhagavathi Perumal S <quic_bperumal@quicinc.com>
Co-developed-by: default avatarNagarajan Maran <quic_nmaran@quicinc.com>
Signed-off-by: default avatarNagarajan Maran <quic_nmaran@quicinc.com>
Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230320133840.30162-1-quic_nmaran@quicinc.com
parent 031ffa6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment