Feature enable and memory impact
Features |
Macros to enable the feature |
Memory impact |
---|---|---|
CSI |
CONFIG_CSI |
Flash - 60K, RAM - 4K |
DPP |
CONFIG_WPA_SUPP_DPP |
Flash - 240K, RAM - 12K |
Independent reset |
CONFIG_WIFI_IND_DNLD |
Minimal |
Parallel firmware download Wi-Fi |
CONFIG_WIFI_IND_DNLD |
Minimal |
Parallel firmware download Bluetooth |
CONFIG_BT_IND_DNLD |
Minimal |
WPA3 enterprise |
CONFIG_WPA_SUPP_CRYPTO_ENTERPRISE [Macros specific to EAP-methods included] |
Flash - 165K, RAM - 18K |
WPA2 enterprise |
CONFIG_WPA_SUPP_CRYPTO_ENTERPRISE [Macros specific to EAP-methods included] |
Flash - 165K, RAM - 18K |
Host sleep |
CONFIG_HOST_SLEEP |
Minimal |
WMM |
CONFIG_WMM[^1] |
Flash - 10K, RAM - 57K |
802.11mc |
CONFIG_11MC |
Flash: 52.78KB, RAM : 121.1KB |
802.11az |
CONFIG_11MC |
Flash: 52.78KB, RAM : 121.1KB |
Non-blocking firmware download mechanism |
CONFIG_FW_DNLD_ASYNC |
— |
Antenna diversity |
CONFIG_WLAN_CALDATA_2ANT_DIVERSITY |
- |
P2P |
CONFIG_WPA_SUPP_P2P |
- |
Note:
For Wi-Fi, the macros are set with the value “0” by default in the file wifi_config_default.h located in <SDK_PATH>/middleware/wifi_nxp/incl/ directory.
To enable the features, set the value of the macros to “1*” in the file wifi_config.h located in*<SDK_Wi-Fi_Example_PATH>/ directory***.***
Bluetooth
To enable the features, set the value of the macros to “1” in the file app_bluetooth_config.h located in <SDK_Bluetooth_Example_PATH>/ directory.
Kconfig memory optimizer
The MCUXpresso SDK provides options to reduce the host memory usage with build-time configuration parameters referred to as Kconfig memory optimizer. The configuration parameters are used to reduce the use of the flash memory and SRAM.
This section explains how to enable the host memory saving configurations within the Wi-Fi drivers of NXP wireless devices.
Memory impact of i.MX RT1060 EVKC + IW416 module (Murata 1XK):
Maximum Flash usage: 889 KB
Maximum SRAM usage: 418.77 KB
To reduce the use of the flash and SRAM, change the settings of the Kconfig macros listed in table in the file wifi_config.h located in <path-to-SDK_Wi-Fi_Example> directory.
Kconfig macros |
Feature disabled |
---|---|
CONFIG_WIFI_SLIM_ROAM |
CONFIG_ROAMING |
CONFIG_WIFI_SLIM_STA |
|
CONFIG_WIFI_SLIM_UAP |
CONFIG_UAP_STA_MAC_ADDR_FILTER |
CONFIG_FREERTOS_LOW_MEMORY_FOOTPRINT |
If the macro is enabled, the heap memory usage is reduced by 10 KB (from 70 KB to 60 KB). |
CONFIG_LWIP_LOW_MEM_FOOTPRINT |
Curtails LWIP stack parameters, reduces data throughput, disables data net-stats |
Non-blocking firmware download mechanism |
CONFIG_FW_DNLD_ASYNC |
Parent topic:Feature enable and memory impact
[^1] The macro is not used for IW416.
[^2] Prerequisite macros for 802.11mc and 802.11az features