From e988463ea42aabab29a8950b2ff7fbccf2426ae9 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 BLE and WIFI could not receive packets after entering light sleep for a long time on ESP32-C3, ESP32-S3 and ESP32-C2 --- 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 55a63e02d7..3a0e83d8bf 160000 --- a/components/esp_phy/lib +++ b/components/esp_phy/lib @@ -1 +1 @@ -Subproject commit 55a63e02d78368d37da9036160a118f59bc02315 +Subproject commit 3a0e83d8bfc20feffdfe50acc1dc7ca337aa01d5 diff --git a/components/esp_phy/src/phy_init.c b/components/esp_phy/src/phy_init.c index 1b8b2eed05..ee74faceaf 100644 --- a/components/esp_phy/src/phy_init.c +++ b/components/esp_phy/src/phy_init.c @@ -699,11 +699,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 =