Skip to content

Commit 3fcb964

Browse files
author
Jiang Jiang Jian
committed
Merge branch 'bugfix/ignore_duplicated_offchan_error_v5.5' into 'release/v5.5'
fix(wifi): ignore duplicated offchan error, add coex wifi event imm See merge request espressif/esp-idf!40065
2 parents cbe9388 + f3579ce commit 3fcb964

File tree

7 files changed

+20
-7
lines changed

7 files changed

+20
-7
lines changed

components/esp_rom/esp32c5/ld/esp32c5.rom.pp.ld

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ pm_beacon_monitor_tbtt_timeout_process = 0x40000e00;
154154
pm_update_next_tbtt = 0x40000e04;
155155
pm_twt_disallow_tx = 0x40000e08;
156156
pm_clear_wakeup_signal = 0x40000e0c;
157-
/*pm_mac_disable_tsf_tbtt_soc_wakeup = 0x40000e10;
158-
pm_mac_disable_tsf_tbtt_modem_wakeup = 0x40000e14;
157+
//pm_mac_disable_tsf_tbtt_soc_wakeup = 0x40000e10;
158+
//pm_mac_disable_tsf_tbtt_modem_wakeup = 0x40000e14;
159159
//pm_mac_enable_tsf_tbtt_soc_wakeup = 0x40000e18;
160160
//pm_mac_enable_tsf_tbtt_modem_wakeup = 0x40000e1c;
161-
//pm_mac_modem_params_rt_update = 0x40000e20;*/
161+
//pm_mac_modem_params_rt_update = 0x40000e20;
162162
pm_update_at_next_beacon = 0x40000e24;
163163
tbtt_adaptive_setup = 0x40000e28;
164164
tbtt_adaptive_servo = 0x40000e2c;

components/esp_wifi/include/esp_wifi_types_generic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ typedef struct {
14671467
bool dcm; /**< Using dcm rate to send frame */
14681468
} wifi_tx_rate_config_t;
14691469

1470-
#define WIFI_MAX_SUPPORT_COUNTRY_NUM 175 /**< max number of supported countries */
1470+
#define WIFI_MAX_SUPPORT_COUNTRY_NUM 176 /**< max number of supported countries */
14711471
#ifdef CONFIG_SOC_WIFI_SUPPORT_5G
14721472
#define WIFI_MAX_REGULATORY_RULE_NUM 7 /**< max number of regulatory rules */
14731473
#else

components/esp_wifi/regulatory/esp_wifi_regulatory.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ typedef enum {
8989

9090
const wifi_regdomain_t regdomain_table[WIFI_MAX_SUPPORT_COUNTRY_NUM] = {
9191
{"01", ESP_WIFI_REGULATORY_TYPE_DEFAULT},
92+
{"EU", ESP_WIFI_REGULATORY_TYPE_CE},
9293
{"AD", ESP_WIFI_REGULATORY_TYPE_CE},
9394
{"AE", ESP_WIFI_REGULATORY_TYPE_IFETEL},
9495
{"AF", ESP_WIFI_REGULATORY_TYPE_AF},
@@ -1067,6 +1068,7 @@ typedef enum {
10671068

10681069
const wifi_regdomain_t regdomain_table[WIFI_MAX_SUPPORT_COUNTRY_NUM] = {
10691070
{"01", ESP_WIFI_REGULATORY_TYPE_DEFAULT},
1071+
{"EU", ESP_WIFI_REGULATORY_TYPE_CE},
10701072
{"AD", ESP_WIFI_REGULATORY_TYPE_CE},
10711073
{"AE", ESP_WIFI_REGULATORY_TYPE_CE},
10721074
{"AF", ESP_WIFI_REGULATORY_TYPE_CE},

components/esp_wifi/regulatory/esp_wifi_regulatory.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,17 @@ country 01:
4444
# Channel 52 - 64
4545
(5250 - 5330 @ 80), (20), NO-IR, DFS, AUTO-BW
4646

47+
# EU decision 2005/513/EC: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02005D0513-20070213
48+
# EU decision 2006/771/EC: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02008D0432-20080611
49+
# Harmonized CEPT countries: https://www.ecodocdb.dk/download/25c41779-cd6e/Rec7003e.pdf
50+
country EU: DFS-ETSI
51+
(2400 - 2483.5 @ 40), (100 mW)
52+
(5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
53+
(5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
54+
(5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
55+
# short range devices (ETSI EN 300 440-1)
56+
(5725 - 5875 @ 80), (25 mW)
57+
4758
# AD as part of CEPT accepted decisions 2005/513/EC (5GHz RLAN, EN 301 893)
4859
# and 2006/771/EC (amended by 2008/432/EC, Short-Range Devices, EN 300 440)
4960
# EU decision 2005/513/EC: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02005D0513-20070213

components/wpa_supplicant/esp_supplicant/src/esp_hostap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ void *hostap_init(void)
158158
auth_conf->group_mgmt_cipher = WPA_CIPHER_BIP_GMAC_256;
159159
break;
160160
default:
161-
wpa_printf(MSG_DEBUG, "Invalid pairwise cipher (0x%x)", pairwise_cipher);
161+
auth_conf->group_mgmt_cipher = WPA_CIPHER_AES_128_CMAC;
162162
}
163163
}
164164
if (authmode == WIFI_AUTH_WPA2_WPA3_PSK) {

0 commit comments

Comments
 (0)