diff mbox series

wifi: ath12k: fix wrong definition of ath12k_hw_ring_mask_qcn9274

Message ID CAD73Kh8_Ks0Fb6EsG6ks0oKKONfwr98uRccV5bbmEb15PLPvow@mail.gmail.com (mailing list archive)
State Changes Requested
Delegated to: Kalle Valo
Headers show
Series wifi: ath12k: fix wrong definition of ath12k_hw_ring_mask_qcn9274 | expand

Commit Message

Weng Lin Puah Dec. 4, 2023, 9:14 a.m. UTC
ath12k_hw_ring_mask_qcn9274.tx[3] does not match with its counterpart
wbm_ring_num. This will cause the corresponding
ath12k_dp_tx_completion_handler is not entered. Thus, some of the dma
memory is not free and eventually runs out of the dma memory.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.2.1-00148-QCAHKSWPL_SILICONZ-1

Signed-off-by: WL Puah <wl_puah@compex.com.sg>

---
 drivers/net/wireless/ath/ath12k/hw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

         0, 0, 0,

Comments

Kalle Valo March 12, 2024, 3:52 p.m. UTC | #1
Weng Lin Puah <wlpuah@gmail.com> wrote:

> ath12k_hw_ring_mask_qcn9274.tx[3] does not match with its counterpart
> wbm_ring_num. This will cause the corresponding
> ath12k_dp_tx_completion_handler is not entered. Thus, some of the dma
> memory is not free and eventually runs out of the dma memory.
> 
> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.2.1-00148-QCAHKSWPL_SILICONZ-1
> 
> Signed-off-by: WL Puah <wl_puah@compex.com.sg>

>From and s-o-b don't match (gmail.com vs compex.com.sg)

Patch set to Changes Requested.
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath12k/hw.c
b/drivers/net/wireless/ath/ath12k/hw.c
index ea3eda1f1948..2b35c8aa6273 100644
--- a/drivers/net/wireless/ath/ath12k/hw.c
+++ b/drivers/net/wireless/ath/ath12k/hw.c
@@ -536,7 +536,7 @@  static const struct ath12k_hw_ring_mask
ath12k_hw_ring_mask_qcn9274 = {
         ATH12K_TX_RING_MASK_0,
         ATH12K_TX_RING_MASK_1,
         ATH12K_TX_RING_MASK_2,
-        ATH12K_TX_RING_MASK_3,
+        ATH12K_TX_RING_MASK_4,
     },
     .rx_mon_dest = {