samples: net: zperf: Add nRF7002DK support

Add settings to get peak throughputs for nRF7002DK, this relies on the
overlay-wifi-nm-hostap.conf.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
Chaitanya Tata 2024-12-30 19:38:11 +05:30 committed by Benjamin Cabé
parent b28f246f53
commit fc35130330
3 changed files with 36 additions and 0 deletions

View file

@ -61,3 +61,9 @@ Usage
See :ref:`zperf library documentation <zperf>` for more information about See :ref:`zperf library documentation <zperf>` for more information about
the library usage. the library usage.
Wi-Fi
=====
The IPv4 Wi-Fi support can be enabled in the sample with
:ref:`Wi-Fi snippet <snippet-wifi-ipv4>`.

View file

@ -0,0 +1,25 @@
# Optimized networking settings for performance
CONFIG_NET_PKT_RX_COUNT=28
CONFIG_NET_PKT_TX_COUNT=27
CONFIG_NET_BUF_RX_COUNT=28
CONFIG_NET_BUF_TX_COUNT=54
CONFIG_NET_BUF_DATA_SIZE=1100
CONFIG_HEAP_MEM_POOL_SIZE=260000
CONFIG_NRF70_MAX_TX_AGGREGATION=4
CONFIG_NRF70_QSPI_LOW_POWER=n
# For speed optimizations
CONFIG_PICOLIBC_USE_MODULE=y
# Consumes more memory
CONFIG_WIFI_CREDENTIALS=n
CONFIG_FLASH=n
CONFIG_NVS=n
CONFIG_SETTINGS=n
# Debugging
CONFIG_NRF70_UTIL=y
CONFIG_SYS_HEAP_RUNTIME_STATS=y
CONFIG_NET_STATISTICS=y
CONFIG_NET_STATISTICS_WIFI=y
CONFIG_NET_STATISTICS_USER_API=y

View file

@ -123,3 +123,8 @@ tests:
sample.net.zperf.802154.subg: sample.net.zperf.802154.subg:
extra_args: EXTRA_CONF_FILE="overlay-802154-subg.conf" extra_args: EXTRA_CONF_FILE="overlay-802154-subg.conf"
platform_allow: beagleconnect_freedom platform_allow: beagleconnect_freedom
sample.net.zperf.nrf7002dk:
extra_args: SNIPPET=wifi-ipv4
extra_configs:
- CONFIG_BUILD_ONLY_NO_BLOBS=y
platform_allow: nrf7002dk/nrf5340/cpuapp