Skip to content

Commit

Permalink
samples: wifi: Remove fixed buffer size configuration
Browse files Browse the repository at this point in the history
This fixes a Kconfig warning as nRF70 by default uses variable buffer
sizes.

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 committed Oct 21, 2024
1 parent 3b71d5f commit a08e158
Show file tree
Hide file tree
Showing 21 changed files with 0 additions and 21 deletions.
1 change: 0 additions & 1 deletion samples/wifi/ble_coex/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ CONFIG_NET_PKT_TX_COUNT=24
CONFIG_NET_BUF_RX_COUNT=2
CONFIG_NET_BUF_TX_COUNT=48
CONFIG_HEAP_MEM_POOL_SIZE=200000
CONFIG_NET_BUF_DATA_SIZE=1100

CONFIG_WIFI_MGMT_EXT=y
CONFIG_WIFI_CREDENTIALS=y
Expand Down
1 change: 0 additions & 1 deletion samples/wifi/monitor/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ CONFIG_NET_PKT_TX_COUNT=3
# tuned for performance, but this will be revisited in the future.
CONFIG_NET_BUF_RX_COUNT=60
CONFIG_NET_BUF_TX_COUNT=6
CONFIG_NET_BUF_DATA_SIZE=1500
CONFIG_HEAP_MEM_POOL_SIZE=200000
CONFIG_NET_TC_TX_COUNT=1

Expand Down
1 change: 0 additions & 1 deletion samples/wifi/promiscuous/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ CONFIG_NET_PKT_TX_COUNT=3
# tuned for performance, but this will be revisited in the future.
CONFIG_NET_BUF_RX_COUNT=60
CONFIG_NET_BUF_TX_COUNT=6
CONFIG_NET_BUF_DATA_SIZE=1500
CONFIG_HEAP_MEM_POOL_SIZE=200000
CONFIG_NET_TC_TX_COUNT=1

Expand Down
1 change: 0 additions & 1 deletion samples/wifi/provisioning/ble/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ CONFIG_NET_PKT_TX_COUNT=8
# tuned for performance, but this will be revisited in the future.
CONFIG_NET_BUF_RX_COUNT=16
CONFIG_NET_BUF_TX_COUNT=16
CONFIG_NET_BUF_DATA_SIZE=128
CONFIG_HEAP_MEM_POOL_SIZE=153600
CONFIG_NET_TC_TX_COUNT=1

Expand Down
1 change: 0 additions & 1 deletion samples/wifi/raw_tx_packet/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ CONFIG_NET_PKT_TX_COUNT=8
# tuned for performance, but this will be revisited in the future.
CONFIG_NET_BUF_RX_COUNT=16
CONFIG_NET_BUF_TX_COUNT=16
CONFIG_NET_BUF_DATA_SIZE=1500
CONFIG_HEAP_MEM_POOL_SIZE=153600
CONFIG_NET_TC_TX_COUNT=1

Expand Down
1 change: 0 additions & 1 deletion samples/wifi/shell/boards/nrf7002dk_nrf5340_cpuapp_ns.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ CONFIG_NET_PKT_TX_COUNT=4
## tuned for performance, but this will be revisited in the future.
CONFIG_NET_BUF_RX_COUNT=8
CONFIG_NET_BUF_TX_COUNT=8
CONFIG_NET_BUF_DATA_SIZE=128
CONFIG_NET_TC_TX_COUNT=1
CONFIG_NET_TX_STACK_SIZE=2048
CONFIG_NET_RX_STACK_SIZE=2048
1 change: 0 additions & 1 deletion samples/wifi/shell/overlay-sap.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ CONFIG_NET_PKT_TX_COUNT=10
CONFIG_NET_BUF_RX_COUNT=10
CONFIG_NET_BUF_TX_COUNT=20
CONFIG_HEAP_MEM_POOL_SIZE=180000
CONFIG_NET_BUF_DATA_SIZE=1500
CONFIG_NRF70_QSPI_LOW_POWER=n
CONFIG_NET_ZPERF_MAX_PACKET_SIZE=1500

Expand Down
1 change: 0 additions & 1 deletion samples/wifi/shell/overlay-zperf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ CONFIG_NET_PKT_TX_COUNT=27
CONFIG_NET_BUF_RX_COUNT=28
CONFIG_NET_BUF_TX_COUNT=54
CONFIG_HEAP_MEM_POOL_SIZE=230000
CONFIG_NET_BUF_DATA_SIZE=1100
CONFIG_NRF70_QSPI_LOW_POWER=n
# To enable optimization configuration options
CONFIG_PICOLIBC_USE_MODULE=y
Expand Down
1 change: 0 additions & 1 deletion samples/wifi/shell/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ CONFIG_NET_PKT_TX_COUNT=8
# tuned for performance, but this will be revisited in the future.
CONFIG_NET_BUF_RX_COUNT=16
CONFIG_NET_BUF_TX_COUNT=16
CONFIG_NET_BUF_DATA_SIZE=128
CONFIG_NRF70_RX_NUM_BUFS=16
CONFIG_NRF70_MAX_TX_AGGREGATION=4
# nRF700x is main consumer: (16 + 8) * 1600 = ~40KB + ~40KB control path (experimental)
Expand Down
1 change: 0 additions & 1 deletion samples/wifi/softap/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ CONFIG_NET_PKT_TX_COUNT=8
# tuned for performance, but this will be revisited in the future.
CONFIG_NET_BUF_RX_COUNT=16
CONFIG_NET_BUF_TX_COUNT=16
CONFIG_NET_BUF_DATA_SIZE=1500
CONFIG_HEAP_MEM_POOL_SIZE=153600
CONFIG_NET_TC_TX_COUNT=1

Expand Down
1 change: 0 additions & 1 deletion samples/wifi/sta/overlay-enterprise.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE=y
# EAP frames are ~1100 bytes, so, for efficiency, we set the data size to 1100
CONFIG_NET_BUF_DATA_SIZE=1100
# Use variable data size to reduce memory usage for small data packets
CONFIG_NET_BUF_VARIABLE_DATA_SIZE=y
# For TLS and X.509 processing MbedTLS needs large heap size and using separate heap
Expand Down
1 change: 0 additions & 1 deletion samples/wifi/sta/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ CONFIG_NET_PKT_TX_COUNT=8
# tuned for performance, but this will be revisited in the future.
CONFIG_NET_BUF_RX_COUNT=8
CONFIG_NET_BUF_TX_COUNT=16
CONFIG_NET_BUF_DATA_SIZE=128
CONFIG_NRF70_RX_NUM_BUFS=16
CONFIG_HEAP_MEM_POOL_SIZE=90000
CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y
Expand Down
1 change: 0 additions & 1 deletion samples/wifi/thread_coex/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ CONFIG_ZVFS_OPEN_MAX=16
# Optimized networking settings for performance
CONFIG_NET_TC_TX_COUNT=1
CONFIG_HEAP_MEM_POOL_SIZE=200000
CONFIG_NET_BUF_DATA_SIZE=1100

# Below Wi-Fi configs need to be modified based on security
CONFIG_WIFI_MGMT_EXT=y
Expand Down
1 change: 0 additions & 1 deletion samples/wifi/throughput/overlay-high-performance.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ CONFIG_NET_PKT_TX_COUNT=30
CONFIG_NET_PKT_RX_COUNT=27
CONFIG_NET_BUF_TX_COUNT=60
CONFIG_NET_BUF_RX_COUNT=27
CONFIG_NET_BUF_DATA_SIZE=1100
CONFIG_HEAP_MEM_POOL_SIZE=230000
CONFIG_SPEED_OPTIMIZATIONS=y
CONFIG_NRF70_QSPI_LOW_POWER=n
Expand Down
1 change: 0 additions & 1 deletion samples/wifi/throughput/overlay-iot-devices.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,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_NET_BUF_DATA_SIZE=800
CONFIG_HEAP_MEM_POOL_SIZE=230000
CONFIG_SPEED_OPTIMIZATIONS=y
CONFIG_NRF70_QSPI_LOW_POWER=n
Expand Down
1 change: 0 additions & 1 deletion samples/wifi/throughput/overlay-memory-optimized.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,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_NET_BUF_DATA_SIZE=500
CONFIG_HEAP_MEM_POOL_SIZE=230000
CONFIG_SPEED_OPTIMIZATIONS=y
CONFIG_NRF70_QSPI_LOW_POWER=n
Expand Down
1 change: 0 additions & 1 deletion samples/wifi/throughput/overlay-rx-prio.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ CONFIG_NET_PKT_RX_COUNT=64
CONFIG_NET_BUF_TX_COUNT=10
CONFIG_NET_BUF_RX_COUNT=64
CONFIG_NRF70_RX_NUM_BUFS=64
CONFIG_NET_BUF_DATA_SIZE=1100
CONFIG_HEAP_MEM_POOL_SIZE=230000
CONFIG_SPEED_OPTIMIZATIONS=y
CONFIG_NRF70_QSPI_LOW_POWER=n
Expand Down
1 change: 0 additions & 1 deletion samples/wifi/throughput/overlay-tx-prio.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ 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_NET_BUF_DATA_SIZE=1100
CONFIG_HEAP_MEM_POOL_SIZE=230000
CONFIG_SPEED_OPTIMIZATIONS=y
CONFIG_NRF70_QSPI_LOW_POWER=n
Expand Down
1 change: 0 additions & 1 deletion samples/wifi/throughput/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ CONFIG_NET_PKT_TX_COUNT=8
# tuned for performance, but this will be revisited in the future.
CONFIG_NET_BUF_RX_COUNT=16
CONFIG_NET_BUF_TX_COUNT=16
CONFIG_NET_BUF_DATA_SIZE=128
CONFIG_NRF70_RX_NUM_BUFS=16
CONFIG_NRF70_MAX_TX_AGGREGATION=4
# nRF700x is main consumer: (16 + 8) * 1600 = ~40KB + ~40KB control path (experimental)
Expand Down
1 change: 0 additions & 1 deletion samples/wifi/twt/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ CONFIG_NET_PKT_TX_COUNT=8
CONFIG_NET_PKT_RX_COUNT=16
CONFIG_NET_BUF_TX_COUNT=16
CONFIG_NET_BUF_RX_COUNT=16
CONFIG_NET_BUF_DATA_SIZE=1500
CONFIG_HEAP_MEM_POOL_SIZE=180000
#CONFIG_SPEED_OPTIMIZATIONS=y
#CONFIG_NRF70_MAX_TX_AGGREGATION=9
Expand Down
1 change: 0 additions & 1 deletion samples/wifi/wfa_qt_app/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ CONFIG_NET_PKT_TX_COUNT=8
# tuned for performance, but this will be revisited in the future.
CONFIG_NET_BUF_RX_COUNT=16
CONFIG_NET_BUF_TX_COUNT=16
CONFIG_NET_BUF_DATA_SIZE=1500
CONFIG_HEAP_MEM_POOL_SIZE=153600
CONFIG_NET_TC_TX_COUNT=1

Expand Down

0 comments on commit a08e158

Please sign in to comment.