forked from espressif/esp-idf
esp_wifi: support country code CS
This commit is contained in:
committed by
chenwen@espressif.com
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
|
||||
|
@@ -89,7 +89,7 @@ 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"};
|
||||
"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)
|
||||
|
Reference in New Issue
Block a user