From 84616818d1aef849f469617944a7de65593c274d Mon Sep 17 00:00:00 2001 From: Triveni Danda Date: Thu, 21 Nov 2024 13:31:50 +0530 Subject: [PATCH] samples: wifi: throughput: Increase number of RX buffers This change is done to ensure improved throughput by increasing RX buffers in the nRF700x driver. Signed-off-by: Triveni Danda --- samples/wifi/throughput/overlay-high-performance.conf | 1 + samples/wifi/throughput/overlay-iot-devices.conf | 2 +- samples/wifi/throughput/overlay-memory-optimized.conf | 2 +- samples/wifi/throughput/overlay-tx-prio.conf | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/samples/wifi/throughput/overlay-high-performance.conf b/samples/wifi/throughput/overlay-high-performance.conf index 5ba58232fcad..d2ad4b424ce4 100644 --- a/samples/wifi/throughput/overlay-high-performance.conf +++ b/samples/wifi/throughput/overlay-high-performance.conf @@ -9,6 +9,7 @@ CONFIG_PICOLIBC_USE_MODULE=y CONFIG_SPEED_OPTIMIZATIONS=y CONFIG_NRF70_QSPI_LOW_POWER=n CONFIG_NRF70_UTIL=n +CONFIG_NRF70_RX_NUM_BUFS=20 CONFIG_NRF70_MAX_TX_AGGREGATION=9 CONFIG_NRF70_MAX_TX_TOKENS=12 CONFIG_ZVFS_OPEN_MAX=20 diff --git a/samples/wifi/throughput/overlay-iot-devices.conf b/samples/wifi/throughput/overlay-iot-devices.conf index 802afa3bf2b8..1d880d4d33ba 100644 --- a/samples/wifi/throughput/overlay-iot-devices.conf +++ b/samples/wifi/throughput/overlay-iot-devices.conf @@ -4,7 +4,7 @@ CONFIG_NET_PKT_TX_COUNT=6 CONFIG_NET_PKT_RX_COUNT=6 CONFIG_NET_BUF_TX_COUNT=12 CONFIG_NET_BUF_RX_COUNT=6 -CONFIG_NRF70_RX_NUM_BUFS=6 +CONFIG_NRF70_RX_NUM_BUFS=12 CONFIG_HEAP_MEM_POOL_SIZE=260000 CONFIG_PICOLIBC_USE_MODULE=y CONFIG_SPEED_OPTIMIZATIONS=y diff --git a/samples/wifi/throughput/overlay-memory-optimized.conf b/samples/wifi/throughput/overlay-memory-optimized.conf index 01ba023005db..d5ee45a6d3fd 100644 --- a/samples/wifi/throughput/overlay-memory-optimized.conf +++ b/samples/wifi/throughput/overlay-memory-optimized.conf @@ -4,7 +4,7 @@ CONFIG_NET_PKT_TX_COUNT=6 CONFIG_NET_PKT_RX_COUNT=6 CONFIG_NET_BUF_TX_COUNT=12 CONFIG_NET_BUF_RX_COUNT=6 -CONFIG_NRF70_RX_NUM_BUFS=6 +CONFIG_NRF70_RX_NUM_BUFS=12 CONFIG_HEAP_MEM_POOL_SIZE=260000 CONFIG_PICOLIBC_USE_MODULE=y CONFIG_SPEED_OPTIMIZATIONS=y diff --git a/samples/wifi/throughput/overlay-tx-prio.conf b/samples/wifi/throughput/overlay-tx-prio.conf index 374ae727eb6d..39697c38d3fa 100644 --- a/samples/wifi/throughput/overlay-tx-prio.conf +++ b/samples/wifi/throughput/overlay-tx-prio.conf @@ -4,7 +4,7 @@ CONFIG_NET_PKT_TX_COUNT=32 CONFIG_NET_PKT_RX_COUNT=10 CONFIG_NET_BUF_TX_COUNT=64 CONFIG_NET_BUF_RX_COUNT=10 -CONFIG_NRF70_RX_NUM_BUFS=10 +CONFIG_NRF70_RX_NUM_BUFS=12 CONFIG_HEAP_MEM_POOL_SIZE=260000 CONFIG_PICOLIBC_USE_MODULE=y CONFIG_SPEED_OPTIMIZATIONS=y