From 94d2040ba72a4b59c9f9ae1f7653aa0e1da584d5 Mon Sep 17 00:00:00 2001 From: muhaidong Date: Fri, 16 Dec 2022 15:19:16 +0800 Subject: [PATCH] esp_phy: add country code 01 to country code map type table --- components/esp_phy/src/phy_init.c | 1 + .../phy/phy_multi_init_data_test/pytest_phy_multi_init_data.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/esp_phy/src/phy_init.c b/components/esp_phy/src/phy_init.c index 52e1a20240..da33640149 100644 --- a/components/esp_phy/src/phy_init.c +++ b/components/esp_phy/src/phy_init.c @@ -105,6 +105,7 @@ static char* s_phy_type[ESP_PHY_INIT_DATA_TYPE_NUMBER] = {"DEFAULT", "SRRC", "FC /* Country and PHY init data type map */ static phy_country_to_bin_type_t s_country_code_map_type_table[] = { + {"01", ESP_PHY_INIT_DATA_TYPE_DEFAULT}, {"AT", ESP_PHY_INIT_DATA_TYPE_CE}, {"AU", ESP_PHY_INIT_DATA_TYPE_ACMA}, {"BE", ESP_PHY_INIT_DATA_TYPE_CE}, diff --git a/tools/test_apps/phy/phy_multi_init_data_test/pytest_phy_multi_init_data.py b/tools/test_apps/phy/phy_multi_init_data_test/pytest_phy_multi_init_data.py index d657695f4a..5fabfa9fb0 100644 --- a/tools/test_apps/phy/phy_multi_init_data_test/pytest_phy_multi_init_data.py +++ b/tools/test_apps/phy/phy_multi_init_data_test/pytest_phy_multi_init_data.py @@ -19,5 +19,5 @@ def test_phy_multi_init_data_bin(dut: IdfDut, config: str) -> None: if config == 'phy_multiple_init_data': dut.expect_exact('Support multiple PHY init data bins') else: - dut.expect_exact('load embedded multi phy init data') + dut.expect_exact('loading embedded multiple PHY init data') dut.expect_exact('wifi_init finished')