Quellcode durchsuchen

qcacmn: Reduce mgmt desc pool max size for lowmem

Reduce mgmt desc pool max size for lowmem

Change-Id: Idca644a14c656d04d34c031c4ca47d5d80b8b80e
CRs-Fixed: 2491773
Surya Prakash Raajen vor 5 Jahren
Ursprung
Commit
75c5327b19

+ 6 - 0
umac/cmn_services/mgmt_txrx/dispatcher/inc/wlan_mgmt_txrx_utils_api.h

@@ -33,8 +33,14 @@
 #ifdef CONFIG_MCL
 #define MGMT_DESC_POOL_MAX 64
 #else
+#ifdef QCA_LOWMEM_CONFIG
+#define MGMT_DESC_POOL_MAX 256
+#elif defined QCA_512M_CONFIG
+#define MGMT_DESC_POOL_MAX 384
+#else
 #define MGMT_DESC_POOL_MAX 512
 #endif
+#endif
 
 #define mgmt_txrx_alert(params...) \
 	QDF_TRACE_FATAL(QDF_MODULE_ID_MGMT_TXRX, params)