Skip to content

Commit f9ca61c

Browse files
committed
wifi: nrf_wifi: Reduce default DATA_HEAP size
Most samples may not need 130000 bytes for data plane operations. With STA sample, 40000 bytes have been established as enough for basic traffic. Reduce RX ring buffer size accordingly to 16. Signed-off-by: Ravi Dondaputi <[email protected]>
1 parent 7e17df0 commit f9ca61c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/wifi/nrf_wifi/Kconfig.nrfwifi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ config NRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HE
396396

397397
config NRF70_RX_NUM_BUFS
398398
int "Number of RX buffers"
399-
default 48
399+
default 16
400400

401401
config NRF70_MAX_TX_AGGREGATION
402402
int "Maximum number of TX packets to aggregate"
@@ -536,7 +536,8 @@ config NRF_WIFI_DATA_HEAP_SIZE
536536
int "Dedicated memory pool for data plane"
537537
default 8000 if NRF70_SCAN_ONLY || NRF70_RADIO_TEST #TODO: Need to optimize this.
538538
default 110000 if !SOC_FAMILY_NORDIC_NRF
539-
default 130000
539+
default 30000 if NRF_WIFI_ZERO_COPY_TX
540+
default 40000
540541

541542
if NETWORKING
542543
# Finetune defaults for certain system components used by the driver

0 commit comments

Comments
 (0)