esp_wifi: fix a WiFi receiving bug

Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
This commit is contained in:
liu zhifu
2019-12-13 10:46:23 +08:00
parent 65cfbbda52
commit 0631d185bd
5 changed files with 75 additions and 5 deletions

View File

@@ -202,6 +202,18 @@ esp_err_t esp_phy_rf_deinit(phy_rf_module_t module);
*/
void esp_phy_load_cal_and_init(phy_rf_module_t module);
/**
* @brief Enable WiFi/BT common clock
*
*/
void esp_phy_common_clock_enable(void);
/**
* @brief Disable WiFi/BT common clock
*
*/
void esp_phy_common_clock_disable(void);
/**
* @brief Module requires to enter modem sleep
*/