Commit e33d9ee4
incorrectly stated that:
> Now that nRF70 by default uses zero-copy fine-tune the configuration
to get optimal memory while getting peak throughputs.
This is incorrect since `NRF_WIFI_ZERO_COPY_TX` is only enabled by
default for the nRF54L series. Update the data heap size so that the
smaller value is only used when `NRF_WIFI_ZERO_COPY_TX` is enabled.
Signed-off-by: Jordan Yates <jordan@embeint.com>
33 lines
912 B
Text
33 lines
912 B
Text
# Copyright 2023 NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config NET_SAMPLE_CODE_RELOCATE
|
|
bool "Relocate networking code into RAM"
|
|
select CODE_DATA_RELOCATION
|
|
help
|
|
Relocate networking code into RAM when running the zperf
|
|
sample. Can improve performance on platforms with fast code
|
|
RAM.
|
|
|
|
if NET_SAMPLE_CODE_RELOCATE
|
|
|
|
config NET_SAMPLE_CODE_RAM_NAME
|
|
string "Networking code RAM location"
|
|
default "RAM"
|
|
help
|
|
Region to relocate networking code to
|
|
|
|
endif # NET_SAMPLE_CODE_RELOCATE
|
|
|
|
if USB_DEVICE_STACK_NEXT
|
|
# Source common USB sample options used to initialize new experimental USB
|
|
# device stack. The scope of these options is limited to USB samples in project
|
|
# tree, you cannot use them in your own application.
|
|
source "samples/subsys/usb/common/Kconfig.sample_usbd"
|
|
endif
|
|
|
|
configdefault NRF_WIFI_DATA_HEAP_SIZE
|
|
default 30000 if NRF_WIFI_ZERO_COPY_TX
|
|
default 50000
|
|
|
|
source "Kconfig.zephyr"
|