mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
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:
@@ -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)
|
||||
|
||||
+1
-1
Submodule components/esp_wifi/lib updated: a62cf923ac...2b0bccda5c
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user