From ef0d856aa8272075aa04a8c9928f8d954dcb257b Mon Sep 17 00:00:00 2001 From: zhiweijian Date: Tue, 19 Dec 2023 14:26:00 +0800 Subject: [PATCH] fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set() 1. Fixed BLE 2M phy TX problem causing by phy_wifi_enable_set() on ESP32-C3 and ESP32-S3 2. Fixed BLE CCA bug on ESP32-C2 3. Fixed wifi boot bug at low temp on ESP32-C6 4. Fixed BLE and WIFI could not receive packets after entering light sleep for a long time on ESP32-C3, ESP32-S3, ESP32-C2 and ESP32-C6 --- components/esp_phy/lib | 2 +- components/esp_phy/src/phy_init.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/components/esp_phy/lib b/components/esp_phy/lib index 798678e4e0..2d319a3823 160000 --- a/components/esp_phy/lib +++ b/components/esp_phy/lib @@ -1 +1 @@ -Subproject commit 798678e4e011c666a931292fc300ec02160cdc6a +Subproject commit 2d319a382336cf0522ea4bb5a3fbd6701a8633c6 diff --git a/components/esp_phy/src/phy_init.c b/components/esp_phy/src/phy_init.c index cae9c2fbb4..b2588161ec 100644 --- a/components/esp_phy/src/phy_init.c +++ b/components/esp_phy/src/phy_init.c @@ -781,11 +781,7 @@ void esp_phy_load_cal_and_init(void) // Set PHY whether in combo module // For comode mode, phy enable will be not in WiFi RX state #if SOC_PHY_COMBO_MODULE -#if (CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S3) - phy_init_param_set(0); -#else phy_init_param_set(1); -#endif #endif esp_phy_calibration_data_t* cal_data =