From f9f324f1684d8912c6a3958a75ed22e79d6ea6c9 Mon Sep 17 00:00:00 2001 From: Manikanta Pubbisetty Date: Tue, 18 May 2021 15:35:04 +0530 Subject: [PATCH] qcacmn: change DP RX packet drop thresholds The current limits of DP RX packet drop thresholds are huge; In scenarios, where the processing of RX packets is slow, huge number of packets will be held in the memory and could eventually lead to out of memory issues. Reducing the thresholds to address the problem. Change-Id: I76a2622fb30cda615aeb27fcc9c8e548ffec3e51 CRs-Fixed: 2941885 --- 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 06dd441e12..eeca995f69 100644 --- a/wlan_cfg/cfg_dp.h +++ b/wlan_cfg/cfg_dp.h @@ -112,9 +112,9 @@ #endif #ifdef NBUF_MEMORY_DEBUG -#define WLAN_CFG_RX_PENDING_THRESHOLD_DEFAULT 0x60000 +#define WLAN_CFG_RX_PENDING_THRESHOLD_DEFAULT 0xFFFF #else -#define WLAN_CFG_RX_PENDING_THRESHOLD_DEFAULT 0xD0000 +#define WLAN_CFG_RX_PENDING_THRESHOLD_DEFAULT 0x1FFFF #endif #define WLAN_CFG_RX_PENDING_HL_THRESHOLD \