Commit Graph

32765 Commits

Author SHA1 Message Date
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
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
9653044214 Merge branch 'docs/add_the_description_of_gpio_wakeup_in_lightsleep_when_pd_top_v5.1' into 'release/v5.1'
docs(pm): add description for gpio_wakeup (backport v5.1)

See merge request espressif/esp-idf!31739
2024-07-01 10:24:50 +08:00
Jiang Jiang Jian
321ffde711 Merge branch 'fix/incorrect_console_input_decoding_wifi_prov_mgr_v5.1' into 'release/v5.1'
fix(tools/esp_prov): Fix incorrect input decoding when using console transport (v5.1)

See merge request espressif/esp-idf!31691
2024-07-01 10:24:13 +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
8de6307fa1 Merge branch 'docs/delete_user_guide_esp32_s2_devkitm_1_v5.1' into 'release/v5.1'
docs: Delete user guide esp32-s2-devkitm-1 (v5.1)

See merge request espressif/esp-idf!31609
2024-07-01 10:22:55 +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
61ba825b03 Merge branch 'fix/bump_esp_littlefs_to_v5.1' into 'release/v5.1'
fix(storage/littlefs): Bump version to v1.14.4 (core v2.9.1) (v5.1)

See merge request espressif/esp-idf!30358
2024-07-01 10:21:20 +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
Jiang Jiang Jian
3a7997dba5 Merge branch 'bugfix/ft_scanning_failure_v51' into 'release/v5.1'
Fix scanning and connecting to FT APs(v5.1)

See merge request espressif/esp-idf!31185
2024-06-28 11:24:49 +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
Lou Tianhao
d587205bbf docs(pm): add description for gpio_wakeup 2024-06-26 14:12:33 +08:00
harshal.patil
a2993ab3a6
fix(tools/esp_prov): Fix incorrect input decoding when using console transport
- Closes https://github.com/espressif/esp-idf/issues/14013
2024-06-26 11:28:47 +05:30
Shreyas Sheth
a14d4ea8a4 fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer 2024-06-26 10:45:28 +08:00
Jiang Jiang Jian
c1f50a8eae Merge branch 'bugfix/station_ic_pmf_state_v5.1' into 'release/v5.1'
fix(wifi): Disable IC_PMF variable properly when station disconnects and always clear keys in tx_cb (Backport v5.1)

See merge request espressif/esp-idf!31633
2024-06-26 10:44:18 +08:00
Jiang Jiang Jian
55cfe6ee21 Merge branch 'bugfix/l2cap_use_wrong_handle_v5.1' into 'release/v5.1'
fix(bt/bluedroid):  Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event(v5.1)

See merge request espressif/esp-idf!31280
2024-06-26 10:41:21 +08:00
Jiang Jiang Jian
e649fcf81c Merge branch 'feature/esp32c6_pu8m_in_sleep_support_v5.1' into 'release/v5.1'
feat(sleep): support 8m force pu in sleep for esp32c6 & esp32h2 (v5.1)

See merge request espressif/esp-idf!31001
2024-06-26 10:40:32 +08:00