Commit Graph

22372 Commits

Author SHA1 Message Date
zhanghaipeng
2330510635 fix(ble/bluedroid): Fix incorrect state issue when unregistering BLE GATTC application 2024-07-30 19:12:40 +08:00
zhangyanjiao
2b3df95766 fix(wifi/mesh): fix the beacon timeout issue in mesh 2024-07-30 11:36:16 +08:00
morris
5a26d8ae8e Merge branch 'feat/support_psram_aps3204l_v5.1' into 'release/v5.1'
Some checks failed
docker / docker (push) Has been cancelled
psram: support APS3204L (v5.1)

See merge request espressif/esp-idf!32392
2024-07-29 17:13:48 +08:00
zwl
d26a0ba71f fix(ble): fixed tx memory leak issue when controller disable 2024-07-29 11:56:23 +08:00
zwl
035bb3176d fix(ble): fixed wdt issue when print key controller info on ESP32-C6 and ESP32-H2 2024-07-29 11:56:23 +08:00
zwl
70e5c79476 feat(bluetooth/controller): support switching log output mode on ESP32-C2 2024-07-29 11:56:23 +08:00
zwl
10c8b0c3b8 feat(bluetooth/controller): support switching log output mode on ESP32-C6 and ESP32-H2 2024-07-29 11:56:23 +08:00
zwl
11f0fd8f8e feat(bluetooth/controller): storage ble controller log to flash on ESP32C2 2024-07-29 11:56:23 +08:00
zwl
cfb5d9d224 feat(bluetooth/controller): storage ble controller log to flash on ESP32C6 and ESP32H2 2024-07-29 11:56:23 +08:00
Armando
c330a9ef67 feat(psram): support APS3204L 2024-07-29 11:43:33 +08:00
Rahul Tank
1d23173715 fix(nimble): Zero initialize variable to avoid garbage value 2024-07-26 21:33:00 +05:30
Adam Múdry
b57e0a2d49 fix(vfs): FATFS mount immediately after format if mount failed 2024-07-26 17:54:51 +02:00
Sudeep Mohanty
7b5508b6ff fix(freertos): Incorrect assert in FreeRTOS port layer when not in ISR context
This commit fixes an issue where in the FreeRTOS port layer would cause
the portASSERT_IF_IN_ISR() assert check to fail even when the system is
not in an interrupt context.
2024-07-26 15:55:49 +02:00
Jiang Jiang Jian
ecdd485305 Merge branch 'bugfix/handle_no_pmkid_case_owe_v5.1' into 'release/v5.1'
Some checks failed
docker / docker (push) Has been cancelled
Recompute keys in OWE incase of PMKID absence or mismatch (Backport v5.1)

See merge request espressif/esp-idf!32335
2024-07-26 19:07:41 +08:00
Island
2e08930e9c Merge branch 'bugfix/fix_ble_cannot_create_conn_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed BLE cannot create connection(v5.1)

See merge request espressif/esp-idf!32309
2024-07-26 15:43:36 +08:00
Jiang Jiang Jian
0ca290deb0 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.1' into 'release/v5.1'
Fixed some BLE bugs 240723 (backport v5.1)

See merge request espressif/esp-idf!32301
2024-07-26 14:19:55 +08:00
Jiang Jiang Jian
db09005c83 Merge branch 'bugfix/fix_coex_loadprohibit_issue_v5.1' into 'release/v5.1'
fix(coex): Fixed coexist scheme phase index overflow issue (backport v5.1)

See merge request espressif/esp-idf!32294
2024-07-26 11:04:05 +08:00
zhanghaipeng
bea98fdd1e fix(ble/bluedroid): Fixed BLE cannot create connection 2024-07-26 10:38:10 +08:00
Aditya Patwardhan
9d3f9e943e Merge branch 'bugfix/existing_mmap_region_offset_v5.1' into 'release/v5.1'
fix(esp_mm): for existing mmap region, consider new offset for virtual addr (v5.1)

See merge request espressif/esp-idf!32114
2024-07-25 17:10:19 +08:00
Xu Si Yu
28b785077b feat(openthread): support restoring vendor properties of rcp 2024-07-25 15:58:28 +08:00
Xu Si Yu
ffe3ce3ed0 feat(openthread): support changing openthread version information 2024-07-25 15:58:20 +08:00
Xu Si Yu
e6f76a17a1 feat(openthread): update openthread submodule 2024-07-25 15:57:56 +08:00
Shyamal Khachane
39d284ba33 fix(esp_wifi): Handle PMKID mismatch or absence in OWE
Compute keys incase PMKID does not match or PMKID is absent in association response
2024-07-25 08:33:42 +05:30
Rahul Tank
79012cb3e2 fix(wifi_prov): Added API to set random address 2024-07-24 20:58:04 +05:30
zhiweijian
d41dfab0f6 feat(bt/controller): support mesh duplicate with extend scan 2024-07-23 20:07:43 +08:00
linruihao
8ea1299395 fix(coex): Update bt lib for ESP32-C3 and ESP32-S3(e4ba7f6)
- Fixed coexist LoadProhibited issue
2024-07-23 20:07:38 +08:00
zhanghaipeng
f004ac85e2 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(abd7733)
- Fix the issue where RSSI is incorrect when latency is not zero
2024-07-23 20:07:32 +08:00
chenjianhua
6ce37484e9 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(66b5cc0)
- Fixed vendor hci get controller status command
- Prevent BLE interrupt from being preempted
2024-07-23 20:07:23 +08:00
linruihao
8acb4bc521 fix(coex): Fixed coexist scheme phase index overflow issue 2024-07-23 17:46:24 +08:00
Jiang Jiang Jian
9069767c9e Merge branch 'bugfix/11r_disable_sdkconfig_v5.1' into 'release/v5.1'
Some checks failed
docker / docker (push) Has been cancelled
fix(wifi): Ignore 11R, ENT AP when disabled in sdkconfig

See merge request espressif/esp-idf!32241
2024-07-23 15:05:48 +08:00
Marius Vikhammer
897a7743de Merge branch 'fix/lp_i2c_generates_spurious_start_cond_v5.1' into 'release/v5.1'
fix(lp-i2c): Fixed the generation of spurious I2C start with lp-i2c (v5.1)

See merge request espressif/esp-idf!32109
2024-07-23 14:40:52 +08:00
Kapil Gupta
3d84716864 fix(esp_wifi): backport some dpp fixes 2024-07-22 12:02:43 +05:30
Island
864f4713a7 Merge branch 'fix/ble_mesh_24_76_v5.1' into 'release/v5.1'
fix(ble_mesh): fixed BLEMESH24-76_v5.1

See merge request espressif/esp-idf!32228
2024-07-22 14:05:29 +08:00
Shreyas Sheth
8c91bf7e9f fix(wifi): Ignore 11R, ENT AP when disabled in sdkconfig 2024-07-19 12:41:59 +05:30
Rahul Tank
cd4714dd01 Merge branch 'bugfix/reset_irk_when_all_unpair_v5.1' into 'release/v5.1'
Some checks failed
docker / docker (push) Has been cancelled
fix(nimble): Fixed BLE security vulnerability when using fixed IRK (v5.1)

See merge request espressif/esp-idf!32158
2024-07-18 22:49:28 +08:00
Jiang Jiang Jian
d65755e8de Merge branch 'bugfix/fix_mesh_xon_request_timeout_issue_v5.1' into 'release/v5.1'
fix(wifi/mesh): fix the issue that xon request timeout constantly when root reboot (v5.1)

See merge request espressif/esp-idf!32183
2024-07-18 21:36:19 +08:00
Island
51acf1367b Merge branch 'feat/support_default_tx_level_for_esp32h2_esp32c6_esp32c2_v5.1' into 'release/v5.1'
Feat/support default tx level for esp32h2 esp32c6 esp32c2 v5.1

See merge request espressif/esp-idf!32193
2024-07-18 19:33:50 +08:00
morris
a23a3703b5 Merge branch 'bugfix/rmt_memory_power_up_v5.1' into 'release/v5.1'
fix(rmt): power up memory block (v5.1)

See merge request espressif/esp-idf!32173
2024-07-18 15:13:41 +08:00
Rahul Tank
0095bc4b7f fix(nimble): Fixed BLE security vulnerability when using fixed IRK 2024-07-18 09:55:33 +05:30
zhangyanjiao
ee421a11ba fix(wifi/mesh): fix the issue that xon request timeout constantly when root reboot
Closes https://github.com/espressif/esp-idf/issues/13212
2024-07-18 11:46:23 +08:00
luoxu
5507b1ee37 fix(ble_mesh): fixed BLEMESH24-76 2024-07-18 11:39:17 +08:00
zwl
4cdb166b36 feat(bluetooth/controller): support default tx power configurable on ESP32C2 2024-07-18 10:44:29 +08:00
zwl
115af31441 feat(bluetooth/controller): support default tx power configurable on ESP32C6 and ESP32H2 2024-07-18 10:43:07 +08:00
Jiang Jiang Jian
f50aaeac10 Merge branch 'bugfix/wps_bug_v5.1' into 'release/v5.1'
fix(wpa_supplicant):Fix for setting wps status fail when connection fails(v5.1)

See merge request espressif/esp-idf!31222
2024-07-17 21:04:41 +08:00
Island
d82f9162df Merge branch 'feat/optimize_bt_porting_hci_0628_5.1' into 'release/v5.1'
feat(bluetooth/controller): adopting new HCI layer code and support UHCI...

See merge request espressif/esp-idf!32132
2024-07-17 19:29:37 +08:00
morris
fde22b2a2a fix(rmt): power up memory block 2024-07-17 13:53:35 +08:00
aditi
03f7fad2fa fix(wpa_supplicant):Fix for setting wps status fail when connection fails 2024-07-17 11:17:34 +05:30
Mahavir Jain
ef80a09a4d Merge branch 'bugfix/c5_mpi_ecc_power_mode_v5.1' into 'release/v5.1'
fix(hal): correct mpi/ecc peripheral power up sequence for ESP32-C5 (v5.1)

See merge request espressif/esp-idf!31866
2024-07-17 13:03:01 +08:00
zwl
c2bf1ff2b5 feat(bluetooth/controller): update nimble host to adapt hci layer 2024-07-16 13:23:41 +08:00
zwl
4ec72b01fb feat(bluetooth/controller): add default cts and rts macro definition 2024-07-16 13:23:41 +08:00
zwl
b7ea3416c3 feat(bluetooth/controller): adopting new HCI layer code and support UHCI function on ESP32-C6 and ESP32-H2 2024-07-16 13:23:41 +08:00
zwl
c09892df4a feat(bluetooth/controller): adopting new HCI layer code on ESP32-C2 2024-07-16 13:23:41 +08:00
zwl
d7838290e5 feat(bluetooth/controller): optimize bt hci layer code 2024-07-16 13:23:41 +08:00
Jiang Jiang Jian
875e422021 Merge branch 'bugfix/fix_some_wifi_bugs_240715_v5.1' into 'release/v5.1'
fix(wifi): fix some wifi bugs 240715(Backport v5.1)

See merge request espressif/esp-idf!32137
2024-07-16 13:06:41 +08:00
muhaidong
09054d31d8 fix(wifi): fix some wifi bugs 240715
1. update api esp_wifi_sta_get_rssi docs
2. fix disable gcmp choose pairwise cipher wrong issue
3. fix sta may join bad signal ap when set by signal
2024-07-15 20:30:48 +08:00
muhaidong
1f74339756 fix(wifi): fix configure gcmp failure issue 2024-07-15 20:04:09 +08:00
muhaidong
cd7eb3621a fix(wifi): fixed disable gcmp choose pairwise cipher wrong issue 2024-07-15 20:02:35 +08:00
muhaidong
c688060142 fix(doc): update api esp_wifi_sta_get_rssic docs
Closes https://github.com/espressif/esp-idf/issues/12685
2024-07-15 19:59:45 +08:00
muhaidong
335faac23f fix(wifi): annotate a rom function 2024-07-15 19:56:15 +08:00
Jin Cheng
1b848b6ef0 fix(bt/controller): Removed an improper assertion in ACL link driver.
It can be triggered on peripheral SNIFF mode
when RX window is adjusted on ESP32.
2024-07-15 15:29:26 +08:00
Mahavir Jain
deab1da6f2 fix(esp_mm): for existing mmap region, consider new offset for virtual addr
While returning virtual address for existing memory mapped region, newly
supplied offset from the physical address was not getting considered.

This was a regression present from ESP-IDF 5.1 release.

Added test case in spi_flash component that fails without this fix.

Closes https://github.com/espressif/esp-idf/issues/13929
2024-07-15 12:42:45 +08:00
Jiang Jiang Jian
0b6f501aef Merge branch 'docs/optimized_ble_controller_api_references_esp32_v5.1' into 'release/v5.1'
docs(ble): Revised the esp32 controller API explanations (v5.1)

See merge request espressif/esp-idf!31927
2024-07-15 10:41:52 +08:00
Jiang Jiang Jian
936f80d8f6 Merge branch 'bugfix/wps_reg_state_handling_v5.1' into 'release/v5.1'
fix(wpa_supplicant): Handle case when WPS registrar misses WSC_DONE sent by station (Backport v5.1)

See merge request espressif/esp-idf!32080
2024-07-15 10:40:29 +08:00
morris
d97add7130 Merge branch 'fix/usb_hs_scheduler_backport_v5.1' into 'release/v5.1'
fix(usb/host): Fix occasional ISOC scheduler skipping transfers backport to v5.1

See merge request espressif/esp-idf!32085
2024-07-14 21:07:25 +08:00
Sudeep Mohanty
23bf06b231 fix(lp-i2c): Fixed the generation of spurious I2C start with lp-i2c
This commit fixes an issue with LP I2C and RTC I2C where in the
peripherals generated a spurious I2C start condition when initialized.
This caused some sensors to not respond properly to the following read
or write request.

Closes https://github.com/espressif/esp-idf/issues/14043
Closes https://github.com/espressif/esp-idf/issues/11608
2024-07-12 17:29:35 +02:00
Island
dc859c1e67 Merge branch 'feat/add_ble50_instant_v5.1' into 'release/v5.1'
Some checks failed
docker / docker (push) Has been cancelled
Add support for BLE 5.0 instances in related events (v5.1)

See merge request espressif/esp-idf!31992
2024-07-12 14:52:56 +08:00
Sarvesh Bodakhe
67de87c6ba 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:03:30 +05:30
Sarvesh Bodakhe
23470b660e 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:03:06 +05:30
Tomas Rezucha
a774e0dfb5 fix(usb/host): Fix occasional ISOC scheduler skipping transfers 2024-07-12 08:18:45 +02:00
Wei Yu Han
d7960deda7 docs(ble): Removed trailing whitespaces 2024-07-12 09:15:05 +08:00
Wei Yu Han
3db28fbb04 docs(ble): Revised the explanation for esp_bt_mem_release and esp_bt_controller_mem_release 2024-07-12 08:54:17 +08:00
Alexey Gerenkov
cb194de911 Merge branch 'fix_coredump_build_error_v5.1' into 'release/v5.1'
fix(coredump): fix array out of the bounds error (v5.1)

See merge request espressif/esp-idf!32016
2024-07-11 21:46:07 +08:00
liuning
9aa89c2718 feat(wifi, coex): update libs to support feature and fix some issue 2024-07-11 11:24:30 +08:00
liuning
2c8de044a3 feat(wifi): support coex pwr 2024-07-11 11:24:10 +08:00
Island
92584e3bde Merge branch 'bugfix/split_hci_log_in_nimble_v5.1' into 'release/v5.1'
fix(bt/nimble): split hci log in nimble (backport v5.1)

See merge request espressif/esp-idf!32000
2024-07-10 18:38:33 +08:00
zhanghaipeng
0c82c90bca fix(ble/bluedroid): Fixed BLE set adv param check 2024-07-10 12:24:37 +08:00
Mahavir Jain
c64c930f06 Merge branch 'contrib/github_pr_13945_v5.1' into 'release/v5.1'
fix(esp_http_client): Do not allocate client->if_name twice in esp_http_client_init. (GitHub PR) (v5.1)

See merge request espressif/esp-idf!31944
2024-07-10 12:21:54 +08:00
Wei Yu Han
e7b13d719d docs(ble): Add the parameter name data in esp_vhci_host_send_packet 2024-07-10 10:41:50 +08:00
Erhan Kurubas
b9c1258556 fix(coredump): fix array out of the bounds error
Closes https://github.com/espressif/esp-idf/issues/14117
2024-07-09 22:10:45 +02:00
zhiweijian
3cac5c4fdd fix(bt/nimble): split hci log in nimble 2024-07-09 16:40:06 +08:00
zhanghaipeng
67e1325377 feat(ble/bluedroid): Support BLE50 instance in related event 2024-07-09 15:38:44 +08:00
Jiang Jiang Jian
3465bb0367 Merge branch 'bugfix/fix_esco_conflict_with_sniff_v5.1' into 'release/v5.1'
fix(bt/controller): Fixed some controller bugs (v5.1)

See merge request espressif/esp-idf!31954
2024-07-09 10:42:53 +08:00
Jiang Jiang Jian
1798232ce7 Merge branch 'bugfix/cache2phys_xip_v5.1' into 'release/v5.1'
fix(mmap): fixed spi_flash_cache2phys return addr in PSRAM issue (v5.1)

See merge request espressif/esp-idf!31107
2024-07-09 10:37:12 +08:00
Jiang Jiang Jian
9cc4aeef61 Merge branch 'fix/wait_efuse_idle_after_wake_v5.1' into 'release/v5.1'
fix(esp_hw_support): wait eFuse controller idle after sleep wakeup (v5.1)

See merge request espressif/esp-idf!31949
2024-07-09 10:34:39 +08:00
Jiang Jiang Jian
bae9a3a29f Merge branch 'change/add_some_wifi_feature_and_fix_some_bug_v5.1' into 'release/v5.1'
Some checks failed
docker / docker (push) Has been cancelled
feat(wifi): add softap csa&dtim&wait_bcast_data setting v5.1

See merge request espressif/esp-idf!31921
2024-07-08 19:20:56 +08:00
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
wuzhenghui
242d0e70e7
fix(esp_hw_support): wait eFuse controller idle after sleep wakeup 2024-07-08 14:17:28 +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
fbp2m
bed13e209c
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:21:00 +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
Wang Ning
565394ba44 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-05 18:08:13 +08:00
Yuhan Wei
86463b7f27 docs(ble): Add the explanations to controller parameters configurable in menuconfig 2024-07-05 18:08:13 +08:00
Wang Ning
b81ddcbed0 Apply 35 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-05 18:08:13 +08:00
Yuhan Wei
fde21eab8e docs(ble): Removed note in esp_bt_controller_config_t 2024-07-05 18:08:13 +08:00
Yuhan Wei
2dcd257dcf docs(ble): Replaced BT with Bluetooth 2024-07-05 18:08:13 +08:00
Yuhan Wei
e7be8fa4c6 docs(ble): Removed unnecessary explanations 2024-07-05 18:08:13 +08:00
Yuhan Wei
060a7e3abb docs(ble): Added corresponding values to the controller mode 2024-07-05 18:08:12 +08:00
Yuhan Wei
e742961c9c docs(ble): Fixed the explanation of TX power type 2024-07-05 18:08:12 +08:00
Yuhan Wei
5f1064ccc4 docs(ble): Added typeof for BLE sleep clock accuracy enum 2024-07-05 18:08:12 +08:00
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
wangtao@espressif.com
cf2bdb08f4 feat(wifi): add softap csa&dtim&wait_bcast_data setting v5.1 2024-07-05 15:35:31 +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
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
Xiao Xufeng
acb85aee23 fix(mmap): fixed spi_flash_cache2phys return addr in PSRAM issue
When SPIRAM_FETCH_INSTRUCTIONS or SPIRAM_RODATA enabled
2024-07-04 10:30:24 +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
Mahavir Jain
9ff2f9ab2f fix(hal): correct the power up sequence for MPI/ECC peripherals in ESP32-C5 2024-07-03 11:50:10 +05:30
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
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
Jiang Jiang Jian
6f1ff29851 Merge branch 'fix/add_integrity_check_when_select_temporary_key_v5.1' into 'release/v5.1'
fix(bt): add integrity check when temporary link key selected(backport v5.1)

See merge request espressif/esp-idf!31700
2024-06-26 10:37:53 +08:00
Guillaume Souchere
42447ccf12 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:59:24 +02:00
Sarvesh Bodakhe
a2db5d852e fix(wifi): Fix station PMF issue
Fix issue of station PMF not getting reset when disconnecing from PMF connection
2024-06-25 14:13:21 +05:30
Marius Vikhammer
14e01c031f Merge branch 'fix/fsync-call-propagation-to-secondary-console_v5.1' into 'release/v5.1'
fix(console): Fsync not propagated to secondary output (backport v5.1)

See merge request espressif/esp-idf!30263
2024-06-25 16:07:38 +08:00
Island
cf072a4fe3 Merge branch 'feat/optimize_bt_porting_layer_0619_v5.1' into 'release/v5.1'
Feat/optimize bt porting layer 0619 (v5.1)

See merge request espressif/esp-idf!31674
2024-06-25 14:18:32 +08:00
morris
a0262a2aa6 Merge branch 'fix/lcd_build_error_in_cpp_v5.1' into 'release/v5.1'
fix(lcd): build errors with deprecated lcd types in cpp (v5.1)

See merge request espressif/esp-idf!31678
2024-06-25 12:39:10 +08:00
Jiang Jiang Jian
187be854ea Merge branch 'fix/trigger_system_reset_in_brownout_isr_v5.1' into 'release/v5.1'
change(esp_system): trigger digital system reset in brownout isr (v5.1)

See merge request espressif/esp-idf!31685
2024-06-25 11:50:13 +08:00
Rahul Tank
0edef52a67 fix(nimble): Pass the correct cb arg during reconnection attempt 2024-06-25 08:32:14 +05:30
Sudeep Mohanty
0a0327dce8 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:11:02 +02:00
chenjianhua
3730b0a9af feat(bt/bluedroid): Add definition for the reason of BLE authentication failure 2024-06-24 17:59:01 +08:00
chenjianhua
5eed961113 fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK 2024-06-24 17:59:01 +08:00
linruihao
1f57c2b91a fix(bt): Overwrite a function in esp32c3 eco7 rom 2024-06-24 17:59:01 +08:00
chenjianhua
40b9ec3860 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-24 17:59:01 +08:00
chenjianhua
ae29703fb4 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-24 17:59:01 +08:00
gongyantao
6cd05b082a fix(bt): add integrity check when temporary link key selected 2024-06-24 17:50:35 +08:00
morris
97de085b35 Merge branch 'bugfix/esp32h2_iomux_retention_v5.1' into 'release/v5.1'
fix(gpio): fix IO 21-27 IOMUX registers not being backed up on ESP32H2 (v5.1)

See merge request espressif/esp-idf!31192
2024-06-24 17:33:55 +08:00
Jiang Jiang Jian
accaf2bd51 Merge branch 'bugfix/wpa3_sta_mem_leak_v5.1' into 'release/v5.1'
Fix a memory leak that occurs when the SAE connection is interrupted (Backport v5.1)

See merge request espressif/esp-idf!31661
2024-06-24 14:20:05 +08:00
morris
450846057c fix(lcd): build errors with deprecated lcd types in cpp
Closes https://github.com/espressif/esp-idf/issues/14029
2024-06-24 14:06:20 +08:00
wuzhenghui
8e5e95e452
change(esp_hw_support): update xtal_freq after assume to avoid mass print in DFS 2024-06-24 13:38:47 +08:00
wuzhenghui
563683f471
change(esp_system): trigger digital system reset in brownout isr 2024-06-24 12:07:30 +08:00
cjin
066e04a9a4 fix(ble): added c6 config check for ble light sleep 2024-06-24 11:31:40 +08:00
zwl
5fe68c206e feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-24 11:31:40 +08:00
Rahul Tank
517064d0b3 Merge branch 'bugfix/free_memory_before_reattempt_v5.1' into 'release/v5.1'
fix(nimble): Clear resource before re-starting advertising(v5.1)

See merge request espressif/esp-idf!31627
2024-06-24 10:45:17 +08:00
Jiang Jiang Jian
44ed05a546 Merge branch 'bugfix/wifi-6570_v5.1' into 'release/v5.1'
backport v5.1: fix the issue of wifipwr losing its clock during sleep on the esp32c6 eco1

See merge request espressif/esp-idf!31616
2024-06-24 09:58:30 +08:00
Shyamal Khachane
233a57d4f5 fix(esp_wifi): Fix a memory leak that occurs when the SAE connection is interrupted
1. Free temporary data used by SAE before memsetting the same
2. Drop any received auth response that uses a different algorithm than the one currently in use
2024-06-21 14:47:30 +05:30
Marius Vikhammer
bd2b9390ef Merge branch 'refactor/cpu_interrupt_table_v5.1' into 'release/v5.1'
fix(esp_hw_support): refactor and clear reserved interrupts that are unused or not applicable anymore (backport v5.1)

See merge request espressif/esp-idf!31259
2024-06-21 08:59:05 +08:00
Jiang Jiang Jian
d326c1bbf4 Merge branch 'fix/use_rom_crc_check_in_cpu_retention_v5.1' into 'release/v5.1'
fix(ci): use esp_rom_crc32_le in cpu retention frame check (v5.1)

See merge request espressif/esp-idf!31591
2024-06-20 13:51:26 +08:00
Rahul Tank
b482d04fb6 fix(nimble): Clear resource before re-starting advertising 2024-06-20 11:02:46 +05:30
Island
344e9ad593 Merge branch 'feat/put_bt_interface_code_to_rom_v5.1' into 'release/v5.1'
Feat/put bt interface code to rom (v5.1)

See merge request espressif/esp-idf!31551
2024-06-20 10:38:02 +08:00
Li Shuai
56526ffefa fix(wifi): fix the issue of wifipwr losing its clock during sleep on the esp32c6 eco1 2024-06-19 19:35:27 +08:00
LonerDan
cd7b8f2db1 fix(ulp-risc-v): Set RTC GPIO output mode in the correct register for ULP RISC-V
According to the ESP32-S2/S3 TRM, the output pin's mode is set in the RTC_GPIO_PINn_REG
by programming the RTC_GPIO_PINn_PAD_DRIVER bit. The current ULP RISC-V RTCIO driver
however, incorrectly programs the RTC_IO_TOUCH_PADn_REG register field RTC_IO_TOUCH_PADn_DRV.
This commit fixes the bug.
2024-06-19 09:02:23 +02:00
wuzhenghui
7ecc6ac029
fix(ci): use esp_rom_crc32_le in sleep retention frame check 2024-06-19 14:07:03 +08:00
xiongweichao
b63bcef8e0 fix(bt/bluedroid): Fixed crash after bluedroid deinit
hci_host_env.downstream_data_ready is set to NULL during bluedroid deinit,
causing the controller to use a null pointer when calling callback.
2024-06-17 19:03:47 +08:00
xiongweichao
69729d4639 fix(bt/bluedroid): Fixed deadlock caused by not unlocking 2024-06-17 19:03:05 +08:00
xiongweichao
3eb54ad307 fix(bt/bluedroid): Fixed L2CAP using wrong handle
- Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event.
- Closes https://github.com/espressif/esp-idf/issues/13847
2024-06-17 19:03:05 +08:00
zwl
b01930a5c0 feat(bluetooth/controller): update controller api name on ESP32-C2 2024-06-17 16:43:32 +08:00
zwl
7019204f20 feat(bluetooth/controller): update controller api name on ESP32-C6 and ESP32-H2 2024-06-17 16:43:32 +08:00
Li Shuai
f5f020f6e7
fix(esp_hw_support): use iterator for regdma_link_stats to save stack consume
Closes https://github.com/espressif/esp-idf/issues/13288
2024-06-17 15:59:07 +08:00
Rahul Tank
58a9d0e27b Merge branch 'bugfix/fix_no_mem_coex_issue_v5.1' into 'release/v5.1'
fix(nimble): Added change to handle extra memory for ext adv reattempt (v5.1)

See merge request espressif/esp-idf!31502
2024-06-14 20:04:19 +08:00
Mohammad-Mohsen Aseman-Manzar
098a804f73 Fix stack overflow bug for examples/bluetooth/esp_hid_device when using esp32s3 with nimble
Related to 60354c39a9
2024-06-14 14:27:41 +05:30
Rahul Tank
d5c4973bd3 fix(nimble): Added change to handle extra memory for ext adv reattempt 2024-06-14 12:05:09 +05:30
Abhik Roy
4e2e2b2c53 fix(lwip): Fixed compilation error referencing undefined POSIX interface API
Closes https://github.com/espressif/esp-idf/issues/13577
2024-06-14 13:13:39 +10:00