qcacmn: Change number of RXDMA_STATUS_RING allocations

Currently two RXDMA_STATUS rings are allocated for the station targets
irrespective of whether DBS supported or not. Only one RXDMA_STATUS_RING
being used for non-DBS targets like QCA6750 and WCN6450, hence change
the number of RXDMA_STATUS_RING allocations to 1 for non-DBS targets.

Change-Id: I4f14c8b5cee892979765f776b37d44e99ba2d558
CRs-Fixed: 3578733
这个提交包含在:
Venkateswara Naralasetty
2023-08-01 15:15:00 +05:30
提交者 Rahul Choudhary
父节点 d754731461
当前提交 c62ef80144
修改 4 个文件,包含 14 行新增7 行删除

查看文件

@@ -589,7 +589,7 @@ struct dp_rx_desc *dp_get_rx_mon_status_desc_from_cookie(struct dp_soc *soc,
struct rx_desc_pool *rx_desc_pool;
union dp_rx_desc_list_elem_t *rx_desc_elem;
if (qdf_unlikely(pool_id >= NUM_RXDMA_RINGS_PER_PDEV))
if (qdf_unlikely(pool_id >= NUM_RXDMA_STATUS_RINGS_PER_PDEV))
return NULL;
rx_desc_pool = &pool[pool_id];