Ver Fonte

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 há 4 anos atrás
pai
commit
f9f324f168
1 ficheiros alterados com 2 adições e 2 exclusões
  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 \