mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
esp_wifi: Fix some wifi bugs
1.Add beacon timeout event. 2.Update TBTT when rx probe respones after beacon timeout. 3.Fix ESPTouch v2 issues.
This commit is contained in:
@ -94,6 +94,9 @@ static system_event_id_t esp_event_legacy_wifi_event_id(int32_t event_id)
|
|||||||
case WIFI_EVENT_FTM_REPORT:
|
case WIFI_EVENT_FTM_REPORT:
|
||||||
return SYSTEM_EVENT_FTM_REPORT;
|
return SYSTEM_EVENT_FTM_REPORT;
|
||||||
|
|
||||||
|
case WIFI_EVENT_STA_BEACON_TIMEOUT:
|
||||||
|
return SYSTEM_EVENT_STA_BEACON_TIMEOUT;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
ESP_LOGE(TAG, "invalid wifi event id %d", event_id);
|
ESP_LOGE(TAG, "invalid wifi event id %d", event_id);
|
||||||
return SYSTEM_EVENT_MAX;
|
return SYSTEM_EVENT_MAX;
|
||||||
|
@ -50,6 +50,7 @@ typedef enum {
|
|||||||
SYSTEM_EVENT_AP_PROBEREQRECVED, /*!< Receive probe request packet in soft-AP interface */
|
SYSTEM_EVENT_AP_PROBEREQRECVED, /*!< Receive probe request packet in soft-AP interface */
|
||||||
SYSTEM_EVENT_ACTION_TX_STATUS, /*!< Receive status of Action frame transmitted */
|
SYSTEM_EVENT_ACTION_TX_STATUS, /*!< Receive status of Action frame transmitted */
|
||||||
SYSTEM_EVENT_ROC_DONE, /*!< Indicates the completion of Remain-on-Channel operation status */
|
SYSTEM_EVENT_ROC_DONE, /*!< Indicates the completion of Remain-on-Channel operation status */
|
||||||
|
SYSTEM_EVENT_STA_BEACON_TIMEOUT, /*!< ESP32 station beacon timeout */
|
||||||
SYSTEM_EVENT_FTM_REPORT, /*!< Receive report of FTM procedure */
|
SYSTEM_EVENT_FTM_REPORT, /*!< Receive report of FTM procedure */
|
||||||
SYSTEM_EVENT_GOT_IP6, /*!< ESP32 station or ap or ethernet interface v6IP addr is preferred */
|
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_START, /*!< ESP32 ethernet start */
|
||||||
|
@ -599,6 +599,8 @@ typedef enum {
|
|||||||
WIFI_EVENT_ACTION_TX_STATUS, /**< Status indication of Action Tx operation */
|
WIFI_EVENT_ACTION_TX_STATUS, /**< Status indication of Action Tx operation */
|
||||||
WIFI_EVENT_ROC_DONE, /**< Remain-on-Channel operation complete */
|
WIFI_EVENT_ROC_DONE, /**< Remain-on-Channel operation complete */
|
||||||
|
|
||||||
|
WIFI_EVENT_STA_BEACON_TIMEOUT, /**< ESP32 station beacon timeout */
|
||||||
|
|
||||||
WIFI_EVENT_MAX, /**< Invalid WiFi event ID */
|
WIFI_EVENT_MAX, /**< Invalid WiFi event ID */
|
||||||
} wifi_event_t;
|
} wifi_event_t;
|
||||||
|
|
||||||
|
Submodule components/esp_wifi/lib updated: d5b9e13d67...91bb607df5
Reference in New Issue
Block a user