fix(esp_wifi): fix no mac retention at wifi start

This commit is contained in:
liuning 2023-07-31 21:15:13 +08:00 committed by Jack
parent d73f61ebc9
commit 761af9869f
3 changed files with 3 additions and 2 deletions

View File

@ -1728,7 +1728,7 @@ pp_create_task = 0x40001e28;
hal_set_sta_tsf_wakeup = 0x40001e2c; hal_set_sta_tsf_wakeup = 0x40001e2c;
hal_set_rx_beacon_pti = 0x40001e30; hal_set_rx_beacon_pti = 0x40001e30;
/* pm_start = 0x40001e34; */ /* pm_start = 0x40001e34; */
pm_stop = 0x40001e38; /* pm_stop = 0x40001e38; */
hal_disable_sta_tbtt = 0x40001e3c; hal_disable_sta_tbtt = 0x40001e3c;
ppCalTxopDur = 0x40001e40; ppCalTxopDur = 0x40001e40;
wDev_IndicateCtrlFrame = 0x40001e44; wDev_IndicateCtrlFrame = 0x40001e44;

@ -1 +1 @@
Subproject commit 467ce4082e0860dc552bfbeb51053daca5f61a61 Subproject commit da4e79f090b8d067357939c6dee768e227c3c317

View File

@ -165,6 +165,7 @@ esp_err_t esp_wifi_deinit(void)
#endif #endif
esp_wifi_power_domain_off(); esp_wifi_power_domain_off();
#if CONFIG_MAC_BB_PD #if CONFIG_MAC_BB_PD
esp_wifi_internal_set_mac_sleep(false);
esp_mac_bb_pd_mem_deinit(); esp_mac_bb_pd_mem_deinit();
#endif #endif
esp_phy_modem_deinit(); esp_phy_modem_deinit();