disable wifi power save mode to fix bcn_timeout disconnects

This commit is contained in:
jess 2026-04-03 06:55:10 -07:00
parent 3239eaf9c8
commit ea3356ac20
2 changed files with 2 additions and 0 deletions

View File

@ -371,6 +371,7 @@ static int wifi_ap_init(void)
err = esp_wifi_start();
if (err) return err;
esp_wifi_set_ps(WIFI_PS_NONE);
esp_wifi_set_inactive_time(WIFI_IF_AP, 120);
if (strlen(STA_SSID) > 0) {

View File

@ -1,2 +1,3 @@
CONFIG_IDF_TARGET="esp32s3"
CONFIG_LWIP_DHCPS_MAX_STATION_NUM=12
CONFIG_ESP_WIFI_SLP_IRAM_OPT=n