From 0df80242193a0888c2c00713155ff322a96962dc 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 af3c856934..2c774e6426 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 c991cf06c5..8075af81e8 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit c991cf06c5914027d932e4edfeb19392eaa4d1c3 +Subproject commit 8075af81e896da21dfdb25fed98ff5c96b899ed4