瀏覽代碼

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
Manikanta Pubbisetty 4 年之前
父節點
當前提交
f9f324f168
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      wlan_cfg/cfg_dp.h

+ 2 - 2
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 \