qcacmn: Initialize only 1 RXDMA DST ring for WCN7850

WCN7850 has only one RXDMA DST ring, as opposed to other
lithium family chipsets, which had 2 RXDMA DST ring.

Refactor the code to pick the number of rxdma destination
rings from CFG context.

Change-Id: I20d475c02690043e969bc7a78605809b8c6814ae
CRs-Fixed: 3084440
此提交包含在:
Rakesh Pillai
2021-11-26 00:37:27 -08:00
提交者 Madan Koyyalamudi
父節點 e9f0077a00
當前提交 63233c05dd
共有 5 個檔案被更改,包括 27 行新增11 行删除

查看文件

@@ -2002,6 +2002,7 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc)
wlan_cfg_ctx->pkt_capture_mode = cfg_get(psoc, CFG_PKT_CAPTURE_MODE) &
PKT_CAPTURE_MODE_DATA_ONLY;
#endif
wlan_cfg_ctx->num_rxdma_dst_rings_per_pdev = NUM_RXDMA_RINGS_PER_PDEV;
return wlan_cfg_ctx;
}