mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-07 00:06:09 +00:00
esp_phy: update esp32c2 phy lib to fix some issues
1. improve Wi-Fi rx 11b pkts for AC-DC power supply modules. 2. fix Wi-Fi disconnect in low temperature. 3. fix RTC_SW_CPU_RST occur in Wi-Fi start and stop process.
This commit is contained in:
@@ -264,6 +264,10 @@ void esp_phy_enable(void)
|
||||
#if SOC_PM_MODEM_RETENTION_BY_BACKUPDMA
|
||||
phy_digital_regs_load();
|
||||
#endif
|
||||
|
||||
#if CONFIG_ESP_PHY_IMPROVE_RX_11B
|
||||
phy_improve_rx_special(true);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32
|
||||
@@ -808,6 +812,11 @@ void esp_phy_load_cal_and_init(void)
|
||||
register_chipv7_phy(init_data, cal_data, PHY_RF_CAL_FULL);
|
||||
#endif
|
||||
|
||||
#if CONFIG_ESP_PHY_IMPROVE_RX_11B
|
||||
ESP_LOGW(TAG, "PHY enable improve rx 11b");
|
||||
phy_improve_rx_special(true);
|
||||
#endif
|
||||
|
||||
#if CONFIG_ESP_PHY_REDUCE_TX_POWER
|
||||
esp_phy_release_init_data(phy_init_data);
|
||||
free(init_data);
|
||||
|
Reference in New Issue
Block a user