mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 05:34:32 +02:00
feat(wifi): add support for country EU
This commit is contained in:
@@ -1467,7 +1467,7 @@ typedef struct {
|
|||||||
bool dcm; /**< Using dcm rate to send frame */
|
bool dcm; /**< Using dcm rate to send frame */
|
||||||
} wifi_tx_rate_config_t;
|
} wifi_tx_rate_config_t;
|
||||||
|
|
||||||
#define WIFI_MAX_SUPPORT_COUNTRY_NUM 175 /**< max number of supported countries */
|
#define WIFI_MAX_SUPPORT_COUNTRY_NUM 176 /**< max number of supported countries */
|
||||||
#ifdef CONFIG_SOC_WIFI_SUPPORT_5G
|
#ifdef CONFIG_SOC_WIFI_SUPPORT_5G
|
||||||
#define WIFI_MAX_REGULATORY_RULE_NUM 7 /**< max number of regulatory rules */
|
#define WIFI_MAX_REGULATORY_RULE_NUM 7 /**< max number of regulatory rules */
|
||||||
#else
|
#else
|
||||||
|
Submodule components/esp_wifi/lib updated: 583c685668...b08bd88c83
@@ -89,6 +89,7 @@ typedef enum {
|
|||||||
|
|
||||||
const wifi_regdomain_t regdomain_table[WIFI_MAX_SUPPORT_COUNTRY_NUM] = {
|
const wifi_regdomain_t regdomain_table[WIFI_MAX_SUPPORT_COUNTRY_NUM] = {
|
||||||
{"01", ESP_WIFI_REGULATORY_TYPE_DEFAULT},
|
{"01", ESP_WIFI_REGULATORY_TYPE_DEFAULT},
|
||||||
|
{"EU", ESP_WIFI_REGULATORY_TYPE_CE},
|
||||||
{"AD", ESP_WIFI_REGULATORY_TYPE_CE},
|
{"AD", ESP_WIFI_REGULATORY_TYPE_CE},
|
||||||
{"AE", ESP_WIFI_REGULATORY_TYPE_IFETEL},
|
{"AE", ESP_WIFI_REGULATORY_TYPE_IFETEL},
|
||||||
{"AF", ESP_WIFI_REGULATORY_TYPE_AF},
|
{"AF", ESP_WIFI_REGULATORY_TYPE_AF},
|
||||||
@@ -1067,6 +1068,7 @@ typedef enum {
|
|||||||
|
|
||||||
const wifi_regdomain_t regdomain_table[WIFI_MAX_SUPPORT_COUNTRY_NUM] = {
|
const wifi_regdomain_t regdomain_table[WIFI_MAX_SUPPORT_COUNTRY_NUM] = {
|
||||||
{"01", ESP_WIFI_REGULATORY_TYPE_DEFAULT},
|
{"01", ESP_WIFI_REGULATORY_TYPE_DEFAULT},
|
||||||
|
{"EU", ESP_WIFI_REGULATORY_TYPE_CE},
|
||||||
{"AD", ESP_WIFI_REGULATORY_TYPE_CE},
|
{"AD", ESP_WIFI_REGULATORY_TYPE_CE},
|
||||||
{"AE", ESP_WIFI_REGULATORY_TYPE_CE},
|
{"AE", ESP_WIFI_REGULATORY_TYPE_CE},
|
||||||
{"AF", ESP_WIFI_REGULATORY_TYPE_CE},
|
{"AF", ESP_WIFI_REGULATORY_TYPE_CE},
|
||||||
|
@@ -44,6 +44,17 @@ country 01:
|
|||||||
# Channel 52 - 64
|
# Channel 52 - 64
|
||||||
(5250 - 5330 @ 80), (20), NO-IR, DFS, AUTO-BW
|
(5250 - 5330 @ 80), (20), NO-IR, DFS, AUTO-BW
|
||||||
|
|
||||||
|
# EU decision 2005/513/EC: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02005D0513-20070213
|
||||||
|
# EU decision 2006/771/EC: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02008D0432-20080611
|
||||||
|
# Harmonized CEPT countries: https://www.ecodocdb.dk/download/25c41779-cd6e/Rec7003e.pdf
|
||||||
|
country EU: DFS-ETSI
|
||||||
|
(2400 - 2483.5 @ 40), (100 mW)
|
||||||
|
(5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
|
||||||
|
(5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
|
||||||
|
(5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
|
||||||
|
# short range devices (ETSI EN 300 440-1)
|
||||||
|
(5725 - 5875 @ 80), (25 mW)
|
||||||
|
|
||||||
# AD as part of CEPT accepted decisions 2005/513/EC (5GHz RLAN, EN 301 893)
|
# AD as part of CEPT accepted decisions 2005/513/EC (5GHz RLAN, EN 301 893)
|
||||||
# and 2006/771/EC (amended by 2008/432/EC, Short-Range Devices, EN 300 440)
|
# and 2006/771/EC (amended by 2008/432/EC, Short-Range Devices, EN 300 440)
|
||||||
# EU decision 2005/513/EC: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02005D0513-20070213
|
# EU decision 2005/513/EC: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02005D0513-20070213
|
||||||
|
Reference in New Issue
Block a user