* @brief Structure containing default recommended PHY initialization parameters.
*/
static const esp_phy_init_data_t phy_init_data= {
- .param_ver_id = 1,
+ .param_ver_id = 3,
.crystal_select = 3,
.wifi_rx_gain_swp_step_1 = 0x05,
- .wifi_rx_gain_swp_step_2 = 0x04,
+ .wifi_rx_gain_swp_step_2 = 0x09,
.wifi_rx_gain_swp_step_3 = 0x06,
.wifi_rx_gain_swp_step_4 = 0x05,
- .wifi_rx_gain_swp_step_5 = 0x01,
+ .wifi_rx_gain_swp_step_5 = 0x03,
.wifi_rx_gain_swp_step_6 = 0x06,
.wifi_rx_gain_swp_step_7 = 0x05,
.wifi_rx_gain_swp_step_8 = 0x04,
.wifi_rx_gain_swp_step_14 = 0x00,
.wifi_rx_gain_swp_step_15 = 0x00,
.bt_rx_gain_swp_step_1 = 0x05,
- .bt_rx_gain_swp_step_2 = 0x04,
+ .bt_rx_gain_swp_step_2 = 0x09,
.bt_rx_gain_swp_step_3 = 0x06,
.bt_rx_gain_swp_step_4 = 0x05,
- .bt_rx_gain_swp_step_5 = 0x01,
+ .bt_rx_gain_swp_step_5 = 0x03,
.bt_rx_gain_swp_step_6 = 0x06,
.bt_rx_gain_swp_step_7 = 0x05,
.bt_rx_gain_swp_step_8 = 0x00,
.bt_rx_gain_swp_step_13 = 0x00,
.bt_rx_gain_swp_step_14 = 0x00,
.bt_rx_gain_swp_step_15 = 0x00,
- .gain_cmp_1 = 0x0a,
- .gain_cmp_6 = 0x0a,
- .gain_cmp_11 = 0x0c,
+ .gain_cmp_1 = 0xfc,
+ .gain_cmp_6 = 0xfc,
+ .gain_cmp_11 = 0xfe,
.gain_cmp_ext2_1 = 0xf0,
.gain_cmp_ext2_6 = 0xf0,
.gain_cmp_ext2_11 = 0xf0,
.gain_cmp_bt_ofs_6 = 0x18,
.gain_cmp_bt_ofs_11 = 0x18,
.target_power_qdb_0 = LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 78),
- .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, 60),
+ .target_power_qdb_1 = LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 72),
+ .target_power_qdb_2 = LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 66),
+ .target_power_qdb_3 = LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 60),
+ .target_power_qdb_4 = LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 56),
.target_power_qdb_5 = LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 52),
.target_power_index_mcs0 = 0,
- .target_power_index_mcs1 = 0,
+ .target_power_index_mcs1 = 1,
.target_power_index_mcs2 = 1,
- .target_power_index_mcs3 = 1,
+ .target_power_index_mcs3 = 2,
.target_power_index_mcs4 = 2,
.target_power_index_mcs5 = 3,
.target_power_index_mcs6 = 4,
.spur_freq_cfg_div_3 = 0,
.spur_freq_en_h_3 = 0,
.spur_freq_en_l_3 = 0,
+ .force_freq_offset_enable = 0,
+ .force_freq_offset_num = 0,
.reserved = {0}
};