bugfix(wifi): fix incomplete phy initialization due to absence of bb clocks at coexistence scenarios

This commit is contained in:
liuning
2026-01-09 16:53:20 +08:00
committed by BOT
parent 2065d1e85a
commit 9c9f884f3a
23 changed files with 180 additions and 31 deletions
@@ -24,6 +24,7 @@ typedef enum {
PERIPH_BT_MODULE,
PERIPH_WIFI_BT_COMMON_MODULE,
PERIPH_SYSTIMER_MODULE,
PERIPH_PHY_CALIBRATION_MODULE,
PERIPH_MODULE_MAX
} shared_periph_module_t;
@@ -178,6 +178,8 @@ extern "C" {
#define SYSTEM_WIFI_CLK_BT_EN_S 0
/* Mask for clock bits used by both WIFI and Bluetooth, 0, 1, 2, 3, 7, 8, 9, 10, 19, 20, 21, 22, 23 */
#define SYSTEM_WIFI_CLK_WIFI_BT_COMMON_M 0x78078F
/* Mask for clock bits used by phy calibration, bit 22 */
#define SYSTEM_WIFI_CLK_PHY_EN_M 0x400000
//bluetooth baseband bit11
#define SYSTEM_BT_BASEBAND_EN BIT(11)