mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp_wifi: support country code CS
This commit is contained in:
parent
e01b690e5b
commit
125902ab2c
@ -83,6 +83,7 @@ typedef enum {
|
||||
ESP_PHY_INIT_DATA_TYPE_OFCA,
|
||||
ESP_PHY_INIT_DATA_TYPE_IFETEL,
|
||||
ESP_PHY_INIT_DATA_TYPE_RCM,
|
||||
ESP_PHY_INIT_DATA_TYPE_CS,
|
||||
ESP_PHY_INIT_DATA_TYPE_NUMBER,
|
||||
} phy_init_data_type_t;
|
||||
#endif
|
||||
|
@ -88,8 +88,8 @@ static char s_phy_current_country[PHY_COUNTRY_CODE_LEN] = {0};
|
||||
static bool s_multiple_phy_init_data_bin = false;
|
||||
|
||||
/* PHY init data type array */
|
||||
static char* s_phy_type[ESP_PHY_INIT_DATA_TYPE_NUMBER] = {"DEFAULT", "SRRC", "FCC", "CE", "NCC", "KCC", "MIC", "IC",
|
||||
"ACMA", "ANATEL", "ISED", "WPC", "OFCA", "IFETEL", "RCM"};
|
||||
static char* s_phy_type[ESP_PHY_INIT_DATA_TYPE_NUMBER] = {"DEFAULT", "SRRC", "FCC", "CE", "NCC", "KCC", "MIC", "IC",
|
||||
"ACMA", "ANATEL", "ISED", "WPC", "OFCA", "IFETEL", "RCM", "CS"};
|
||||
|
||||
/* Country and PHY init data type map */
|
||||
static phy_country_to_bin_type_t s_country_code_map_type_table[] = {
|
||||
@ -137,6 +137,7 @@ static phy_country_to_bin_type_t s_country_code_map_type_table[] = {
|
||||
{"SK", ESP_PHY_INIT_DATA_TYPE_CE},
|
||||
{"TW", ESP_PHY_INIT_DATA_TYPE_NCC},
|
||||
{"US", ESP_PHY_INIT_DATA_TYPE_FCC},
|
||||
{"CS", ESP_PHY_INIT_DATA_TYPE_CS},
|
||||
};
|
||||
#endif
|
||||
uint32_t IRAM_ATTR phy_enter_critical(void)
|
||||
|
Loading…
Reference in New Issue
Block a user