浏览代码

qcacmn: Increase the max ini value of RXDMA buf ring

Increase the max ini value of RXDMA buf ring.

Change-Id: Ia8ef1a3ac5347b5b136f0fb088ec000317406f87
Himanshu Batra 3 年之前
父节点
当前提交
198acb4138
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      wlan_cfg/cfg_dp.h

+ 4 - 0
wlan_cfg/cfg_dp.h

@@ -312,7 +312,11 @@
 
 #define WLAN_CFG_RXDMA_BUF_RING_SIZE 1024
 #define WLAN_CFG_RXDMA_BUF_RING_SIZE_MIN 1024
+#if defined(WLAN_MAX_PDEVS) && (WLAN_MAX_PDEVS == 1)
 #define WLAN_CFG_RXDMA_BUF_RING_SIZE_MAX 1024
+#else
+#define WLAN_CFG_RXDMA_BUF_RING_SIZE_MAX 4096
+#endif
 
 #define WLAN_CFG_RXDMA_REFILL_RING_SIZE 4096
 #define WLAN_CFG_RXDMA_REFILL_RING_SIZE_MIN 16