Commit Graph

35863 Commits

Author SHA1 Message Date
Kapil Gupta
59a62f2af6 fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements
The previous PEAP client behavior allowed the server to skip Phase 2
authentication with the expectation that the server was authenticated
during Phase 1 through TLS server certificate validation. Various PEAP
specifications are not exactly clear on what the behavior on this front
is supposed to be and as such, this ended up being more flexible than
the TTLS/FAST/TEAP cases. However, this is not really ideal when
unfortunately common misconfiguration of PEAP is used in deployed
devices where the server trust root (ca_cert) is not configured or the
user has an easy option for allowing this validation step to be skipped.

Change the default PEAP client behavior to be to require Phase 2
authentication to be successfully completed for cases where TLS session
resumption is not used and the client certificate has not been
configured. Those two exceptions are the main cases where a deployed
authentication server might skip Phase 2 and as such, where a more
strict default behavior could result in undesired interoperability
issues. Requiring Phase 2 authentication will end up disabling TLS
session resumption automatically to avoid interoperability issues.

Allow Phase 2 authentication behavior to be configured with a new phase1
configuration parameter option:
'phase2_auth' option can be used to control Phase 2 (i.e., within TLS
tunnel) behavior for PEAP:
 * 0 = do not require Phase 2 authentication
 * 1 = require Phase 2 authentication when client certificate
   (private_key/client_cert) is no used and TLS session resumption was
   not used (default)
 * 2 = require Phase 2 authentication in all cases
2024-03-15 16:57:26 +08:00
Alexey Lapshin
31a951268a feat(newlib): get rid of dirent.h in favor of toolchain 2024-03-15 12:36:00 +04:00
Alexey Lapshin
4ac07fc575 feat(cxx): get rid of _Unwind_SetEnableExceptionFdeSorting 2024-03-15 12:36:00 +04:00
Alexey Lapshin
4f09fba127 fix(newlib): fix esp32/esp32s3 atomics on PSRAM
Closes https://github.com/espressif/esp-idf/issues/4635
2024-03-15 12:36:00 +04:00
Alexey Lapshin
174e9f582b feat(tools): update toolchain version to esp-13.2.0_20240305 2024-03-15 12:35:09 +04:00
Sudeep Mohanty
6d73dda897 fix(lp_uart): Fixed LP UART bus clock initialization flow
This MR updates the LP UART bus clock initialization flow to avoid
a lock up when accessing the LP UART peripheral.
2024-03-15 09:28:35 +01:00
Shyamal Khachane
fd556dc785 feat(wifi): Add support to handle OWE transition disable indication from AP 2024-03-15 13:56:00 +05:30
Sarvesh Bodakhe
34725cdbfd feat(wifi): Add support SAE-PK and WPA3-Enterprise transition disable 2024-03-15 13:55:31 +05:30
wanlei
ca4153de52 fix(sdspi): temp skip run high falure job on esp32 2024-03-15 16:15:55 +08:00
wanlei
c50cbfe2ed feat(esp32c61): new chip add rom and efuse support 2024-03-15 15:16:14 +08:00
Cao Sen Miao
60419a4892 fix(i2c_slave): Fixed the isr_flags not really parse to the intr_allocate,
Closes https://github.com/espressif/esp-idf/issues/13374
2024-03-15 14:40:55 +08:00
Cao Sen Miao
7b731cae39 fix(i2c_slave): Fix bugs on i2c slave,
1. Fixed read data number smaller than master has sent it will fail
2. Disable interrupt when destroy bus
Closes https://github.com/espressif/esp-idf/issues/13354
2024-03-15 14:40:52 +08:00
Eric Wheeler
6e1bba7430 fix(i2c_master): fix deadlock on s_i2c_transaction_start failure
As pointed out in PR #13134 by @MatthiasKunnen, there is a deadlock in
`s_i2c_synchronous_transaction()` if `s_i2c_transaction_start()` should fail
because, on error, s_i2c_synchronous_transaction() returns before releasing the
lock.

This commit fixes the deadlock without any other changes.

Closes: #13387

Signed-off-by: Eric Wheeler <esp-idf@z.ewheeler.org>
2024-03-15 14:13:13 +08:00
Jiang Jiang Jian
3cd174ab09 Merge branch 'bugfix/wpa3_sta_lock_crash' into 'master'
fix(wifi): Fix wpa3 crash for station added without sta lock

Closes WIFIBUG-302

See merge request espressif/esp-idf!28206
2024-03-15 12:03:26 +08:00
Mahavir Jain
cd47cf46dc Merge branch 'esp32p4/add_aes_support' into 'master'
feat: add AES support for ESP32-P4

Closes IDF-6519

See merge request espressif/esp-idf!26429
2024-03-15 11:43:22 +08:00
linruihao
3d0d4de125 fix(bt/controller): Fixed some bugs in esp32 bt controller
1. fixed crash issue in coexist callback
2. fixed wrong LMP message send when expect peer device increase tx power to max
2024-03-15 11:31:57 +08:00
morris
61a283fdb5 Merge branch 'docs/sync_up_trans' into 'master'
docs:sync up CN translation for several documents

Closes DOC-7339

See merge request espressif/esp-idf!29553
2024-03-15 10:49:29 +08:00
Kevin (Lao Kaiyao)
893226d5c4 Merge branch 'feature/add_temp_rom_to_esp32c5mp' into 'master'
feat(esp32c5mp): add temporary esp-rom & G0 support

See merge request espressif/esp-idf!29613
2024-03-15 10:35:14 +08:00
Dai Zi Yan
f3686dcc73 Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/usb_device.rst' into 'master'
docs: provide CN translation for api-reference/peripherals/usb_device.rst

Closes DOC-5759

See merge request espressif/esp-idf!24835
2024-03-15 10:31:59 +08:00
morris
7bd5c62659 Merge branch 'feature/specify_rmt_intr_cpu_affinity' into 'master'
doc(rmt): clarification on payload memory management and isr latency impact

Closes IDFGH-10396 and IDFGH-12068

See merge request espressif/esp-idf!24755
2024-03-15 10:05:58 +08:00
Roman Leonov
4d24ce3e13 Merge branch 'refactor/usb_host_add_ch11_types' into 'master'
refactor(usb_host): Added chapter11 header, refactor chapter9 header

See merge request espressif/esp-idf!29344
2024-03-15 05:14:39 +08:00
Roman Leonov
029c286a21 feat(usb_host): Added KConfig parameter for External HUB support enable 2024-03-14 21:06:34 +01:00
Roman Leonov
8d93d18451 refactor(usb_host): Added chapter11 header, refactor chapter9 header 2024-03-14 21:06:34 +01:00
Sudeep Mohanty
b90a279587 feat(lp-core): Added ability to print from LP ROM on the LP core
This commit adds the ability to use LP ROM functions from the LP core.
This allows the LP core code to utilize standard functions such as those
for printing from the LP ROM and therefore help reduce the code size on
the LP core.
2024-03-14 18:45:02 +01:00
Sudeep Mohanty
26fd843376 feat(lp_core): Added support for LP UART on LP core for esp32p4
This commit enables LP UART support for the LP core on the esp32p4.
2024-03-14 18:45:02 +01:00
Tomas Rezucha
4f900edb06 Merge branch 'feat/esp_hid_clean_interface' into 'master'
refactor(esp_hid): Create one common event loop

See merge request espressif/esp-idf!29449
2024-03-14 21:31:49 +08:00
Shu Chen
ee8fa6a205 Merge branch 'feature/add_led_config_for_ot_device' into 'master'
feat(openthread): support configuring indicator color of OpenThread device

See merge request espressif/esp-idf!29413
2024-03-14 19:17:23 +08:00
Guillaume Souchere
85c2daee5b test(esp_intr_dump): Enable test for esp32p4
Added back intr_dump test on esp32p4 target.
Added esp32p4.txt expected output file containing
the list of interrupts.
2024-03-14 11:35:24 +01:00
Tomas Rezucha
868d375c1d refactor(esp_hid): Create one common event loop
After this change, only one event loop is created.
It is reused by all transport layers (BT, BLE, USB).
2024-03-14 11:34:13 +01:00
Shreyas Sheth
9127a8fb25 fix(wifi): Fix wpa3 crash for station added without sta lock 2024-03-14 15:36:32 +05:30
caixinying-git
cb9df99073 docs: provide CN translation for api-reference/peripherals/usb_device.rst 2024-03-14 17:38:43 +08:00
Ondrej Kosta
93db5a609a fix(esp_eth): fixed build for openeth due to incorrect printf format 2024-03-14 09:44:53 +01:00
Omar Chebib
793ca6d7a4 fix(i2c): fix issues related to timeout and alive interval tick
Fixes https://github.com/espressif/esp-idf/issues/4999

Former usage of I2C_CMD_ALIVE_INTERVAL_TICK macro overrode the ticks_to_wait
parameter when the latter was too big
2024-03-14 16:39:10 +08:00
Fu Hanxi
d3473bed30 Merge branch 'ci/support_filter_pytest_cases_with_sdconfig_name' into 'master'
ci: support filter pytest with sdkconfig name

See merge request espressif/esp-idf!29581
2024-03-14 16:34:31 +08:00
Sudeep Mohanty
abd3a3999f fix(freertos): Updated dependency list for CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER option
This commit updates the dependency for
CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER to be dependent explicitly on
CONFIG_ESP_SYSTEM_PANIC_GDBSTUB or CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME
instead of CONFIG_ESP_GDBSTUB_ENABLED which caused FreeRTOS Task
Function Wrappers to be enabled even if the esp_gdbstub component was
part of the build.
2024-03-14 08:41:51 +01:00
laokaiyao
8de41350eb feat(esp32c5mp): support to build g0 components 2024-03-14 15:09:22 +08:00
laokaiyao
0d8dcd183c feat(esp32c5mp): add temporary esp-rom 2024-03-14 15:09:22 +08:00
Armando (Dou Yiwen)
c539b7cde5 Merge branch 'ci/ignore_c6_restart_test_fail' into 'master'
Ci/ignore c6 restart test fail

Closes IDFCI-2084, IDFCI-2085, and IDFCI-2024

See merge request espressif/esp-idf!29635
2024-03-14 14:52:17 +08:00
Fu Hanxi
6b14ba559a Merge branch 'fix/dynamic_pipeline_workflow_for_tag' into 'master'
ci: fix dynamic pipeline for tag pipelines

See merge request espressif/esp-idf!29370
2024-03-14 14:51:01 +08:00
Chen Jian Xing
a98e252595 Merge branch 'doc/update_espnow_doc' into 'master'
docs(wifi): Updated the LMK description in ESP-NOW

Closes IDFGH-11890

See merge request espressif/esp-idf!29607
2024-03-14 14:31:12 +08:00
morris
7b135c4b8a docs(rmt): clarification on memory and isr lantency
Closes https://github.com/espressif/esp-idf/issues/11651
Closes https://github.com/espressif/esp-idf/issues/13129
2024-03-14 14:23:12 +08:00
Wu Zheng Hui
5a682c3bbb Merge branch 'feature/optimize_chips_active_power' into 'master'
feat(system): Optimize the power consumption of esp32h2 and esp32c6 in the active state

Closes IDF-5658

See merge request espressif/esp-idf!27798
2024-03-14 12:08:33 +08:00
morris
79d8057a8c Merge branch 'feat/rmt_support_esp32c5' into 'master'
Basic RMT driver support on esp32c5

See merge request espressif/esp-idf!29215
2024-03-14 11:52:01 +08:00
gaoxu
03a6347a3a ci(adc): ignore adc restart test fail 2024-03-14 11:14:46 +08:00
gaoxu
b4b05bc4f0 ci(adc): make adc pytest reset 2024-03-14 11:12:20 +08:00
Jiang Jiang Jian
63db118bcc Merge branch 'feat/move_ag_cb_malloc_to_btc' into 'master'
feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module

Closes BTQABR2023-208

See merge request espressif/esp-idf!29310
2024-03-14 10:46:01 +08:00
Jiang Jiang Jian
6a879bf2d2 Merge branch 'bugfix/fix_maximum_value_of_config_rtc_clk_cal_cycles_bug' into 'master'
ESP All Chip: fixed the maximum value of config RTC_CLK_CAL_SYCLES bug

See merge request espressif/esp-idf!29423
2024-03-14 10:44:17 +08:00
Jiang Jiang Jian
7b86fe51fd Merge branch 'bugfix/fix_s3_bbpll_cali_fail_bug' into 'master'
fix: fix s3 bbpll calibration fail bug

See merge request espressif/esp-idf!29101
2024-03-14 10:42:57 +08:00
zhangyanjiao
68c887ead7 docs(wifi): Updated the LMK description in ESP-NOW
Closes https://github.com/espressif/esp-idf/issues/12976
2024-03-14 10:39:47 +08:00
Wu Zheng Hui
bb25cc1234 Merge branch 'feature/esp32p4_sleep_support' into 'master'
feat(esp_hw_support): esp32p4 sleep support (Stage 1: support basic pmu sleep function 💤)

Closes IDF-7528 and IDF-7527

See merge request espressif/esp-idf!28196
2024-03-14 10:17:32 +08:00