Skip to content

Commit e64f6be

Browse files
sylvioalvesdkalowsk
authored andcommitted
drivers: wifi: esp32: keep slp iram opt off in no-blobs builds
Without CONFIG_PM the Wi-Fi SLP IRAM optimization path calls esp_wifi_internal_update_modem_sleep_default_params(), which is only provided by the Wi-Fi blobs. Builds on Wi-Fi 6 SoCs with CONFIG_BUILD_ONLY_NO_BLOBS=y fail to link, so keep the option default off there until a stub is available. Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
1 parent be39a96 commit e64f6be

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

drivers/wifi/esp32/Kconfig.esp32

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,9 @@ config ESP32_WIFI_SLP_IRAM_OPT
326326
bool "Wi-Fi SLP IRAM speed optimization"
327327
select SOC_ESP32_PM_SLP_DEFAULT_PARAMS_OPT if PM && TICKLESS_KERNEL
328328
select ESP32_PM_SLP_IRAM_OPT if PM && TICKLESS_KERNEL
329-
default y if SOC_ESP32_WIFI_HE_SUPPORT
329+
# Keep disabled in no-blobs builds: without CONFIG_PM this path
330+
# links a modem sleep function that only the blobs provide.
331+
default y if SOC_ESP32_WIFI_HE_SUPPORT && !BUILD_ONLY_NO_BLOBS
330332
help
331333
Select this option to place called Wi-Fi library TBTT process and receive
332334
beacon functions in IRAM. Some functions can be put in IRAM either by

0 commit comments

Comments
 (0)