esp_phy: optimize esp32c2 tx power control

This commit is contained in:
Jessy Chen
2022-05-09 07:57:01 -04:00
committed by BOT
parent 31f9292f90
commit 60cbbffc74
2 changed files with 3 additions and 3 deletions

View File

@@ -20,8 +20,8 @@ extern "C" {
// define the lowest tx power as LOWEST_PHY_TX_POWER // define the lowest tx power as LOWEST_PHY_TX_POWER
#define PHY_TX_POWER_LOWEST LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 52) #define PHY_TX_POWER_LOWEST LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 52)
#define PHY_TX_POWER_OFFSET 44 #define PHY_TX_POWER_OFFSET 2
#define PHY_TX_POWER_NUM 5 #define PHY_TX_POWER_NUM 14
#if CONFIG_ESP_PHY_MULTIPLE_INIT_DATA_BIN #if CONFIG_ESP_PHY_MULTIPLE_INIT_DATA_BIN
#define PHY_CRC_ALGORITHM 1 #define PHY_CRC_ALGORITHM 1

View File

@@ -2448,7 +2448,7 @@ rfpll_cap_track = 0x40002538;
phy_param_track = 0x4000253c; phy_param_track = 0x4000253c;
txpwr_correct = 0x40002540; txpwr_correct = 0x40002540;
txpwr_cal_track = 0x40002544; txpwr_cal_track = 0x40002544;
tx_pwctrl_background = 0x40002548; /* tx_pwctrl_background = 0x40002548;*/
bt_track_tx_power = 0x4000254c; bt_track_tx_power = 0x4000254c;
wifi_track_tx_power = 0x40002550; wifi_track_tx_power = 0x40002550;
rom_code_to_temp = 0x40002554; rom_code_to_temp = 0x40002554;