diff --git a/components/esp_event/event_send_compat.inc b/components/esp_event/event_send_compat.inc index eff799975b..b622af85cd 100644 --- a/components/esp_event/event_send_compat.inc +++ b/components/esp_event/event_send_compat.inc @@ -269,6 +269,10 @@ static void esp_system_event_debug(const system_event_t* event) MAC2STR(ap_probereqrecved->mac)); break; } + case SYSTEM_EVENT_STA_BEACON_TIMEOUT: { + ESP_LOGD(TAG, "SYSTEM_EVENT_STA_BEACON_TIMEOUT"); + break; + } case SYSTEM_EVENT_GOT_IP6: { const ip6_addr_t *addr = &event->event_info.got_ip6.ip6_info.ip; ESP_LOGD(TAG, "SYSTEM_EVENT_AP_STA_GOT_IP6 address %04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x", diff --git a/components/esp_event/include/esp_event_legacy.h b/components/esp_event/include/esp_event_legacy.h index 4678330d14..d6bf166160 100644 --- a/components/esp_event/include/esp_event_legacy.h +++ b/components/esp_event/include/esp_event_legacy.h @@ -47,6 +47,7 @@ typedef enum { SYSTEM_EVENT_AP_STADISCONNECTED, /*!< a station disconnected from ESP32 soft-AP */ SYSTEM_EVENT_AP_STAIPASSIGNED, /*!< ESP32 soft-AP assign an IP to a connected station */ SYSTEM_EVENT_AP_PROBEREQRECVED, /*!< Receive probe request packet in soft-AP interface */ + SYSTEM_EVENT_STA_BEACON_TIMEOUT, /*!< ESP32 station beacon timeout */ SYSTEM_EVENT_GOT_IP6, /*!< ESP32 station or ap or ethernet interface v6IP addr is preferred */ SYSTEM_EVENT_ETH_START, /*!< ESP32 ethernet start */ SYSTEM_EVENT_ETH_STOP, /*!< ESP32 ethernet stop */ diff --git a/components/esp_wifi/include/esp_wifi_types.h b/components/esp_wifi/include/esp_wifi_types.h index 8192f3054c..cb9e0a0b0a 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/components/esp_wifi/include/esp_wifi_types.h @@ -521,6 +521,8 @@ typedef enum { WIFI_EVENT_AP_STADISCONNECTED, /**< a station disconnected from ESP32 soft-AP */ WIFI_EVENT_AP_PROBEREQRECVED, /**< Receive probe request packet in soft-AP interface */ + + WIFI_EVENT_STA_BEACON_TIMEOUT, /**< ESP32 station beacon timeout */ } wifi_event_t; /** @cond **/ diff --git a/components/esp_wifi/lib_esp32 b/components/esp_wifi/lib_esp32 index f730ff7ce0..c94eb4e69e 160000 --- a/components/esp_wifi/lib_esp32 +++ b/components/esp_wifi/lib_esp32 @@ -1 +1 @@ -Subproject commit f730ff7ce07282c45fab3bdf2f42eddf7e14bce8 +Subproject commit c94eb4e69ed1e772e7db0a53bbbd13694ba59f91