From 018b298dba2de73332575e31e71be222fbc6e384 Mon Sep 17 00:00:00 2001 From: Rakesh Pillai Date: Fri, 3 Apr 2020 19:42:21 +0530 Subject: [PATCH] qcacmn: Increase the wbm release ring size The WBM release ring size of 64 is a bit too small for bursty nature of inwards traffic. In monitor mode, there can be a huge ingress of packets and returning the link descriptors back to the WBM can fail due to its small size. Increase the WBM release ring size to match the RXDMA buffer ring. Change-Id: I41c755f29566cd8cb99520736d34304344a82776 CRs-Fixed: 2650480 --- wlan_cfg/cfg_dp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wlan_cfg/cfg_dp.h b/wlan_cfg/cfg_dp.h index 4d5112f84a..82b73940e3 100644 --- a/wlan_cfg/cfg_dp.h +++ b/wlan_cfg/cfg_dp.h @@ -184,9 +184,9 @@ #define WLAN_CFG_NUM_REO_DEST_RING_MIN 4 #define WLAN_CFG_NUM_REO_DEST_RING_MAX 4 -#define WLAN_CFG_WBM_RELEASE_RING_SIZE 64 +#define WLAN_CFG_WBM_RELEASE_RING_SIZE 1024 #define WLAN_CFG_WBM_RELEASE_RING_SIZE_MIN 64 -#define WLAN_CFG_WBM_RELEASE_RING_SIZE_MAX 64 +#define WLAN_CFG_WBM_RELEASE_RING_SIZE_MAX 1024 #define WLAN_CFG_TCL_CMD_CREDIT_RING_SIZE 32 #define WLAN_CFG_TCL_CMD_CREDIT_RING_SIZE_MIN 32