wifi: ath12k: avoid unnecessary MSDU drop in the Rx error process
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Tue, 11 Jun 2024 06:42:33 +0000 (09:42 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 11 Jun 2024 18:42:29 +0000 (21:42 +0300)
commit9e32058ae62f1d8fdf1ee7b177a1307f90335fbd
tree969b85e2500fb85bcba30062d0ee186fe78d9050
parent65a8368bf34e51b4499205658d7015d40e5a3f80
wifi: ath12k: avoid unnecessary MSDU drop in the Rx error process

Currently, in the Rx error processing handler, once an MSDU drop is
detected, the subsequent MSDUs get unintentionally dropped due to the
previous drop flag being retained across all MSDU processing, leading
to the discarding of valid MSDUs. To resolve this issue, the drop flag
should be reset to false before processing each descriptor.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240604062641.2956288-1-quic_periyasa@quicinc.com
drivers/net/wireless/ath/ath12k/dp_rx.c