Commit Graph

22117 Commits

Author SHA1 Message Date
Yuhan Wei
09a682753f docs(ble): Added a name for BLE sleep clock accuracy enum 2024-07-05 18:08:12 +08:00
Yuhan Wei
698c38441e docs(ble): Revised the esp32 controller API explanations 2024-07-05 18:08:12 +08:00
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
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
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
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
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
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
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
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
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
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
Jiang Jiang Jian
078aff1033 Merge branch 'bugfix/wpa3_init_crash_v5.1' into 'release/v5.1'
fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer (v5.1)

See merge request espressif/esp-idf!31542
2024-07-01 10:52:16 +08:00
Jiang Jiang Jian
dc164cd29e Merge branch 'fix/ulp_riscv_i2c_multi_byte_v5.1' into 'release/v5.1'
fix(ulp-risc-v): Fixed RTC I2C multi-byte read/write issue for ULP RISC-V (v5.1)

See merge request espressif/esp-idf!31715
2024-07-01 10:23:34 +08:00
Jiang Jiang Jian
d45ec891d2 Merge branch 'docs/update_esp_vfs_notes_v5.1' into 'release/v5.1'
docs(vfs): update esp_vfs_register_fd api description (v5.1)

See merge request espressif/esp-idf!30427
2024-07-01 10:21:41 +08:00
Jiang Jiang Jian
6b60fc715f Merge branch 'bugfix/crash_after_bluedroid_deinit_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed controller using null pointer after bluedroid deinit(v5.1)

See merge request espressif/esp-idf!30328
2024-07-01 10:20:53 +08:00
Jiang Jiang Jian
135eb2e5da Merge branch 'fix/heap-trace-on-all-functions_v5.1' into 'release/v5.1'
fix(heap): Tracing of all heap_caps API functions (backport v5.1)

See merge request espressif/esp-idf!30235
2024-07-01 10:20:21 +08:00
Adam Múdry
43c69badc6 fix: PRI inttypes error due to C++ invalid suffix on literal in SPIFFS 2024-06-30 23:32:04 +02:00
Rahul Tank
c98f32ecb9 Merge branch 'bugfix/set_correct_cb_arg_v5.1' into 'release/v5.1'
fix(nimble): Pass the correct cb arg during reconnection attempt (v5.1)

See merge request espressif/esp-idf!31719
2024-06-28 21:00:58 +08:00
Kapil Gupta
967eda03d0 fix(esp_wifi): Correct action frame type in send_mgmt_frame API 2024-06-28 16:25:18 +05:30
Sarvesh Bodakhe
9d637316a9 fix(wifi): Add bugfix to avoid RSNXE and KDE mismatch during 4-way-handshake 2024-06-28 16:25:18 +05:30
Kapil Gupta
c5e1603e6d fix(wifi): Fix encryption/decryption issue for mgmt packets
* Fix issues related to mgmt packets encryption in GCMP
* Fix issue of wrong decryption of mgmt packets when PMF is enabled
* Fix softAP bug in handling of SAE Reauthentication
* Fix send mgmt err when eapol process
* Fix data len not correct in he actions
2024-06-28 16:24:54 +05:30
WanqQixiang
879e7903ef fix(openthread): register uart vfs devices when they are not registered 2024-06-28 15:52:40 +08:00
zhanghaipeng
6f08290f3d fix(ble/bluedroid): Fixed BLE report event when connection fails 2024-06-28 12:00:45 +08:00
jgujarathi
31b2cd7b8e fix(esp_wifi): Fix scanning and connecting to FT APs
- Ensure that scanning and connecting to FT capable APs in FT mode works
  as expected.
- Send unicast probe requests if bssid is known during scan
- Allows for RSNXE IE to be processed as a variable length upto
  255 bytes, changing the earlier max of 20.
2024-06-27 15:41:17 +05:30
Island
3530c0c7c8 Merge branch 'bugfix/fixed_hci_uart_error_on_esp32c6_esp32h2_v5.1' into 'release/v5.1'
feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci... (v5.1)

See merge request espressif/esp-idf!31752
2024-06-27 17:19:29 +08:00
Island
4efd577c19 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.1' into 'release/v5.1'
Fixed some BLE bugs 240620 (backport v5.1)

See merge request espressif/esp-idf!31654
2024-06-26 20:33:14 +08:00
zwl
ea6d8e64c9 feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci uart mode on ESP32-C6 and ESP32-H2 2024-06-26 17:32:57 +08:00
Shreyas Sheth
a14d4ea8a4 fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer 2024-06-26 10:45:28 +08:00