[PATCH 09/11] wifi: ath12k: use tail MSDU to get MSDU information

Jeff Johnson quic_jjohnson at quicinc.com
Thu Jul 25 17:17:59 PDT 2024


On 7/25/2024 5:00 AM, kangyang wrote:
> From: Kang Yang <quic_kangyang at quicinc.com>
> 
> When receiving a packet in monitor mode, hardware will fill status
> information msdu_end for MSDUs. Then host can use these status
> information to get specific information about this packet, such as
> l3 offset, bandwidth, mcs, packet type.
> 
> If this packet is composed of multiple MSDUs, then hardware will only
> fill status information for the last(tail) MSDU. At this time,
> MSDU information is uncertain for others MSDUs. But current code use
> the first MSDU in monitor mode, so will get the wrong information.
> 
> Fix it by getting msdu information from last(tail) msdu.
> 
> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
> 
> Signed-off-by: Kang Yang <quic_kangyang at quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>





More information about the ath12k mailing list