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 |
— |
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.
SLIM feature
The SLIM feature is used to reduce the consumption of the flash memory and SRAM of low-end boards like the FRDM MCXN947.
Memory impact:
Maximum Flash usage: 607.62 KB (29.67%).
Maximum SRAM usage: 297.73 KB (58.15%)
SLIM macros |
Feature disabled |
---|---|
CONFIG_WIFI_SLIM_ROAM |
CONFIG_ROAMING |
CONFIG_WIFI_SLIM_STA |
CONFIG_5GHz_SUPPORT\ (applicable for RW612) |
CONFIG_WIFI_SLIM_UAP |
CONFIG_UAP_STA_MAC_ADDR_FILTER |
CONFIG_FREERTOS_LOW_MEMORY_FOOTPRINT |
When the macro is enabled, the heap memory usage is reduced by 10 KB (from 70 KB to 60 KB). |
CONFIG_LWIP_LOW_MEM_FOOTPRINT |
When the macro is enabled:
|
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