mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-23 01:05:14 +00:00
esp32/lwip: add check sleep
1. fix tw8911 sleep in scan leads to auth frame malloc fail. 2. fix tw8913 pm state transfer wrong leads to wdt. 3. make some comments for modem sleep and wpa2 enterprise. 4. removd duplicated debug option ESP_THREAD_SAFE_DEBUG
This commit is contained in:
@@ -87,6 +87,7 @@ extern "C" {
|
||||
#define ESP_ERR_WIFI_SSID (ESP_ERR_WIFI_BASE + 9) /*!< SSID is invalid */
|
||||
#define ESP_ERR_WIFI_PASSWORD (ESP_ERR_WIFI_BASE + 10) /*!< Passord is invalid */
|
||||
#define ESP_ERR_WIFI_TIMEOUT (ESP_ERR_WIFI_BASE + 11) /*!< Timeout error */
|
||||
#define ESP_ERR_WIFI_WAKE_FAIL (ESP_ERR_WIFI_BASE + 12) /*!< WiFi is in sleep state(RF closed) and wakeup fail */
|
||||
|
||||
/**
|
||||
* @brief WiFi stack configuration parameters passed to esp_wifi_init call.
|
||||
@@ -327,6 +328,8 @@ esp_err_t esp_wifi_sta_get_ap_info(wifi_ap_record_t *ap_info);
|
||||
/**
|
||||
* @brief Set current power save type
|
||||
*
|
||||
* @attention Default power save type is WIFI_PS_NONE.
|
||||
*
|
||||
* @param type power save type
|
||||
*
|
||||
* @return ESP_ERR_WIFI_NOT_SUPPORT: not supported yet
|
||||
@@ -336,6 +339,8 @@ esp_err_t esp_wifi_set_ps(wifi_ps_type_t type);
|
||||
/**
|
||||
* @brief Get current power save type
|
||||
*
|
||||
* @attention Default power save type is WIFI_PS_NONE.
|
||||
*
|
||||
* @param[out] type: store current power save type
|
||||
*
|
||||
* @return ESP_ERR_WIFI_NOT_SUPPORT: not supported yet
|
||||
|
Reference in New Issue
Block a user