ath11k: fix destination monitor ring out of sync
authorKarthikeyan Kathirvel <quic_kathirve@quicinc.com>
Thu, 10 Feb 2022 06:47:06 +0000 (12:17 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 14 Feb 2022 17:47:14 +0000 (19:47 +0200)
commit1e15aacd12386d8f1372929a3fd52db9ef3344fc
treeb0d50ce773c68820519d4f1e9a69ec199e54d183
parent4f6dd92305f74c43f09e2ff867011e0029ee0e0d
ath11k: fix destination monitor ring out of sync

More than 20000 PPDU id jumping causing status ring and destination
ring processing not sync. The status ring is processed and the
destination ring is not processed. Since destination is not reaped for
so long, backpressure occurs at the destination ring.

To address this issue update the PPDU id with the latest PPDU, this
will allow the destination ring to be reaped and will prevent the
rings from getting out of sync.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1.r1-00026-QCAHKSWPL_SILICONZ-2
Signed-off-by: Karthikeyan Kathirvel <quic_kathirve@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220210064706.6171-1-quic_kathirve@quicinc.com
drivers/net/wireless/ath/ath11k/dp.h
drivers/net/wireless/ath/ath11k/dp_rx.c