Skip to content

Commit b01ac95

Browse files
D-Trivenikartben
authored andcommitted
drivers: wifi: nrfwifi: Enable variable network configurations
Add variable network configuration control into the driver to optimize RAM usage by default. The pool sizes are default, and tuning is left to the applications or samples. Signed-off-by: Triveni Danda <[email protected]>
1 parent 3a2a7c1 commit b01ac95

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/wifi/nrf_wifi/Kconfig.nrfwifi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,12 @@ config NET_TC_TX_COUNT
561561

562562
endif # NETWORKING
563563

564+
# nRF70 now uses variable buffers as default to optimize RAM usage. Default pool sizes are used, samples/apps can override
565+
# for higher performance.
566+
choice NET_PKT_DATA_ALLOC_TYPE
567+
default NET_BUF_VARIABLE_DATA_SIZE
568+
endchoice
569+
564570
config MAIN_STACK_SIZE
565571
default 4096
566572

0 commit comments

Comments
 (0)