Commit Graph

32592 Commits

Author SHA1 Message Date
linruihao
b981e4cdac fix(bt/controller): Fixed some controller bugs
- Fixed fail to establish eSCO when connected to two devices
- Changed some error log level to Debug if the error have a workaround

Closes https://github.com/espressif/esp-idf/issues/12340
2024-07-08 14:26:59 +08:00
liqigan
8725c9a56e fix(bt/controller): Fixed not report HCI_Disconnection_Complete event 2024-07-08 14:26:59 +08:00
Island
c8b9ad5da0 Merge branch 'fix/blemesh24_61_v5.1' into 'release/v5.1'
fix/blemesh24_61 (v5.1)

See merge request espressif/esp-idf!31566
2024-07-08 14:06:32 +08:00
Rahul Tank
ae9e4888df Merge branch 'bugfix/revert_extra_print_v5.1' into 'release/v5.1'
Revert "fix(nimble): Added debug print to check for skipped adv report" (v5.1)

See merge request espressif/esp-idf!31933
2024-07-08 12:56:09 +08:00
Rahul Tank
e922e49f85 Revert "fix(nimble): Added debug print to check for skipped adv report"
This reverts commit 634412e20c.
2024-07-05 18:09:25 +05:30
Mahavir Jain
f4b38d00bc Merge branch 'fix/c6_bootloader_rng_enable_v5.1' into 'release/v5.1'
fix(bootloader_support): Fixed pattern in RNG enable function to avoid output on IO0 (v5.1)

See merge request espressif/esp-idf!31907
2024-07-05 12:47:50 +08:00
Jiang Jiang Jian
a5686fbeac Merge branch 'bugfix/fix_some_wifi_bugs_v5.1' into 'release/v5.1'
fix(wifi):fix some wifi bugs(Backport v5.1)

See merge request espressif/esp-idf!31904
2024-07-05 12:06:21 +08:00
Island
aaeb03ad36 Merge branch 'bugfix/fixed_ble_issues_on_esp32c2_esp32c6_v5.1' into 'release/v5.1'
Bugfix/fixed ble issues on esp32c2 esp32c6 (v5.1)

See merge request espressif/esp-idf!31861
2024-07-05 10:39:26 +08:00
Jiang Jiang Jian
20a169cfb8 Merge branch 'docs/update_twt_docs_v5.1' into 'release/v5.1'
docs(wifi):update TWT docs(Backport v5.1)

See merge request espressif/esp-idf!31899
2024-07-04 19:15:17 +08:00
yinqingzhao
3a202c65a0 fix(wifi):fix some wifi bugs 2024-07-04 17:57:13 +08:00
Jakob Hasse
1070c75ec7 fix(bootloader_support): Fixed pattern in RNG enable function on C6 to avoid output on IO0 2024-07-04 11:36:58 +02:00
yinqingzhao
a8c4e7c254 docs(wifi):update TWT docs 2024-07-04 15:00:27 +08:00
luoxu
86fd1c0ca1 fix(ble_mesh): ensure the operation of adv busy is thread-safe 2024-07-04 12:13:03 +08:00
luoxu
5e7546269e feat(ble_mesh): add cas operation for bt_mesh_atomic_val_t 2024-07-04 12:13:03 +08:00
Jiang Jiang Jian
f2a321d843 Merge branch 'contrib/github_pr_14084_v5.1' into 'release/v5.1'
remove TLS pointer/deletion callback from correct thread (GitHub PR) (v5.1)

See merge request espressif/esp-idf!31853
2024-07-04 11:29:36 +08:00
Jiang Jiang Jian
b2ea5cf471 Merge branch 'fix/suppress_c++11_invalid_suffix_on_literal_v5.1' into 'release/v5.1'
fix: Fix PRI inttypes error due to C++ invalid suffix on literal in SPIFFS (v5.1)

See merge request espressif/esp-idf!31808
2024-07-04 10:34:57 +08:00
Jiang Jiang Jian
c6ef988244 Merge branch 'bugfix/openthread_uart_vfs_register_v5_1' into 'release/v5.1'
fix(openthread): register uart vfs devices when they are not registered(v5.1)

See merge request espressif/esp-idf!31792
2024-07-04 10:33:37 +08:00
Jiang Jiang Jian
274a723a75 Merge branch 'feature/add-newlib-sbom_v5.1' into 'release/v5.1'
feat(newlib): Add sbom manifest file (v5.1)

See merge request espressif/esp-idf!31830
2024-07-04 10:16:16 +08:00
Jiang Jiang Jian
9d8525f7fd Merge branch 'fix/usb_isoc_error_status_backport_v5.1' into 'release/v5.1'
fix(usb/host): Decode error flags in ISOC transfers backport to v5.1

See merge request espressif/esp-idf!31882
2024-07-04 10:15:56 +08:00
Jiang Jiang Jian
a3de6512a4 Merge branch 'feature/sae_pk_transition_disable_v5.1' into 'release/v5.1'
feat(esp_wifi): Add support for SAE-PK, OWE and WPA3 transition disable (Backport v5.1)

See merge request espressif/esp-idf!31378
2024-07-03 19:34:58 +08:00
Rahul Tank
4f7fb6a4e4 Merge branch 'bugfix/low_buf_count_print_v5.1' into 'release/v5.1'
fix(nimble): Added debug print to check for skipped adv report (v5.1)

See merge request espressif/esp-idf!31833
2024-07-03 16:43:30 +08:00
Sarvesh Bodakhe
de4010b95a feat(esp_wifi): Add support for WPA3 transition disable and more updates
1. Add support for SAE-PK and WPA3-Enterprise transition disable
2. Add support to handle OWE transition disable indication from AP
3. refactor: Backport common changes in scan/connect path from 90cc6158
   - 90cc6158 adds support for Network Introduction Protocol in DPP
4. Fix issue of supplicant using wrong parameters to configure bss
  - Ensure that wpa_supplicant's state machine registers the requirement for rsnxe
    before deciding to add rsnxe to a assoc request.

Co-authored-by: default avatarjgujarathi <jash.gujarathi@espressif.com>
2024-07-03 13:07:47 +05:30
Tomas Rezucha
b7ec35da41 fix(usb/host): Decode error flags in ISOC transfers 2024-07-03 09:15:57 +02:00
Jiang Jiang Jian
f455c00b20 Merge branch 'docs/delete_userguide_esp32_s2_devkitc_1_v5.1' into 'release/v5.1'
docs: Delete user guide esp32-s2-devkitc-1 (v5.1)

See merge request espressif/esp-idf!31620
2024-07-03 15:08:20 +08:00
Jiang Jiang Jian
9beca6e0ec Merge branch 'bugfix/fix_phy_cal_data_v5.1' into 'release/v5.1'
fix(phy): add phy calibration data check when mode is not none calibration v5.1

See merge request espressif/esp-idf!31817
2024-07-03 13:58:53 +08:00
Jiang Jiang Jian
2059071053 Merge branch 'fix/fix_esp_tls_client_key_parsing_v5.1' into 'release/v5.1'
fix(esp_tls): Fixed client key parsing for ECC key (v5.1)

See merge request espressif/esp-idf!31840
2024-07-03 13:58:17 +08:00
Jiang Jiang Jian
4a142be6bb Merge branch 'docs/format_ap_basic_configuration_tables_v5.1' into 'release/v5.1'
docs: format AP basic configuration tables in wifi.rst (v5.1)

See merge request espressif/esp-idf!31856
2024-07-03 13:55:10 +08:00
Jiang Jiang Jian
a06c6877fa Merge branch 'bugfix/wps_mode_change_v5.1' into 'release/v5.1'
fix(esp_wifi): Fix for issue in changing opmode when wps is enabled(v5.1)

See merge request espressif/esp-idf!30779
2024-07-02 22:29:52 +08:00
zwl
98f12d1a2d fix(ble): fixed some ble controller issues on ESP32C6 and ESP32H2 2024-07-02 15:44:32 +08:00
zwl
8744e7c8bc fix(ble): fixed some ble controller issues on ESP32-C2 2024-07-02 15:44:32 +08:00
Linda
cbae9c7fb1 docs: format AP basic configuration tables in wifi.rst 2024-07-02 14:59:49 +08:00
aditi_lonkar
8587991313 fix(esp_wifi): Fix for issue in changing opmode when wps is enabled 2024-07-02 11:59:48 +05:30
Jiang Jiang Jian
597331d23c Merge branch 'lwip/if_indextoname_compolation_fix_v5.1' into 'release/v5.1'
fix(lwip): Fixed compilation error referencing undefined POSIX interface API (v5.1)

See merge request espressif/esp-idf!31407
2024-07-02 13:52:57 +08:00
Jiang Jiang Jian
4422beda77 Merge branch 'backport/support_eth_mac_using_esp_read_mac_v51' into 'release/v5.1'
feat(eth) configure eth mac using esp_read_mac(Backport v5.1)

See merge request espressif/esp-idf!31091
2024-07-02 13:51:09 +08:00
Myk Melez
4e22d115b7 fix(pthread): Remove TLS pointer/deletion callback from correct thread
Originally, pthread_internal_local_storage_destructor_callback was only called from pthread_exit
on the thread whose TLS is being destroyed.

In b3755b751e, pthread_internal_local_storage_destructor_callback
started being called from pthread_join and pthread_detach on a different thread (whichever one
called one of those functions).

But pthread_internal_local_storage_destructor_callback is still calling
vTaskSetThreadLocalStoragePointer and vTaskSetThreadLocalStoragePointerAndDelCallback with a NULL
xTaskToSet argument, which causes those functions to set the TLS pointer and deletion callback
for the current thread, not the thread whose TLS is being destroyed.

This commit makes pthread_internal_local_storage_destructor_callback call
vTaskSetThreadLocalStoragePointer and vTaskSetThreadLocalStoragePointerAndDelCallback
with the handle of the thread whose TLS is being destroyed.
2024-07-02 13:33:20 +08:00
Krzysztof Budzynski
fe617ff0d8 Merge branch 'docs/migrate_esp32c3_devkitc_02_devkitm_1_user_guide_v5.1' into 'release/v5.1'
docs: Migrate user guides of ESP32-C3-DevKitM and ESP32-C3-DevKitC to esp-dev-kits (v5.1)

See merge request espressif/esp-idf!31823
2024-07-02 13:20:20 +08:00
Zhang Xiao Yan
6193237a79 docs: Migrate user guides of ESP32-C3-DevKitM and ESP32-C3-DevKitC to esp-dev-kits (v5.1) 2024-07-02 13:20:20 +08:00
Jiang Jiang Jian
98f351292d Merge branch 'fix/docs_wifi_get_sta_list_v5.1' into 'release/v5.1'
fix(docs): tcpip_adapter: Document replacement of tcpip_adapter_get_sta_list (v5.1)

See merge request espressif/esp-idf!31172
2024-07-02 10:45:11 +08:00
Marius Vikhammer
8280458c36 Merge branch 'fix/usb-serial-jtag-hangs-on-init_v5.1' into 'release/v5.1'
fix(console): USB Serial JTAG freezes when input received before the driver is installed (v5.1)

See merge request espressif/esp-idf!31822
2024-07-02 10:44:47 +08:00
Aditya Patwardhan
cca7792e90
fix(esp_tls): Fixed client key parsing for ECC key
Client key parsing for ECC keys was failing as the
    RNG supplied to the key parsing API was uninitialized.
    This commit fixes that behaviour
2024-07-02 09:30:39 +08:00
Mahavir Jain
b928bd205e Merge branch 'fix/esp_tls_use_64_bit_variable_for_time_v5.1' into 'release/v5.1'
fix(esp-tls): Use 64 bit variable for time instead of 32 bit (v5.1)

See merge request espressif/esp-idf!30625
2024-07-01 19:15:37 +08:00
Alexey Lapshin
8705da6ff3 feat(newlib): Add sbom manifest file 2024-07-01 17:09:14 +07:00
Rahul Tank
634412e20c fix(nimble): Added debug print to check for skipped adv report 2024-07-01 15:33:53 +05:30
Aditya Patwardhan
e73b02198e
fix(esp-tls): Use 64 bit variable for time instead of 32 bit
Use appropriate API available on respective platform for obtaining
    time
    Closes https://github.com/espressif/esp-idf/issues/13593
2024-07-01 14:38:53 +05:30
zhangshuxian
a46f24c41f docs: Delete user guide esp32-s2-devkitc-1 2024-07-01 15:45:55 +08:00
Guillaume Souchere
8aa0b7fb1a fix(console): USB Serial JTAG freezes when input received before init
When data was sent through USB Serial JTAG before the
driver was installed, the bus was malfunctioning. This
was because the interrupt bit for data reception was cleared
regardless of whether data was received or not. Consequently,
usb_serial_jtag_isr_handler_default was not triggered and the
data was never read causing the bus to malfunction.

This commit is modifying usb_serial_jtag_driver_install to
prevent clearing USB_SERIAL_JTAG_INTR_SERIAL_OUT_RECV_PKT and
USB_SERIAL_JTAG_INTR_SERIAL_IN_EMPTY thus allowing the callback
usb_serial_jtag_isr_handler_default to trigger for possible data
exchanged prior to the call to usb_serial_jtag_driver_install.

This commit also modified the while logic in linenoiseProbe to
discard any data that doesn't match the expected chaaracter sequences
to prevent random input from interfering with evaluating whether the
terminal supports escape sequences or not.

See https://github.com/espressif/esp-idf/issues/13940
2024-07-01 09:37:00 +02:00
chenjianxing
79629f4667 fix(phy): add phy calibration data check when mode is not none calibration 2024-07-01 15:22:40 +08:00
xiaqilin
ceb24b5161 fix(esp_phy): fix the frequency switching issue in esp32h2/esp32c6 ble/ieee802154 coex 2024-07-01 15:22:30 +08:00
Jiang Jiang Jian
abc703a0dd Merge branch 'bugfix/fix_ble_connect_fail_report_time_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed BLE report event when connection fails (v5.1)

See merge request espressif/esp-idf!31783
2024-07-01 14:20:09 +08:00
Jiang Jiang Jian
2653904d33 Merge branch 'bugfix/mgmt_gcmp_issue_v5.1' into 'release/v5.1'
fix(wifi): Fix GCMP encryption for mgmt packets and other bugfixes (Backport v5.1)

See merge request espressif/esp-idf!30481
2024-07-01 11:06:05 +08:00