esp_phy: fix tx power limit for esp32s2/s3/c3

This commit is contained in:
Jessy Chen
2022-04-25 23:29:11 -04:00
parent 991fc96fcb
commit 2e5c28eb46
4 changed files with 6 additions and 7 deletions

View File

@@ -20,8 +20,8 @@ extern "C" {
// 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_OFFSET 44
#define PHY_TX_POWER_NUM 5
#define PHY_TX_POWER_OFFSET 2
#define PHY_TX_POWER_NUM 14
#if CONFIG_ESP_PHY_MULTIPLE_INIT_DATA_BIN
#define PHY_CRC_ALGORITHM 1