From ef3fe14b5fe691f8008f0b16ffd0daa41b3033f3 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 28 Jun 2023 21:24:22 +0800 Subject: [PATCH 1/2] esp_wifi: decouple softap for esp32c2. --- components/esp_wifi/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 1aa30ac2b9..9a2cbdc710 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 1aa30ac2b972d84956f30d03197e93f87d9c8950 +Subproject commit 9a2cbdc71044dd3f96ec828a9e88cea5bfd4efd0 From af44033b5acf7aa9a8dd37f5d6ae907d14e6d6f6 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 28 Jun 2023 21:26:18 +0800 Subject: [PATCH 2/2] esp_wifi: fix timer callback crash after wifi deinit on esp32c2. --- components/esp_rom/esp32c2/ld/esp32c2.rom.ld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_rom/esp32c2/ld/esp32c2.rom.ld b/components/esp_rom/esp32c2/ld/esp32c2.rom.ld index 638991f7ee..dadc0a8a64 100644 --- a/components/esp_rom/esp32c2/ld/esp32c2.rom.ld +++ b/components/esp_rom/esp32c2/ld/esp32c2.rom.ld @@ -1764,7 +1764,7 @@ rcUpdatePhyMode = 0x40001ea8; rcGetHighestRateIdx = 0x40001eac; pm_tx_null_data_done_process = 0x40001eb0; pm_tx_data_process = 0x40001eb4; -pm_attach = 0x40001eb8; +/* pm_attach = 0x40001eb8;*/ pm_coex_schm_process = 0x40001ebc; ppInitTxq = 0x40001ec0; pp_attach = 0x40001ec4; @@ -1944,7 +1944,7 @@ ieee80211_setup_phy_mode = 0x4000207c; ieee80211_sta_is_connected = 0x40002080; current_task_is_wifi_task = 0x40002084; wifi_get_init_state = 0x40002088; -ieee80211_timer_process = 0x4000208c; +/* ieee80211_timer_process = 0x4000208c;*/ cnx_coexist_timeout = 0x40002090; /* sta_recv_mgmt = 0x40002094;*/ ieee80211_send_setup = 0x40002098;