From b5af7e71818f0286706eae36eb6137d5d5a32e38 Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Sun, 19 Jan 2025 00:22:01 +0530 Subject: [PATCH] samples: wifi: sta: Reduce RAM usage In few experiments, it was found that we only 75000 heap for driver, this reduced 15000 RAM. Signed-off-by: Chaitanya Tata --- samples/wifi/sta/prj.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/wifi/sta/prj.conf b/samples/wifi/sta/prj.conf index a438c852cca6..5a0d3a111f6b 100644 --- a/samples/wifi/sta/prj.conf +++ b/samples/wifi/sta/prj.conf @@ -28,12 +28,13 @@ CONFIG_NET_DHCPV4=y CONFIG_NET_PKT_RX_COUNT=16 CONFIG_NET_PKT_TX_COUNT=16 +CONFIG_NRF70_RX_NUM_BUFS=16 # Below section is the primary contributor to SRAM and is currently # tuned for performance, but this will be revisited in the future. CONFIG_NET_BUF_RX_COUNT=16 CONFIG_NET_BUF_TX_COUNT=32 -CONFIG_HEAP_MEM_POOL_SIZE=120000 +CONFIG_HEAP_MEM_POOL_SIZE=105000 CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y CONFIG_NET_TC_TX_COUNT=1