disable wifi power save mode to fix bcn_timeout disconnects
This commit is contained in:
parent
3239eaf9c8
commit
ea3356ac20
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
CONFIG_IDF_TARGET="esp32s3"
|
||||
CONFIG_LWIP_DHCPS_MAX_STATION_NUM=12
|
||||
CONFIG_ESP_WIFI_SLP_IRAM_OPT=n
|
||||
|
|
|
|||
Loading…
Reference in New Issue