On 7/25/2024 5:00 AM, kangyang wrote: > From: Kang Yang <quic_kangyang@xxxxxxxxxxx> > > 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@xxxxxxxxxxx> Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>