29293 Commits

Author SHA1 Message Date
morris
e7bff6c8e9 Merge branch 'fix/mcpwm_pm_lock_memory_leak_v5.0' into 'release/v5.0'
fix(mcpwm): fix pm_lock memory issues (v5.0)

See merge request espressif/esp-idf!34062
2024-10-16 18:35:00 +08:00
Sudeep Mohanty
0fe7a9d579 fix(freertos): Fixed SMP race condition in stream_buffers.c
This commit fixes a race condition in dual-core SMP mode where in the
xStreamBufferReceive() makes the xTaskWaitingToReceive NULL but it may
have already been evaluated to not be NULL by xStreamBufferSend()
running on another core and eventually leading to a crash in tasks.c.
2024-10-16 09:44:15 +02:00
Rahul Tank
28850f883f fix(nimble): Adjust Data len time in case 5.0 support is not present 2024-10-16 12:01:13 +05:30
Mahavir Jain
84e07d40a6 Merge branch 'bug/ci_test_https_server_file_serving_v5.0' into 'release/v5.0'
fix(protocols): Erased the storage partition for http_server ci test (v5.0)

See merge request espressif/esp-idf!34167
2024-10-16 14:23:28 +08:00
Frantisek Hrbata
b56d53dfb8 fix(ldgen): enable default name SORT in linker fragment
Currently, the `SORT` flag mandates the inclusion of at least the
`sort_by_first` argument in the grammar, despite the documentation[1]
indicating that `SORT` can be utilized without any arguments, defaulting
to sorting input sections by name. Fix this by modifying the grammar
to allow a default `SORT` and update a test accordingly.

[1] https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/
    linker-script-generation.html

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-10-15 16:27:52 +02:00
Chen Jian Hua
acf16d293b fix(bt/controller): Fixed BLE functions overriding on ESP32-C3 ECO7
(cherry picked from commit 020f7a6297f52e473e724af6509b72350024e62f)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-10-15 13:33:21 +08:00
Chen Jichang
53a0bb548b fix(mcpwm): fix pm_lock memory issues 2024-10-15 13:24:29 +08:00
Zhang Hai Peng
9e443ab692 fix(ble/bluedroid): Fixed BLE handle check for GATT API
(cherry picked from commit 514155de3b0c44bf9c3b00c31f64b3b40bc36c83)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-15 00:03:51 +08:00
hrushikesh.bhosale
01b0add0f3 fix(protocols): Erased the storage partition for http_server ci test
Added api to erase storage partition for http_server ci test
2024-10-14 16:00:07 +05:30
Kapil Gupta
6b3b661774 fix(esp_wifi): Prevent memory overflow in WPS 2024-10-13 18:13:18 +08:00
Kapil Gupta
1b9a66617d fix(esp_wifi): Mask some error conditions in WPS
Mask some error conditions in WPS to increase the probability of
WPS success.
2024-10-13 18:13:18 +08:00
Kapil Gupta
0803307ffe fix(esp_wifi): Disable WPS timers once WPS succeed 2024-10-13 18:13:18 +08:00
Kapil Gupta
c1f41cdfd0 fix(esp_wifi): Allow connection with WPA mode in WPS 2024-10-13 18:13:18 +08:00
Kapil Gupta
ab99551f8c fix(esp_wifi): Deinit WPS registrar during hostapd deinit 2024-10-13 18:13:18 +08:00
Kapil Gupta
7f9e2044df fix(esp_wifi): Added prints in btm roam for error condition 2024-10-13 18:13:18 +08:00
Island
378dd55e3d Merge branch 'docs/update_ble_feature_support_status_v5.0' into 'release/v5.0'
docs(ble): Updated a feature name in feature status table v5.0

See merge request espressif/esp-idf!34064
2024-10-12 14:26:41 +08:00
Island
1064ad0baa Merge branch 'docs/add_ble_get_started_docs_v5.0' into 'release/v5.0'
docs(ble): Added BLE Get Started (v5.0)

See merge request espressif/esp-idf!34018
2024-10-12 14:25:47 +08:00
Wei Yu Han
8fd56dc107 docs(ble): Added BLE Get Started (v5.0) 2024-10-12 14:25:47 +08:00
xiongweichao
cf0261a903 feat(ble): Support using 32k oscillator as Bluetooth sleep clock 2024-10-10 11:28:16 +08:00
Wang Meng Yang
050730e8c0 Merge branch 'feat/add_mode_chg_parem_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Report sniff interval to application layer(v5.0)

See merge request espressif/esp-idf!33870
2024-10-10 11:13:17 +08:00
Wei Yu Han
d3d5a1b2ae docs(ble): Updated a feature name in feature status table 2024-10-10 10:09:53 +08:00
Island
b980af1ce9 Merge branch 'bugfix/fix_bleqabr24_1282_v5.0' into 'release/v5.0'
Fixed BLE scanning and initiating coexist on ESP32 (v5.0)

See merge request espressif/esp-idf!33831
2024-10-09 17:19:08 +08:00
Island
4b0cee26bd Merge branch 'bugfix/fix_bci_443_v5.0' into 'release/v5.0'
fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC (v5.0)

See merge request espressif/esp-idf!33890
2024-10-09 17:18:55 +08:00
morris
d0f8439931 Merge branch 'support_psram_noinit_segment_on_s3_v5.0' into 'release/v5.0'
feat(psram): add psram noinit  segment support on s2/s3/p4/c5 and bss segment on c5 (v5.0)

See merge request espressif/esp-idf!33259
2024-10-09 13:27:59 +08:00
Island
dc5567fd5a Merge branch 'bugfix/fix_ext_conn_adv_data_check_v5.0' into 'release/v5.0'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(01cc408) (v5.0)

See merge request espressif/esp-idf!34000
2024-10-09 11:58:32 +08:00
Island
76486eca5e Merge branch 'fix/fix_nimble_gatt_server_example_readme_v5.0' into 'release/v5.0'
docs(ble): Added BLE Get Started documentation link to README.md (v5.0)

See merge request espressif/esp-idf!33827
2024-10-09 10:21:52 +08:00
Zhang Hai Peng
900c6b331a fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(01cc408)
- Fixed extended connectable advertising data length check


(cherry picked from commit 8a80675b7c05d613b3e9a7126a0049458b589db2)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-08 15:13:18 +08:00
Jouni Malinen
ae56989c7f SAE: Check for invalid Rejected Groups element length explicitly on STA
Instead of practically ignoring an odd octet at the end of the element,
check for such invalid case explicitly. This is needed to avoid a
potential group downgrade attack.

Fixes: 444d76f74f65 ("SAE: Check that peer's rejected groups are not enabled")
Signed-off-by: Jouni Malinen <j@w1.fi>
2024-10-07 12:31:11 +05:30
Jouni Malinen
92cf32a40b SAE: Check that peer's rejected groups are not enabled
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2024-10-07 12:31:11 +05:30
Jouni Malinen
8abeae65ed SAE: Reject invalid Rejected Groups element in the parser
There is no need to depend on all uses (i.e., both hostapd and
wpa_supplicant) to verify that the length of the Rejected Groups field
in the Rejected Groups element is valid (i.e., a multiple of two octets)
since the common parser can reject the message when detecting this.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-10-07 12:31:11 +05:30
Jouni Malinen
ecea235913 SAE: Check that peer's rejected groups are not enabled in AP
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2024-10-07 12:30:16 +05:30
Mahavir Jain
be14d6c709 Merge branch 'bugfix/null_assign_variable_v5.0' into 'release/v5.0'
fix(wifi_prov): Use calloc instead of malloc to zero initialize variable (v5.0)

See merge request espressif/esp-idf!33967
2024-10-04 21:29:51 +08:00
Rahul Tank
caa4defb73 fix(wifi_prov): Use calloc instead of malloc to zero initialize variable 2024-10-04 11:50:45 +05:30
Mahavir Jain
e7f8d9789d Merge branch 'feature/update_mbedtls_version_to_3.6.1_v5.0' into 'release/v5.0'
feat(mbedtls): updated mbedtls version to 3.6.1(v5.0)

See merge request espressif/esp-idf!33916
2024-10-01 18:04:16 +08:00
Peter Macko
083841800d Remove PYTHON_VER=3.7.10 from .gitlab-ci.yml as it breaks test_build_system_cmake_macos on ARM 2024-09-30 15:44:15 +02:00
Jiang Jiang Jian
95dda5b00a Merge branch 'bugfix/fix_esp32c2_rom_eco1_mbedtls_issues_v5.0' into 'release/v5.0'
fix(esp_rom): Fixed esp32c2 rom eco1 mbedtls issues (v5.0)

See merge request espressif/esp-idf!33919
2024-09-30 14:00:56 +08:00
Wei Yu Han
33e673985a docs(ble): Added BLE Get Started documentation link to README.md
(cherry picked from commit 5f008828d31149303d92cc269dbd9f45ca745e04)

Co-authored-by: Yuhan Wei <weiyuhan@espressif.com>
2024-09-30 12:04:35 +08:00
Jiang Guang Ming
5dd3f332ca fix(esp_rom): Fixed esp32c2 rom eco1 mbedtls issues 2024-09-30 09:29:26 +08:00
nilesh.kale
e20e00df4f feat(mbedtls): updated mbedtls version to 3.6.1 2024-09-29 22:52:29 +05:30
xiongweichao
6d2b9caaee feat(bt/bluedroid): Report sniff interval to application layer 2024-09-29 19:25:53 +08:00
Island
828adbb35a Merge branch 'ble_dev/esp32c2eco4_chip_20240903_v5.0' into 'release/v5.0'
change(ble): update c2 eco4 ld file (v5.0)

See merge request espressif/esp-idf!33666
2024-09-29 10:48:39 +08:00
Island
497d5e0c8d Merge branch 'feat/get_ble_resolve_address_status_v5.0' into 'release/v5.0'
feat(ble/bluedroid): Support resolve BLE address for interval usage (v5.0)

See merge request espressif/esp-idf!33805
2024-09-29 10:30:15 +08:00
Chen Jian Hua
f512f059ea fix(bt/controller): Fixed ble get tx power error
(cherry picked from commit 4108a5cc4cb96039ed861703dda06f7f3a5969c3)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-27 18:33:18 +08:00
Chen Jian Hua
5bf4347ad9 fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC
(cherry picked from commit 873708579c99069d073f3d6c7ba6db154cbf16b9)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-27 18:33:16 +08:00
zhanghaipeng
74cc3eb3ba fix(ble/bluedroid): Fixed BLE spelling error in word 2024-09-27 15:53:08 +08:00
zhanghaipeng
da545604fc feat(ble/bluedroid): Add BLE memory allocation failure message 2024-09-27 15:53:01 +08:00
zhanghaipeng
7207816a3f feat(ble/controller): Display BLE controller init status for ESP32 and ESP32C3/S3 2024-09-27 15:52:49 +08:00
zhanghaipeng
ab0d3831db feat(ble/bluedroid): Optimize address resolution status for interval use 2024-09-27 14:48:30 +08:00
Jiang Jiang Jian
4b666f74ff Merge branch 'bugfix/set_sae_pmk_len_v5.0' into 'release/v5.0'
fix(esp_wifi): Set PMK len after SAE exchange (v5.0)

See merge request espressif/esp-idf!33861
2024-09-27 14:34:15 +08:00
Lou Tianhao
1a5a30053a change(esp_pm): change pm_slp_iram_opt dependence 2024-09-27 14:04:16 +08:00