Commit Graph

23633 Commits

Author SHA1 Message Date
Sarvesh Bodakhe
6378f5539d fix(wpa_supplicant): Avoid delaying removal of wps enrollee by 10ms
This is no longer needed as eloop timers are now executed in wifi task context.
2024-07-12 12:05:30 +05:30
Sarvesh Bodakhe
e2c47edafa fix(wpa_supplicant): Handle case when WPS registrar misses WSC_DONE sent by station
When registrar somehow misses the WSC_DONE sent by station and station
goes for next connection after sending deauth, make sure that softAP
disables the registrar.
2024-07-12 12:05:22 +05:30
Tomas Rezucha
440f3308ab fix(usb/host): Fix occasional ISOC scheduler skipping transfers 2024-07-12 08:18:42 +02:00
Sarvesh Bodakhe
ad6bd842a1 fix(wifi): 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: jgujarathi <jash.gujarathi@espressif.com>
2024-07-12 08:09:25 +05:30
Wei Yu Han
b9b3992d42 docs(ble): Removed trailing whitespace 2024-07-12 09:13:51 +08:00
Wei Yu Han
3f36497d8a docs(ble): Revised the explanation for esp_bt_mem_release and esp_bt_controller_mem_release 2024-07-12 08:19:47 +08:00
Alexey Gerenkov
ed12574848 Merge branch 'fix_coredump_build_error_v5.2' into 'release/v5.2'
fix(coredump): fix array out of the bounds error (v5.2)

See merge request espressif/esp-idf!32015
2024-07-11 20:47:03 +08:00
morris
a5924567c7 Merge branch 'bugfix/usb_serial_jtag_simplify_v5.2' into 'release/v5.2'
usb-serial-jtag driver simplification (backport v5.2)

See merge request espressif/esp-idf!31957
2024-07-11 16:11:53 +08:00
zhanghaipeng
21610d3fbb fix(ble/bluedroid): Fixed BLE set adv param check 2024-07-10 12:25:05 +08:00
Wei Yu Han
58a4f153bc docs(ble): Add the parameter name data in esp_vhci_host_send_packet 2024-07-10 10:40:36 +08:00
Erhan Kurubas
c3c22d5186 fix(coredump): fix array out of the bounds error
Closes https://github.com/espressif/esp-idf/issues/14117
2024-07-09 22:15:34 +02:00
zhiweijian
d60a68ba26 fix(bt/nimble): split hci log in nimble 2024-07-09 16:33:33 +08:00
zhanghaipeng
a7dc067f1c feat(ble/bluedroid): Support BLE50 instance in related event 2024-07-09 15:23:52 +08:00
Jiang Jiang Jian
af7124f815 Merge branch 'bugfix/check_c3_efuse_error_on_ram_app_condition_v5.2' into 'release/v5.2'
Some checks are pending
docker / docker (push) Waiting to run
bugfix(cpu_start): check c3 efuse error log on ram app condition (v5.2)

See merge request espressif/esp-idf!31045
2024-07-09 10:51:38 +08:00
Jiang Jiang Jian
031216ff3b Merge branch 'bugfix/flash_enc_write_ram_v5.2' into 'release/v5.2'
fix(spi_flash): Fix that internal RAM has no enough space to put all stuff inside (backport v5.2)

See merge request espressif/esp-idf!29656
2024-07-09 10:41:20 +08:00
Jiang Jiang Jian
728078416a Merge branch 'fix/usb_isoc_error_status_backport_v5.2' into 'release/v5.2'
fix(usb/host): Decode error flags in ISOC transfers backport to v5.2

See merge request espressif/esp-idf!31883
2024-07-09 10:40:30 +08:00
Jiang Jiang Jian
927e41f9a1 Merge branch 'contrib/github_pr_13945_v5.2' into 'release/v5.2'
fix(esp_http_client): Do not allocate client->if_name twice in esp_http_client_init. (GitHub PR) (v5.2)

See merge request espressif/esp-idf!31943
2024-07-09 10:40:05 +08:00
Jiang Jiang Jian
45aee0dac3 Merge branch 'fix/wait_efuse_idle_after_wake_v5.2' into 'release/v5.2'
fix(esp_hw_support): wait eFuse controller idle after sleep wakeup (v5.2)

See merge request espressif/esp-idf!31950
2024-07-09 10:38:57 +08:00
Jiang Jiang Jian
7f59f760e7 Merge branch 'bugfix/fix_esco_conflict_with_sniff_v5.2' into 'release/v5.2'
fix(bt/controller): Fixed some controller bugs (v5.2)

See merge request espressif/esp-idf!31953
2024-07-09 10:38:15 +08:00
Island
0250fc5cd4 Merge branch 'fix/blemesh24_61_v5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
fix/blemesh24_61 (v5.2)

See merge request espressif/esp-idf!31565
2024-07-08 20:00:06 +08:00
Jeroen Domburg
4af418c534 refactor(usb-serial-jtag): usb-serial-jtag driver simplification to fix rom print coexistence 2024-07-08 14:47:25 +08:00
linruihao
985c7f9112 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:53 +08:00
liqigan
b2607d8653 fix(bt/controller): Fixed not report HCI_Disconnection_Complete event 2024-07-08 14:26:53 +08:00
wuzhenghui
4ddeee6260
fix(esp_hw_support): wait eFuse controller idle after sleep wakeup 2024-07-08 14:14:57 +08:00
morris
4a065f8b9a Merge branch 'fix/i2c_pin_short_cut_v5.2' into 'release/v5.2'
fix(i2c_master): Modify the behavior from ISR WDT to return timeout when circut get shortcut(backport v5.2)

See merge request espressif/esp-idf!31569
2024-07-08 11:42:25 +08:00
Jiang Jiang Jian
c61fe6d624 Merge branch 'change/add_some_wifi_feature_and_fix_some_bug_v5.2' into 'release/v5.2'
feat(wifi): add softap csa&dtim&wait_bcast_data setting v5.2

See merge request espressif/esp-idf!31918
2024-07-08 10:44:14 +08:00
fbp2m
975e77ed7d
fix: fixed allocating if_name in client context multiple times
Do not allocate client->if_name twice in esp_http_client_init().

Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/13945
2024-07-07 21:20:18 +08:00
Rahul Tank
e8ac1be60c Revert "fix(nimble): Added debug print to check for skipped adv report"
This reverts commit e29f31bca4.
2024-07-05 18:08:13 +05:30
Wang Ning
b9c4b6414b Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-05 18:08:07 +08:00
Yuhan Wei
1df6134485 docs(ble): Add the explanations to controller parameters configurable in menuconfig 2024-07-05 18:08:07 +08:00
Wang Ning
799d7bfd6d Apply 35 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-05 18:08:07 +08:00
Yuhan Wei
d18e230a9f docs(ble): Removed note in esp_bt_controller_config_t 2024-07-05 18:08:07 +08:00
Yuhan Wei
fe41fba8a6 docs(ble): Replaced BT with Bluetooth 2024-07-05 18:08:07 +08:00
Yuhan Wei
bbeea564da docs(ble): Removed unnecessary explanations 2024-07-05 18:08:07 +08:00
Yuhan Wei
b0fb2df89d docs(ble): Added corresponding values to the controller mode 2024-07-05 18:08:07 +08:00
Yuhan Wei
b80829dcd9 docs(ble): Fixed the explanation of TX power type 2024-07-05 18:08:07 +08:00
Yuhan Wei
ad01b74b49 docs(ble): Added typeof for BLE sleep clock accuracy enum 2024-07-05 18:08:06 +08:00
Yuhan Wei
edb4bded13 docs(ble): Added a name for BLE sleep clock accuracy enum 2024-07-05 18:08:06 +08:00
Yuhan Wei
ea18f615d2 docs(ble): Revised the esp32 controller API explanations 2024-07-05 18:08:06 +08:00
Mahavir Jain
284242d609 Merge branch 'fix/c6_bootloader_rng_enable_v5.2' into 'release/v5.2'
fix(bootloader_support): Fixed pattern in RNG enable function to avoid output on IO0 (v5.2)

See merge request espressif/esp-idf!31906
2024-07-05 15:06:01 +08:00
wangtao@espressif.com
cd0ffdac12 feat(wifi): add softap csa&dtim&wait_bcast_data setting and ignore err nodata v5.2 2024-07-05 14:09:33 +08:00
Jiang Jiang Jian
db8df15ee7 Merge branch 'bugfix/fix_bss_color_issues_v5.2' into 'release/v5.2'
fix(bss_color):fix bss color issues(backport v5.2)

See merge request espressif/esp-idf!30991
2024-07-05 11:42:32 +08:00
Island
a55fb176c4 Merge branch 'bugfix/fixed_ble_issues_on_esp32c2_esp32c6_v5.2' into 'release/v5.2'
Bugfix/fixed ble issues on esp32c2 esp32c6 (v5.2)

See merge request espressif/esp-idf!31860
2024-07-05 10:39:30 +08:00
Jakob Hasse
a45e4b3dca fix(bootloader_support): Fixed pattern in RNG enable function on C6 to avoid output on IO0 2024-07-04 11:36:44 +02:00
yinqingzhao
3fcedf6432 fix(wifi):fix some wifi bugs 2024-07-04 15:42:04 +08:00
C.S.M
4ce9b783f3 fix(i2c): Fix i2c not release semaphore in command send loop 2024-07-04 12:29:05 +08:00
Cao Sen Miao
a44f8179de refactor(i2c): Add reset and clock control to i2c ll layer 2024-07-04 12:29:05 +08:00
Cao Sen Miao
5847ba0b9a fix(i2c_master): Fix the issue that probe cannot work properly after a general call,
Closes https://github.com/espressif/esp-idf/issues/13547
2024-07-04 12:29:05 +08:00
Cao Sen Miao
34abdaea46 fix(i2c_master): Modify the behavior from ISR WDT to return timeout when circut get shortcut,
Closes https://github.com/espressif/esp-idf/issues/13587
2024-07-04 12:29:05 +08:00
luoxu
f5ae03e8f4 fix(ble_mesh): ensure the operation of adv busy is thread-safe 2024-07-04 12:13:20 +08:00
luoxu
9c7a81083c feat(ble_mesh): add cas operation for bt_mesh_atomic_val_t 2024-07-04 12:13:20 +08:00
Cao Sen Miao
b150aad5d1 fix(spi_flash): Fix spi_flash counter test on CI 2024-07-04 11:18:45 +08:00
Cao Sen Miao
fa50973fec fix(spi_flash): Fix that internal RAM has no enough space to put all stuff inside 2024-07-04 11:18:45 +08:00
Cao Sen Miao
ec28757007 fix(spi_flash): Improve encryption write performance, Closes https://github.com/espressif/esp-idf/issues/12553 2024-07-04 11:18:45 +08:00
Jiang Jiang Jian
2c289fed2f Merge branch 'contrib/github_pr_14084_v5.2' into 'release/v5.2'
remove TLS pointer/deletion callback from correct thread (GitHub PR) (v5.2)

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

See merge request espressif/esp-idf!31807
2024-07-04 10:34:50 +08:00
Marius Vikhammer
2fa4d4e0b7 Merge branch 'fix/brownout_crash_v5.2' into 'release/v5.2'
fix(brownout): fixed brownout isr crashing if cache disabled (v5.2)

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

See merge request espressif/esp-idf!31794
2024-07-04 10:33:25 +08:00
Jiang Jiang Jian
abf8ffac59 Merge branch 'feature/ipc_noblocking_call_v5.2' into 'release/v5.2'
feat(ipc): Adds a new no blocking IPC call (v5.2)

See merge request espressif/esp-idf!28442
2024-07-03 21:00:10 +08:00
Rahul Tank
3584fb776e Merge branch 'bugfix/low_buf_count_print_v5.2' into 'release/v5.2'
fix(nimble): Added debug print to check for skipped adv report (v5.2)

See merge request espressif/esp-idf!31832
2024-07-03 16:45:53 +08:00
Tomas Rezucha
49d9fc0250 fix(usb/host): Decode error flags in ISOC transfers 2024-07-03 09:15:53 +02:00
Jiang Jiang Jian
2acb6ac33f Merge branch 'bugfix/fix_phy_cal_data_v5.2' into 'release/v5.2'
fix(phy): add phy calibration data check when mode is not none calibration v5.2

See merge request espressif/esp-idf!31816
2024-07-03 14:06:11 +08:00
Jiang Jiang Jian
cb2a226659 Merge branch 'bugfix/wps_mode_change_v5.2' into 'release/v5.2'
fix(esp_wifi): Fix for issue in changing opmode when wps is enabled(v5.2)

See merge request espressif/esp-idf!30780
2024-07-02 21:20:37 +08:00
Mahavir Jain
adea6829b3 fix(hal): correct the power up sequence for MPI/ECC peripherals in ESP32-C5 2024-07-02 13:36:54 +05:30
zwl
b753438111 fix(ble): fixed some ble controller issues on ESP32C6 and ESP32H2 2024-07-02 15:44:27 +08:00
zwl
f3b58d221d fix(ble): fixed some ble controller issues on ESP32-C2 2024-07-02 15:44:26 +08:00
aditi_lonkar
3a7408bed9 fix(esp_wifi): Fix for issue in changing opmode when wps is enabled 2024-07-02 11:25:55 +05:30
Jiang Jiang Jian
82c3a08d77 Merge branch 'lwip/if_indextoname_compolation_fix_v5.2' into 'release/v5.2'
fix(lwip): Fixed compilation error referencing undefined POSIX interface API (v5.2)

See merge request espressif/esp-idf!31406
2024-07-02 13:53:42 +08:00
Myk Melez
bf7ab2249c 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:11 +08:00
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
Rahul Tank
e29f31bca4 fix(nimble): Added debug print to check for skipped adv report 2024-07-01 15:33:43 +05:30
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
chenjianxing
ea4a2c70e9 fix(phy): add phy calibration data check when mode is not none calibration 2024-07-01 15:15:19 +08:00
xiaqilin
115738b91e fix(esp_phy): fix the frequency switching issue in esp32h2/esp32c6 ble/ieee802154 coex 2024-07-01 15:14:43 +08: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
Adam Múdry
faae7eccac fix: PRI inttypes error due to C++ invalid suffix on literal in SPIFFS 2024-06-30 23:31:50 +02: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
WanqQixiang
7158afb163 fix(openthread): register uart vfs devices when they are not registered 2024-06-28 15:59:30 +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