瀏覽代碼

phy init data update

This changes 54M target power from 16 dBm to 15 dBm, and bumps init_data version from 0 to 1.
Ivan Grokhotkov 9 年之前
父節點
當前提交
4853df9c83
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      components/esp32/phy_init_data.h

+ 2 - 2
components/esp32/phy_init_data.h

@@ -27,7 +27,7 @@ static const char phy_init_magic_pre[] = PHY_INIT_MAGIC;
  * @brief Structure containing default recommended PHY initialization parameters.
  */
 static const esp_phy_init_data_t phy_init_data= {
-        .param_ver_id = 0,
+        .param_ver_id = 1,
         .crystal_select = 3,
         .wifi_rx_gain_swp_step_1 = 0x05,
         .wifi_rx_gain_swp_step_2 = 0x04,
@@ -75,7 +75,7 @@ static const esp_phy_init_data_t phy_init_data= {
         .target_power_qdb_1 = LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 76),
         .target_power_qdb_2 = LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 74),
         .target_power_qdb_3 = LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 68),
-        .target_power_qdb_4 = LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 64),
+        .target_power_qdb_4 = LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 60),
         .target_power_qdb_5 = LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 52),
         .target_power_index_mcs0 = 0,
         .target_power_index_mcs1 = 0,