From 199414cd7ec416319418201f121ad1ce41223b1f Mon Sep 17 00:00:00 2001 From: Xia Xiaotian Date: Fri, 6 Nov 2020 20:38:10 +0800 Subject: [PATCH] Wi-Fi: set softap beacon DTIM count according to TSF timer --- components/esp_wifi/include/esp_wifi_types.h | 2 +- components/esp_wifi/lib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_wifi/include/esp_wifi_types.h b/components/esp_wifi/include/esp_wifi_types.h index d54e97d258..665cb3affc 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/components/esp_wifi/include/esp_wifi_types.h @@ -220,7 +220,7 @@ typedef struct { wifi_auth_mode_t authmode; /**< Auth mode of ESP32 soft-AP. Do not support AUTH_WEP in soft-AP mode */ uint8_t ssid_hidden; /**< Broadcast SSID or not, default 0, broadcast the SSID */ uint8_t max_connection; /**< Max number of stations allowed to connect in, default 4, max 10 */ - uint16_t beacon_interval; /**< Beacon interval, 100 ~ 60000 ms, default 100 ms */ + uint16_t beacon_interval; /**< Beacon interval which should be multiples of 100. Unit: TU(time unit, 1 TU = 1024 us). Range: 100 ~ 60000. Default value: 100 */ } wifi_ap_config_t; /** @brief STA configuration settings for the ESP32 */ diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 13d67d9b93..57db56bfea 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 13d67d9b93b7b0a4043754dc893dddcbf3f7ead1 +Subproject commit 57db56bfeae0423a446f4d72f166fe044ee8c3ab