Commit Graph

23504 Commits

Author SHA1 Message Date
Jiang Jiang Jian
8558a9cbe8 Merge branch 'bugfix/nan_datapath_issues_v5.2' into 'release/v5.2'
Fix issues in NAN datapath establishment (Backport v5.2)

See merge request espressif/esp-idf!30979
2024-07-02 10:47:39 +08:00
Guillaume Souchere
c2683af2a6 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:36:18 +02:00
Shyamal Khachane
261d09a0fe fix(esp_wifi): Fix issues in NAN datapath establishment
1. Resolve indefinite waiting while stopping NAN
2. Increase NDP response timeout to 8 DW's
3. Set NAN discovery beacon interval to 100 TU's as per Section 9.2
   of Wi-Fi Aware Specification v4.0
2024-07-01 12:12:13 +05:30
Jiang Jiang Jian
b621e14e8f Merge branch 'bugfix/fix_ble_connect_fail_report_time_v5.2' into 'release/v5.2'
fix(ble/bluedroid): Fixed BLE report event when connection fails (v5.2)

See merge request espressif/esp-idf!31782
2024-07-01 14:20:24 +08:00
Jiang Jiang Jian
88c6cf5cfa Merge branch 'feature/esp32c6_pu8m_in_sleep_support_v5.2' into 'release/v5.2'
feat(sleep): support 8m force pu in sleep for esp32c6 & esp32h2 (v5.2)

See merge request espressif/esp-idf!31000
2024-07-01 10:43:28 +08:00
Jiang Jiang Jian
36e0c4898d Merge branch 'bugfix/fix_esp32_cant_tx_after_tx_timeout_v5.2' into 'release/v5.2'
fix(wifi): fix esp32 unrecoverable m f issue

See merge request espressif/esp-idf!30969
2024-07-01 10:40:27 +08:00
Jiang Jiang Jian
232b0145bd Merge branch 'docs/update_esp_vfs_notes_v5.2' into 'release/v5.2'
docs(vfs): update esp_vfs_register_fd api description (v5.2)

See merge request espressif/esp-idf!30426
2024-07-01 10:28:56 +08:00
Jiang Jiang Jian
dfd8679d02 Merge branch 'fix/heap-trace-on-all-functions_v5.2' into 'release/v5.2'
fix(heap): Tracing of all heap_caps API functions (backport v5.2)

See merge request espressif/esp-idf!30234
2024-07-01 10:28:01 +08:00
Jiang Jiang Jian
d64c77117f Merge branch 'fix/sntp_getreachability_v5.2' into 'release/v5.2'
fix(netif): Add missing SNTP get-reachablitiy API (v5.2)

See merge request espressif/esp-idf!30032
2024-07-01 10:26:30 +08:00
Rahul Tank
5767de65bd Merge branch 'bugfix/set_correct_cb_arg_v5.2' into 'release/v5.2'
fix(nimble): Pass the correct cb arg during reconnection attempt (v5.2)

See merge request espressif/esp-idf!31718
2024-06-28 20:56:33 +08:00
liuning
af98ed245c feat(wifi, coex): update libs to support feature and fix some issue 2024-06-28 14:27:48 +08:00
zhanghaipeng
4a7bf913a0 fix(ble/bluedroid): Fixed BLE report event when connection fails 2024-06-28 12:00:39 +08:00
liuning
d506580d65 feat(wifi): support coex pwr 2024-06-28 11:42:05 +08:00
Island
1022b2b447 Merge branch 'bugfix/fixed_hci_uart_error_on_esp32c6_esp32h2_v5.2' into 'release/v5.2'
feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci... (v5.2)

See merge request espressif/esp-idf!31751
2024-06-27 17:19:34 +08:00
Jiang Jiang Jian
aabb3699d1 Merge branch 'bugfix/ft_scanning_failure_v52' into 'release/v5.2'
fix(esp_wifi): Fix issues in scanning and connecting to FT APs(v5.2)

See merge request espressif/esp-idf!31156
2024-06-26 20:39:13 +08:00
Island
1491b579a8 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.2' into 'release/v5.2'
Fixed some BLE bugs 240620 (backport v5.2)

See merge request espressif/esp-idf!31647
2024-06-26 20:33:19 +08:00
zwl
57a8f0d151 feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci uart mode on ESP32-C6 and ESP32-H2 2024-06-26 17:32:52 +08:00
jgujarathi
5f8ac78e59 fix(esp_wifi): Fix issues in scanning and connecting to FT APs
- Fix issues that arise when conecting to FT APs when disconnect reason
  code 211 is reported mistakenly.
2024-06-26 12:24:55 +05:30
Marius Vikhammer
293f868e10 Merge branch 'fix/prompt-erased-by-backspace-in-dumbmode_v5.2' into 'release/v5.2'
fix(console): bug where backspace erases the prompt in dumb mode (backport v5.2)

See merge request espressif/esp-idf!30348
2024-06-26 12:56:49 +08:00
Jiang Jiang Jian
99df25b55a Merge branch 'bugfix/l2cap_use_wrong_handle_v5.2' into 'release/v5.2'
fix(bt/bluedroid):  Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event(v5.2)

See merge request espressif/esp-idf!31279
2024-06-26 10:49:51 +08:00
Jiang Jiang Jian
c3673638cf Merge branch 'fix/add_integrity_check_when_select_temporary_key_v5.2' into 'release/v5.2'
fix(bt): add integrity check when temporary link key selected(backport v5.2)

See merge request espressif/esp-idf!31699
2024-06-26 10:48:11 +08:00
Jiang Jiang Jian
dc6b400968 Merge branch 'bugfix/wpa3_init_crash_v5.2' into 'release/v5.2'
fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer (v5.2)

See merge request espressif/esp-idf!31541
2024-06-26 10:47:05 +08:00
Jiang Jiang Jian
86232742a1 Merge branch 'bugfix/station_ic_pmf_state_v5.2' into 'release/v5.2'
fix(wifi): Disable IC_PMF variable properly when station disconnects and always clear keys in tx_cb (Backport v5.2)

See merge request espressif/esp-idf!31632
2024-06-26 10:33:43 +08:00
Guillaume Souchere
3d22330ff8 fix(heap): Tracing of all heap_caps API
This commit fixes the missing tracing on all
heap_caps_xx_prefer and heap_caps_xx_aligned
functions.
2024-06-25 11:57:09 +02:00
Guillaume Souchere
302881e6b7 fix(linenoise): Skip 0x00 to 0x1F character in dump mode
Skipping through the non printable character assures that
in dumb mode, any special keys will not lead to the cursor
movement.
2024-06-25 11:48:45 +02:00
Guillaume Souchere
ac2491acc5 fix(console): bug where backspace erases the prompt in dumb mode 2024-06-25 11:48:45 +02:00
Sarvesh Bodakhe
8c58db057f fix(wifi): Fix station PMF issue
Fix issue of station PMF not getting reset when disconnecing from PMF connection
2024-06-25 13:54:45 +05:30
Marius Vikhammer
25fd5cf0a5 Merge branch 'fix/fsync-call-propagation-to-secondary-console_v5.2' into 'release/v5.2'
fix(console): Fsync not propagated to secondary output (backport v5.2)

See merge request espressif/esp-idf!30262
2024-06-25 16:08:14 +08:00
Island
921b8ebf44 Merge branch 'feat/optimize_bt_porting_layer_0619_v5.2' into 'release/v5.2'
Feat/optimize bt porting layer 0619 (v5.2)

See merge request espressif/esp-idf!31673
2024-06-25 14:18:41 +08:00
Jiang Jiang Jian
70d19d5730 Merge branch 'fix/trigger_system_reset_in_brownout_isr_v5.2' into 'release/v5.2'
change(esp_system): trigger digital system reset in brownout isr (v5.2)

See merge request espressif/esp-idf!31684
2024-06-25 11:50:31 +08:00
Rahul Tank
e9959cd00e fix(nimble): Pass the correct cb arg during reconnection attempt 2024-06-25 08:31:11 +05:30
morris
ecc1f0bd7a Merge branch 'fix/lcd_build_error_in_cpp_v5.2' into 'release/v5.2'
fix(lcd): build errors with deprecated lcd types in cpp (v5.2)

See merge request espressif/esp-idf!31677
2024-06-25 10:50:12 +08:00
chenjianhua
ba4a43e020 feat(bt/bluedroid): Add definition for the reason of BLE authentication failure 2024-06-25 00:04:14 +08:00
chenjianhua
6f21c18f5b fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK 2024-06-25 00:04:14 +08:00
linruihao
fed97908f8 fix(bt): Overwrite a function in esp32c3 eco7 rom 2024-06-25 00:04:14 +08:00
chenjianhua
ad0a988430 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(0738a61)
- Fixed BT BB interrupt allocation
- Refactor the prefix of assert print
- Fixed HCI LE set privacy mode command handle
2024-06-25 00:04:14 +08:00
chenjianhua
8334a10f6d fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(eca46a0)
- Fixed adv data buffer free after restart adv
- Fixed BLE interrupt allocation using esp API
2024-06-25 00:04:14 +08:00
Sudeep Mohanty
3ed21ca8f0 fix(ulp-risc-v): Fixed RTC I2C multi-byte read/write issue for ULP RISC-V
This commit fixes an issue where multi-byte reads and writes over the
RTC I2C peripheral got stuck on the esp32s2 and esp32s3.

Closes https://github.com/espressif/esp-idf/issues/12235
2024-06-24 17:10:49 +02:00
Mahavir Jain
018409d99b Merge branch 'fix/fix_esp_tls_client_key_parsing_v5.2' into 'release/v5.2'
fix(esp_tls): Fixed client key parsing for ECC key (v5.2)

See merge request espressif/esp-idf!31505
2024-06-24 20:34:20 +08:00
gongyantao
6c84fdcde8 fix(bt): add integrity check when temporary link key selected 2024-06-24 17:49:50 +08:00
Jiang Jiang Jian
51bd0da552 Merge branch 'bugfix/wpa3_sta_mem_leak_v5.2' into 'release/v5.2'
Fix a memory leak that occurs when SAE connection is interrupted (Backport v5.2)

See merge request espressif/esp-idf!31652
2024-06-24 14:03:45 +08:00
wuzhenghui
851c176d1b
change(esp_hw_support): update xtal_freq after assume to avoid mass print in DFS 2024-06-24 13:38:10 +08:00
Marius Vikhammer
1a48173692 Merge branch 'contrib/github_pr_14010_v5.2' into 'release/v5.2'
fix(ulp): Write pin's output mode to the correct register (GitHub PR) (v5.2)

See merge request espressif/esp-idf!31596
2024-06-24 12:16:16 +08:00
wuzhenghui
c239c68373
change(esp_system): trigger digital system reset in brownout isr 2024-06-24 12:03:03 +08:00
morris
8e79afe7c8 fix(i2c_lcd): using function overloading to keep esp_lcd_new_panel_io_i2c
becuase _Generic is not available in C++

Closes https://github.com/espressif/esp-idf/issues/14037
2024-06-24 11:57:40 +08:00
morris
4e7dd0ce2b fix(lcd): build errors with deprecated lcd types in cpp
Closes https://github.com/espressif/esp-idf/issues/14029
2024-06-24 11:57:40 +08:00
Rahul Tank
4570722409 Merge branch 'bugfix/free_memory_before_reattempt_v5.2' into 'release/v5.2'
fix(nimble): Clear resource before re-starting advertising (v5.2)

See merge request espressif/esp-idf!31626
2024-06-24 10:42:01 +08:00
cjin
b67ff61d34 fix(ble): added c6 config check for ble light sleep 2024-06-24 10:12:51 +08:00
zwl
c4a22160c7 feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-24 10:11:52 +08:00
Jiang Jiang Jian
4fa32cffd3 Merge branch 'bugfix/wifi-6570_v5.2' into 'release/v5.2'
backport v5.2: fix the issue of wifipwr losing its clock during sleep on the esp32c6 eco1

See merge request espressif/esp-idf!31603
2024-06-24 09:58:46 +08:00