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

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

See merge request espressif/esp-idf!46617
This commit is contained in:
Jiang Jiang Jian
2026-03-16 15:00:02 +08:00
5 changed files with 10 additions and 6 deletions
+3
View File
@@ -52,3 +52,6 @@ archive: libsoc.a
entries:
if PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP && ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND:
gpio_periph: GPIO_HOLD_MASK (noflash)
if PM_SLP_IRAM_OPT = y:
if IDF_TARGET_ESP32 = y:
rtc_io_periph:rtc_io_desc (noflash_data)
+2 -1
View File
@@ -4,10 +4,11 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "esp_attr.h"
#include "soc/rtc_periph.h"
#include "soc/rtc_io_reg.h"
const int8_t rtc_io_num_map[SOC_GPIO_PIN_COUNT] = {
DRAM_ATTR const int8_t rtc_io_num_map[SOC_GPIO_PIN_COUNT] = {
RTCIO_GPIO0_CHANNEL, //GPIO0
-1,//GPIO1
RTCIO_GPIO2_CHANNEL, //GPIO2
+3 -4
View File
@@ -173,15 +173,14 @@ struct sta_info * ap_sta_add(struct hostapd_data *hapd, const u8 *addr)
/* initialize STA info data */
os_memcpy(sta->addr, addr, ETH_ALEN);
sta->next = hapd->sta_list;
hapd->sta_list = sta;
hapd->num_sta++;
ap_sta_hash_add(hapd, sta);
#ifdef CONFIG_SAE
sta->sae_commit_processing = false;
sta->remove_pending = false;
sta->lock = os_semphr_create(1, 1);
#endif /* CONFIG_SAE */
hapd->sta_list = sta;
hapd->num_sta++;
ap_sta_hash_add(hapd, sta);
return sta;
}
@@ -1 +1,2 @@
CONFIG_EXAMPLE_GET_AP_INFO_FROM_STDIN=y
CONFIG_ESP_SLEEP_CACHE_SAFE_ASSERTION=y