qcacmn: Support multiple TX rings in DP interrupt handler

In dp_service_srngs, the current logic assumes that WBM2SWRELEASE ring
number as obtained from interrupt_ctx->tx_mask matches the index of
soc->tx_comp[] array. However this may not be true, esp for HMT.
Add logic to fix the same.

Use a separate macro to enable use of single TX ring.

Change-Id: I1bee27b800ad4e4ab1a1fe5e2b01b5b43acfe1f7
CRs-Fixed: 2984362
This commit is contained in:
Mohit Khanna
2021-07-05 04:36:33 -07:00
committed by Madan Koyyalamudi
szülő 3b08d50258
commit c75f9cc178
3 fájl változott, egészen pontosan 25 új sor hozzáadva és 23 régi sor törölve

Fájl megtekintése

@@ -1559,7 +1559,7 @@ int wlan_cfg_per_pdev_lmac_ring(struct wlan_cfg_dp_soc_ctxt *cfg)
qdf_export_symbol(wlan_cfg_per_pdev_lmac_ring);
#ifdef DP_MEMORY_OPT
#if defined(DP_USE_SINGLE_TCL)
int wlan_cfg_num_tcl_data_rings(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return 1;