Skip to content

Commit dad0b94

Browse files
Krishna Tnordicjm
authored andcommitted
samples: wifi: shell: Reduce RX buffer to make room
For WPA supplicant to work properly it needs enough libc malloc, but with recent changes might run out of memory, so, decrease RX buffers to make room, as in our profiling we have seen 30 RX packets are enough, this shouldn't impact the performance. Fixes SHEL-1553 and SHEL-1512. Signed-off-by: Krishna T <[email protected]>
1 parent 65ca878 commit dad0b94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/wifi/shell/overlay-zperf.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
CONFIG_NET_ZPERF=y
22
CONFIG_POSIX_MAX_FDS=16
33
# Optimized networking settings for performance
4-
CONFIG_NET_PKT_RX_COUNT=32
4+
CONFIG_NET_PKT_RX_COUNT=30
55
CONFIG_NET_PKT_TX_COUNT=32
6-
CONFIG_NET_BUF_RX_COUNT=32
6+
CONFIG_NET_BUF_RX_COUNT=30
77
CONFIG_NET_BUF_TX_COUNT=64
88
CONFIG_HEAP_MEM_POOL_SIZE=230000
99
CONFIG_NET_BUF_DATA_SIZE=1100

0 commit comments

Comments
 (0)