Merge branch 'bugfix/fixed_some_wifi_bugs_240325_v5.2' into 'release/v5.2'

fix(wifi): fix some wifi bugs 230325(Backport v5.2)

See merge request espressif/esp-idf!29826
This commit is contained in:
Jiang Jiang Jian 2024-03-26 10:37:50 +08:00
commit fc56156013
2 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/* /*
* SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD * SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
@ -398,6 +398,7 @@ esp_err_t esp_wifi_restore(void);
* - ESP_OK: succeed * - ESP_OK: succeed
* - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init * - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
* - ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start * - ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start
* - ESP_ERR_WIFI_MODE: WiFi mode error
* - ESP_ERR_WIFI_CONN: WiFi internal error, station or soft-AP control block wrong * - ESP_ERR_WIFI_CONN: WiFi internal error, station or soft-AP control block wrong
* - ESP_ERR_WIFI_SSID: SSID of AP which station connects is invalid * - ESP_ERR_WIFI_SSID: SSID of AP which station connects is invalid
*/ */
@ -1458,9 +1459,10 @@ esp_err_t esp_wifi_sta_get_negotiated_phymode(wifi_phy_mode_t *phymode);
esp_err_t esp_wifi_set_dynamic_cs(bool enabled); esp_err_t esp_wifi_set_dynamic_cs(bool enabled);
/** /**
* @brief Get the rssi info after station connected to AP * @brief Get the rssi information of AP to which the device is associated with
* *
* @attention This API should be called after station connected to AP. * @attention 1. This API should be called after station connected to AP.
* @attention 2. Use this API only in WIFI_MODE_STA or WIFI_MODE_APSTA mode.
* *
* @param rssi store the rssi info received from last beacon. * @param rssi store the rssi info received from last beacon.
* *

@ -1 +1 @@
Subproject commit 0e0ccbb3ed7afa066a2935a0a3a6bcd65740d2f5 Subproject commit 25e4696bc346576c48d76f9e0c7cf1e6d3de909e