Merge branch 'feature/bss_max_idle' into 'master'

feat(wifi): Improve and enable bss max idle support on all chips

See merge request espressif/esp-idf!34656
This commit is contained in:
Jiang Jiang Jian
2025-04-08 22:44:33 +08:00
11 changed files with 288 additions and 25 deletions

View File

@@ -75,6 +75,12 @@ void wifi_init_softap(void)
.pmf_cfg = {
.required = true,
},
#ifdef CONFIG_ESP_WIFI_BSS_MAX_IDLE_SUPPORT
.bss_max_idle_cfg = {
.period = WIFI_AP_DEFAULT_MAX_IDLE_PERIOD,
.protected_keep_alive = 1,
},
#endif
},
};
if (strlen(EXAMPLE_ESP_WIFI_PASS) == 0) {