wifi: ath12k: Add support to clear qdesc array in REO cache
authorBalamurugan S <quic_bselvara@quicinc.com>
Wed, 2 Apr 2025 15:25:28 +0000 (20:55 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Thu, 3 Apr 2025 18:50:06 +0000 (11:50 -0700)
commit30b03edd265a79b779c29c12ad640c91830ce7ca
tree6832cad24defe6deb5efd96e767a705d9bd9dbf4
parent0bbcd42b15fa730f393a01bc818802d9f0b04197
wifi: ath12k: Add support to clear qdesc array in REO cache

Currently, the existing code lacks functionality to clear the qdesc
array in the REO cache. As a result, any updates in the LUT are not
reflected in the REO cache. To address this issue, add functionality
to clear the qdesc array in the REO cache during a peer TID update.
To do this, set the CLEAR_DESC_ARRAY field of
WCSS_UMAC_REO_R0_QDESC_ADDR_READ and then reset it.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1

Signed-off-by: Balamurugan S <quic_bselvara@quicinc.com>
Signed-off-by: Nithyanantham Paramasivam <quic_nithp@quicinc.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250402152529.1649402-3-quic_nithp@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/dp_rx.c
drivers/net/wireless/ath/ath12k/hal.h
drivers/net/wireless/ath/ath12k/hal_rx.c