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
CONFIG_WIFI_IND_RESET

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]
CONFIG_EAP_TLS
CONFIG_EAP_PEAP
CONFIG_EAP_TTLS
CONFIG_EAP_FAST
CONFIG_EAP_SIM
CONFIG_EAP_AKA
CONFIG_EAP_AKA_PRIME

Flash - 165K, RAM - 18K

WPA2 enterprise

CONFIG_WPA_SUPP_CRYPTO_ENTERPRISE [Macros specific to EAP-methods included]
CONFIG_EAP_TLS
CONFIG_EAP_PEAP
CONFIG_EAP_TTLS
CONFIG_EAP_FAST
CONFIG_EAP_SIM
CONFIG_EAP_AKA
CONFIG_EAP_AKA_PRIME

Flash - 165K, RAM - 18K

Host sleep

CONFIG_HOST_SLEEP

Minimal

WMM

CONFIG_WMM[^1]

Flash - 10K, RAM - 57K

802.11mc

CONFIG_11MC
CONFIG_CSI
CONFIG_WLS_CSI_PROC[^2]
CONFIG_11AZ

Flash: 52.78KB, RAM : 121.1KB

802.11az

CONFIG_11MC
CONFIG_CSI[2]
CONFIG_WLS_CSI_PROC[^2]
CONFIG_11AZ

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_11R

CONFIG_WIFI_SLIM_STA


CONFIG_CLOUD_KEEP_ALIVE
CONFIG_WIFI_EU_CRYPTO
CONFIG_TX_AMPDU_PROT_MODE
CONFIG_WNM_PS CONFIG_TURBO_MODE
CONFIG_AUTO_RECONNECT
CONFIG_DRIVER_OWE CONFIG_OWE
CONFIG_WIFI_FORCE_RTS
CONFIG_WIFI_FRAG_THRESHOLD
CONFIG_COMBO_SCAN
CONFIG_SCAN_CHANNEL_GAP

CONFIG_WIFI_SLIM_UAP

CONFIG_UAP_STA_MAC_ADDR_FILTER
CONFIG_WIFI_MAX_CLIENTS_CNT

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