Commit Graph

23859 Commits

Author SHA1 Message Date
Aditya Patwardhan
726d796683 Merge branch 'fix/esp32c5_rng_random_disable_v5.2' into 'release/v5.2'
fix(bootloader): update random disable api for ESP32-C5/C6 (v5.2)

See merge request espressif/esp-idf!32762
2024-08-12 16:27:30 +08:00
Mahavir Jain
de7adb43c3 Merge branch 'change/exclude_cves_v5.2' into 'release/v5.2'
change: exclude CVEs that do not impact ESP-IDF components (v5.2)

See merge request espressif/esp-idf!32660
2024-08-12 12:42:02 +08:00
Mahavir Jain
2babadab07
fix(rng): avoid clearing PMU_PERIF_I2C_RSTB in random disable API for C6
This configuration bit is required for ADC operation as well and hence
should not be cleared in the RNG API sequence.

Ideally, the ADC driver should take care of initializing this bit but
still the RNG layer change is required because of interleaved API usage
scenario described in following linked issue.

Closes https://github.com/espressif/esp-idf/issues/14124
Closes https://github.com/espressif/esp-idf/issues/14280
2024-08-12 10:08:49 +05:30
Sudeep Mohanty
411ef4557a fix(freertos): Fixed critical section macro in vTaskPlaceOnEventListRestricted()
The vTaskPlaceOnEventListRestricted() did not use the correct macro when
exiting a kernel cirtical section. This does not affect the HW targets
but on the Linux port, this caused an issue as the critical nesting
count became negative, leading to deadlocks. This commit fixes the bug
and updates the linux port to prevent the nesting count from going
negative.
2024-08-10 09:24:19 +02:00
zwl
fbfa82276a fix(bluetooth/controller): fixed get controller status vendor hci command error on ESP32C6 2024-08-10 13:06:38 +08:00
Shen Weilong
1c0a4dbfa3 feat(ble): Print out the BT mac when the controller is initialized 2024-08-09 20:53:12 +08:00
zhanghaipeng
514a50b423 feat(ble/bluedroid): Support getting BLE address type in bond list 2024-08-09 20:26:00 +08:00
zhanghaipeng
523758c30c docs(ble/bluedroid): Optimize documentation for BLE connection parameter updates 2024-08-09 20:25:31 +08:00
zhanghaipeng
b4d0ba8062 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012)
- Fix BLE channel map update when latency is not zero
2024-08-09 20:21:37 +08:00
chenjianhua
6b0b2874e2 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(4e58df9)
- Support enhanced BLE TX power setting and getting
2024-08-09 20:21:37 +08:00
Wang Meng Yang
876eaf8082 Merge branch 'bugfix/fix_hidh_integrity_check_bug_v5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
fix(esp_hid): Loose the check of input report length to be more compatible[backport 5.2]

See merge request espressif/esp-idf!32721
2024-08-09 19:14:20 +08:00
morris
05446f6103 Merge branch 'bugfix/uart_config_t_size_v5.2' into 'release/v5.2'
fix(uart): fix uart_config_t structure size difference in C and C++ (v5.2)

See merge request espressif/esp-idf!32471
2024-08-09 18:10:56 +08:00
liqigan
900f366919 fix(esp_hid): Loose the check of input report length to be more compatible
Closes https://github.com/espressif/esp-idf/issues/14259
2024-08-09 15:53:24 +08:00
Island
32fd8532f4 Merge branch 'fix/ble_mesh_github_pr_14140_v5.2' into 'release/v5.2'
fix(ble-mesh): don't use dangling pointer in nimble gatt service (v5.2)

See merge request espressif/esp-idf!32613
2024-08-09 10:33:13 +08:00
Wang Meng Yang
e332e4b21b Merge branch 'fix/hfp_pcm_api_set_v5.2' into 'release/v5.2'
fix(bt/bluedroid): Add PCM configuration about pcm frame sync signal shape (backport v5.2)

See merge request espressif/esp-idf!32482
2024-08-08 16:12:12 +08:00
Konstantin Kondrashov
271c611485 feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU 2024-08-07 19:17:52 +08:00
Aditya Patwardhan
a3eabcdabc Merge branch 'fix/incorrect_config_name_v5.2' into 'release/v5.2'
Fix encrypt image instead of the partition optimisation not being enabled (v5.2)

See merge request espressif/esp-idf!32640
2024-08-07 13:28:08 +08:00
Rahul Tank
b7ed2b54ed Merge branch 'feat/set_data_length_enhancement_v5.2' into 'release/v5.2'
feat(nimble): Add extra handling for set data len packet event (v5.2)

See merge request espressif/esp-idf!32623
2024-08-07 13:08:17 +08:00
Shu Chen
b4999cd1dd Merge branch 'backport/make_ot_task_queue_non_permanent_blocking_52' into 'release/v5.2'
fix(openthread): make ot task queue sending non-permanent blocking(Backport 5.2)

See merge request espressif/esp-idf!32631
2024-08-07 12:37:51 +08:00
Frantisek Hrbata
f5168f2029 change: exclude CVEs that do not impact ESP-IDF components
cJSON:    CVE-2024-31755 - Resolved in cJSON v1.7.18
FreeRTOS: CVE-2024-28115 - Affects only ARMv7-M MPU ports, and ARMv8-M ports

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-08-06 17:23:55 +02:00
morris
8fc3d7d765 Merge branch 'feat/gpspi_flash_support_v5.2' into 'release/v5.2'
fix(spi_flash): Add external flash support on esp32c6,esp32h2(backport v5.2)

See merge request espressif/esp-idf!32533
2024-08-06 17:03:21 +08:00
harshal.patil
c2a22d00ce
fix(bootloader_support): Fix encrypt image instead of the partition feature not being enabled 2024-08-06 13:45:02 +05:30
Island
ab0e8205a5 Merge branch 'bugfix/fixed_ble_issues_on_c6_h2_c2_0731_v5.2' into 'release/v5.2'
Bugfix/fixed ble issues on c6 h2 c2 0731 (v5.2)

See merge request espressif/esp-idf!32461
2024-08-06 16:01:25 +08:00
zwx
050030f039 fix(openthread): make ot task queue sending non-permanent blocking 2024-08-06 14:10:23 +08:00
wuzhenghui
b752b6c5e9
fix(esp_pm): configure timer wakeup source with auto light-sleep congiguration 2024-08-06 11:04:58 +08:00
Ivan Grokhotkov
3883a17f54 Merge branch 'fix/fatfs_f_mount_immediately_after_formatting_v5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
fix(vfs): FATFS mount immediately after format if mount failed (v5.2)

See merge request espressif/esp-idf!32380
2024-08-05 20:32:17 +08:00
xiongweichao
e9276b75c8 fix(bt/controller): Fixed disconnection issue
- Fixed the issue of disconnection caused by updating the channel map in sniff mode
2024-08-05 19:57:13 +08:00
chenqingqing
74ceb6bebc fix(bt/bluedroid): Add PCM configuration about pcm frame sync signal shape 2024-08-05 19:57:13 +08:00
Rahul Tank
6635bc3a3e feat(nimble): Add extra handling for set data len packet event 2024-08-05 16:52:03 +05:30
Rahul Tank
1c73a8fc56 Merge branch 'bugfix/adjust_tx_power_lvl_boundary_v5.2' into 'release/v5.2'
fix(nimble): Modify Advertising Tx power levels (v5.2)

See merge request espressif/esp-idf!32564
2024-08-05 19:14:41 +08:00
C.S.M
d8bd71695f fix(spi_flash): Add external flash support on esp32c6,esp32h2 2024-08-05 18:01:02 +08:00
Mario Schlegel
588f819710 fix(ble-mesh): don't use dangling pointer in nimble gatt service 2024-08-05 15:31:08 +08:00
Rahul Tank
cb815d9d0a fix(nimble): Modify Advertising Tx power levels 2024-08-05 10:56:23 +05:30
Kapil Gupta
a350973f03 Merge branch 'bugfix/dpp_auth_failure_v5.2' into 'release/v5.2'
fix(wpa_supplicant):Deinit old dpp authentication data after receiving config.(v5.2)

See merge request espressif/esp-idf!32434
2024-08-04 13:44:52 +08:00
Mahavir Jain
de4f8550bb Merge branch 'bugfix/null_assign_variable_v5.2' into 'release/v5.2'
fix(wifi_prov): Use calloc instead of malloc to zero initialize variable (v5.2)

See merge request espressif/esp-idf!32527
2024-08-02 22:03:19 +08:00
Island
c2ac357c7a Merge branch 'bugfix/fix_ble_security_param_v5.2' into 'release/v5.2'
fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization (v5.2)

See merge request espressif/esp-idf!32506
2024-08-02 17:38:32 +08:00
Island
7aa475c1fc Merge branch 'bugfix/fix_ble_gattc_app_unregister_v5.2' into 'release/v5.2'
Bugfix/fix ble gattc app unregister (v5.2)

See merge request espressif/esp-idf!32439
2024-08-02 17:30:27 +08:00
Rahul Tank
916d319155 fix(wifi_prov): Use calloc instead of malloc to zero initialize variable 2024-08-02 10:36:38 +05:30
morris
a536949363 Merge branch 'feature/usb_host_multi_configuration_backport_v5.2' into 'release/v5.2'
feat(usb/host): multiconfiguration support backport (v5.2)

See merge request espressif/esp-idf!32055
2024-08-02 11:44:12 +08:00
Jiang Guang Ming
afd3333e8d feat(newlib): add test case for printf float 2024-08-01 20:57:28 +08:00
Rahul Tank
d1ed3a8c5c Merge branch 'bugfix/add_return_value_to_rpa_to_api_v5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
fix(nimble): Add return value to RPA Timeout API (v5.2)

See merge request espressif/esp-idf!32476
2024-08-01 20:26:25 +08:00
Jiang Guang Ming
677ecf9c69 fix(esp_rom): add new rom caps ESP_ROM_HAS_NEWLIB_NANO_PRINTF_FLOAT_BUG 2024-08-01 16:24:25 +08:00
zhanghaipeng
c66da69856 fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization 2024-08-01 16:17:59 +08:00
Marius Vikhammer
f36b6a088a Merge branch 'fix/vtaskdeletewithcaps_leaks_memory_v5.2' into 'release/v5.2'
fix(freertos): Fixed memory leak issue in vTaskDeleteWithCaps() (v5.2)

See merge request espressif/esp-idf!32400
2024-08-01 14:42:59 +08:00
gaoxu
cdd6807e57 fix(gpio): correct usb dp gpio pullup disable function v5.2 2024-08-01 10:58:53 +08:00
Shu Chen
f926af94d2 Merge branch 'backport/fix_154_next_operation_for_multi_event_v52' into 'release/v5.2'
fix(ieee802154): refactor the next operation logic for multiple events(Backport v5.2)

See merge request espressif/esp-idf!32387
2024-07-31 20:51:34 +08:00
Rahul Tank
6d19ff68ed fix(nimble): Add return value to RPA Timeout API 2024-07-31 14:45:17 +05:30
Shu Chen
f7dd52f281 Merge branch 'backport/openthread_related_bacport_to_5_2' into 'release/v5.2'
Backport some openthread related features (Backport v5.2)

See merge request espressif/esp-idf!32250
2024-07-31 17:06:15 +08:00
Song Ruo Jing
457e0818e9 fix(uart): fix uart_config_t structure size difference in C and C++ 2024-07-31 16:52:05 +08:00
zwx
fa6a1b3af5 fix(ieee802154): refacted the next operation logic for multiple events 2024-07-31 16:40:48 +08:00
zwl
26ef81039d fix: fixed directed adv can't be conneted when adv filter is 0x2 on ESP32C2 2024-07-31 14:38:46 +08:00
zwl
719c0b7709 fix: fixed occasional wdt issue in multi-connection scenarios on ESP32H2 2024-07-31 14:38:46 +08:00
zwx
b64425f7be feat(openthread): add task switching lock holder check 2024-07-31 11:34:19 +08:00
Island
6e015274d0 Merge branch 'feat/save_ble_log_to_flash_0605_v5.2' into 'release/v5.2'
ble: save ble log to flash on ESP32C6 (v5.2)

See merge request espressif/esp-idf!32395
2024-07-31 11:29:34 +08:00
zhanghaipeng
f88ac25595 fix(ble/bluedroid): Fix incorrect state issue when unregistering BLE GATTC application 2024-07-30 18:03:43 +08:00
aditi
53e931cf65 fix(wpa_supplicant):Deinit old dpp authentication data after receiving config. 2024-07-30 13:54:45 +05:30
zhangyanjiao
5e2951c8e8 fix(wifi/mesh): fix the beacon timeout issue in mesh 2024-07-30 14:36:46 +08:00
Vilem Zavodny
335e8b4648 fix(esp_lcd): Fix I2C receive without param 2024-07-29 16:42:19 +08:00
morris
037f1eaa4f Merge branch 'feat/support_psram_aps3204l_v5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
psram: support APS3204L (v5.2)

See merge request espressif/esp-idf!32391
2024-07-29 16:39:03 +08:00
Sudeep Mohanty
987df81e58 fix(freertos): Fixed memory leak issue in vTaskDeleteWithCaps()
vTaskDeleteWithCaps() leaked memory when a task uses the API to delete
itself. This commit adds a fix to avoid the memory leak.

Closes https://github.com/espressif/esp-idf/issues/14222
2024-07-29 08:47:19 +02:00
Rahul Tank
5f3f68fa58 Merge branch 'bugifx/zero_initilize_variable_v5.2' into 'release/v5.2'
fix(nimble): Zero initialize variable to avoid garbage value (v5.2)

See merge request espressif/esp-idf!32367
2024-07-29 13:03:27 +08:00
zwl
7b9343d8f0 fix(ble): fixed tx memory leak issue when controller disable 2024-07-29 11:56:17 +08:00
zwl
56984e4eac fix(ble): fixed wdt issue when print key controller info on ESP32-C6 and ESP32-H2 2024-07-29 11:56:17 +08:00
zwl
6e676b0222 feat(bluetooth/controller): support switching log output mode on ESP32-C2 2024-07-29 11:56:17 +08:00
zwl
229f8ede97 feat(bluetooth/controller): support switching log output mode on ESP32-C6 and ESP32-H2 2024-07-29 11:56:17 +08:00
zwl
97fa5484a7 feat(bluetooth/controller): storage ble controller log to flash on ESP32C2 2024-07-29 11:56:16 +08:00
zwl
0898c1a5a8 feat(bluetooth/controller): storage ble controller log to flash on ESP32C6 and ESP32H2 2024-07-29 11:56:16 +08:00
Armando
ce1f7abddd feat(psram): support APS3204L 2024-07-29 11:42:36 +08:00
Rahul Tank
d8716c5ad3 fix(nimble): Zero initialize variable to avoid garbage value 2024-07-26 21:31:23 +05:30
Adam Múdry
46ed6c869e fix(vfs): FATFS mount immediately after format if mount failed 2024-07-26 17:52:42 +02:00
Sudeep Mohanty
a96f332a06 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:15:50 +02:00
Jiang Jiang Jian
544d652f1a Merge branch 'bugfix/handle_no_pmkid_case_owe_v5.2' into 'release/v5.2'
Recompute keys in OWE incase of PMKID absence or mismatch (Backport v5.2)

See merge request espressif/esp-idf!32334
2024-07-26 16:53:34 +08:00
Island
e79bcadd85 Merge branch 'bugfix/fix_ble_cannot_create_conn_v5.2' into 'release/v5.2'
fix(ble/bluedroid): Fixed BLE cannot create connection(v5.2)

See merge request espressif/esp-idf!32308
2024-07-26 15:44:09 +08:00
Jiang Jiang Jian
9bed8f2ca9 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.2' into 'release/v5.2'
Fixed some BLE bugs 240723 (backport v5.2)

See merge request espressif/esp-idf!32300
2024-07-26 14:19:38 +08:00
Jiang Jiang Jian
f6c6ac1d8d Merge branch 'fix/fix_get_softap_dtim_and_csa_config_err_v5.2' into 'release/v5.2'
fix(wifi):fix get softap dtim and csa config err v5.2

See merge request espressif/esp-idf!32264
2024-07-26 14:12:24 +08:00
Mahavir Jain
cfb057e629 Merge branch 'bugfix/provide_random_addr_api_v5.2' into 'release/v5.2'
fix(wifi_prov): Added API to set random address (v5.2)

See merge request espressif/esp-idf!32326
2024-07-26 13:54:59 +08:00
Aditya Patwardhan
3908657624 Merge branch 'bugfix/existing_mmap_region_offset_v5.2' into 'release/v5.2'
fix(esp_mm): for existing mmap region, consider new offset for virtual addr (v5.2)

See merge request espressif/esp-idf!32113
2024-07-25 17:10:24 +08:00
Xu Si Yu
7d9b33408d feat(openthread): support restoring vendor properties of rcp 2024-07-25 15:59:58 +08:00
Xu Si Yu
d894253c48 feat(openthread): support changing openthread version information 2024-07-25 15:59:58 +08:00
Xu Si Yu
c9f85be415 feat(openthread): update openthread submodule 2024-07-25 15:59:58 +08:00
Shyamal Khachane
49e42f6eca 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:29:22 +05:30
Rahul Tank
59aa45ad23 fix(wifi_prov): Added API to set random address 2024-07-24 20:56:35 +05:30
wangtao@espressif.com
6661f1190a fix(wifi):fix get softap dtim and csa config err 2024-07-24 17:23:47 +08:00
zhanghaipeng
07ca9246e2 fix(ble/bluedroid): Fixed BLE cannot create connection 2024-07-24 10:51:14 +08:00
zhiweijian
087d6e1938 feat(bt/controller): support mesh duplicate with extend scan 2024-07-23 18:02:14 +08:00
linruihao
a3936b8001 fix(coex): Update bt lib for ESP32-C3 and ESP32-S3(e4ba7f6)
- Fixed coexist LoadProhibited issue
2024-07-23 18:02:08 +08:00
zhanghaipeng
35b4c4742b 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 18:02:02 +08:00
chenjianhua
3fd8f2aeb7 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 18:01:55 +08:00
linruihao
93622c2f9b fix(coex): Fixed coexist scheme phase index overflow issue 2024-07-23 17:53:08 +08:00
Marius Vikhammer
021c03c9f2 Merge branch 'fix/lp_i2c_generates_spurious_start_cond_v5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
fix(lp-i2c): Fixed the generation of spurious I2C start with lp-i2c (v5.2)

See merge request espressif/esp-idf!32108
2024-07-23 14:40:41 +08:00
aditi
f1d5ffea3d fix(wpa_supplicant):Fix for setting wps status fail when connection fails 2024-07-22 15:26:09 +05:30
Island
615975060f Merge branch 'fix/ble_mesh_24_76_v5.2' into 'release/v5.2'
fix(ble_mesh): fixed BLEMESH24-76_v5.2

See merge request espressif/esp-idf!32227
2024-07-22 14:05:03 +08:00
Kapil Gupta
42680d30ae fix(esp_wifi): backport some dpp fixes 2024-07-19 13:29:48 +08:00
Jiang Jiang Jian
f3710cf672 Merge branch 'bugfix/11r_disable_sdkconfig_v5.2' into 'release/v5.2'
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!32222
2024-07-19 10:41:51 +08:00
morris
9757709b2e Merge branch 'bugfix/rmt_memory_power_up_v5.2' into 'release/v5.2'
fix(rmt): power up memory block (v5.2)

See merge request espressif/esp-idf!32172
2024-07-19 09:47:19 +08:00
Rahul Tank
b7b3e31050 Merge branch 'bugfix/reset_irk_when_all_unpair_v5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
fix(nimble): Fixed BLE security vulnerability when using fixed IRK (v5.2)

See merge request espressif/esp-idf!32157
2024-07-18 22:43:30 +08:00
Shreyas Sheth
eae5bf962e fix(wifi): Ignore 11R, ENT AP when disabled in sdkconfig 2024-07-18 18:26:23 +05:30
Island
e149e10261 Merge branch 'feat/support_default_tx_level_for_esp32h2_esp32c6_esp32c2_v5.2' into 'release/v5.2'
Feat/support default tx level for esp32h2 esp32c6 esp32c2 v5.2

See merge request espressif/esp-idf!32194
2024-07-18 19:33:00 +08:00
morris
d9e113f877 fix(rmt): power up memory block 2024-07-18 14:41:13 +08:00
Rahul Tank
af2f79e33a fix(nimble): Fixed BLE security vulnerability when using fixed IRK 2024-07-18 09:54:19 +05:30
Jiang Jiang Jian
9ff44aa660 Merge branch 'bugfix/fix_mesh_xon_request_timeout_issue_v5.2' into 'release/v5.2'
fix(wifi/mesh): fix the issue that xon request timeout constantly when root reboot (v5.2)

See merge request espressif/esp-idf!32186
2024-07-18 12:03:48 +08:00
luoxu
f0bf1d3492 fix(ble_mesh): fixed BLEMESH24-76 2024-07-18 10:49:07 +08:00
zwl
fde1a101ed feat(bluetooth/controller): support default tx power configurable on ESP32C2 2024-07-18 10:47:30 +08:00
zwl
582e9f8a67 feat(bluetooth/controller): support default tx power configurable on ESP32C6 and ESP32H2 2024-07-18 10:47:20 +08:00
Island
d0da89f18a Merge branch 'feat/optimize_bt_porting_hci_0628_5.2' into 'release/v5.2'
Some checks are pending
docker / docker (push) Waiting to run
Feat/optimize bt porting hci 0628 5.2

See merge request espressif/esp-idf!32133
2024-07-17 19:29:31 +08:00
zhangyanjiao
2a6f4e796c 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-17 19:06:34 +08:00
Peter Marcisovsky
597451afbe refactor(usb_host): Update USB Host multiconfig public API
- previous usb_host_get_config_desc_free()
    - updated usb_host_free_config_desc()
2024-07-17 09:02:43 +02:00
Jiang Jiang Jian
487833968a Merge branch 'bugfix/ld_acl_c_3576_v5.2' into 'release/v5.2'
fix(bt/controller): Removed an improper assertion in ACL link driver (v5.2)

See merge request espressif/esp-idf!32118
2024-07-16 20:22:44 +08:00
zwl
b8b8abf763 feat(bluetooth/controller): update nimble host to adapt hci layer 2024-07-16 13:20:53 +08:00
zwl
1e4e2f90f5 feat(bluetooth/controller): add default cts and rts macro definition 2024-07-16 13:20:53 +08:00
zwl
56e9890ba0 feat(bluetooth/controller): adopting new HCI layer code and support UHCI on ESP32-C6 and ESP32-H2 2024-07-16 13:20:53 +08:00
zwl
3d1498cadb feat(bluetooth/controller): adopting new HCI layer code on ESP32-C2 2024-07-16 13:20:53 +08:00
zwl
6118260b63 feat(bluetooth/controller): optimize bt hci layer code 2024-07-16 13:20:53 +08:00
muhaidong
b338abce37 fix(wifi): fix some wifi bugs 240715
1. fix disable gcmp choose pairwise cipher wrong issue
2. fix sta may join bad signal ap when set by signal
2024-07-15 21:21:58 +08:00
muhaidong
2dbaf58499 fix(wifi): fix configure gcmp failure issue 2024-07-15 21:00:55 +08:00
muhaidong
72d68ad7ce fix(wifi): fixed disable gcmp choose pairwise cipher wrong issue 2024-07-15 21:00:47 +08:00
muhaidong
96af986330 fix(wifi): annotate a rom function 2024-07-15 21:00:31 +08:00
Jin Cheng
3d8d2929a5 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:31:24 +08:00
Mahavir Jain
ae9f7f32ae Merge branch 'bugfix/c5_mpi_ecc_power_mode_v5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
fix(hal): correct mpi/ecc peripheral power up sequence for ESP32-C5 (v5.2)

See merge request espressif/esp-idf!31863
2024-07-15 15:05:52 +08:00
Mahavir Jain
0ba529d267 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:27 +08:00
Jiang Jiang Jian
0ccc691729 Merge branch 'docs/optimized_ble_controller_api_references_esp32_v5.2' into 'release/v5.2'
docs(ble): Revised the esp32 controller API explanations (v5.2)

See merge request espressif/esp-idf!31926
2024-07-15 10:43:25 +08:00
Jiang Jiang Jian
c06cfeddb5 Merge branch 'bugfix/wps_reg_state_handling_v5.2' into 'release/v5.2'
fix(wpa_supplicant): Handle case when WPS registrar misses WSC_DONE sent by station (Backport v5.2)

See merge request espressif/esp-idf!32081
2024-07-15 10:43:01 +08:00
morris
b3a6e46f55 Merge branch 'fix/usb_hs_scheduler_backport_v5.2' into 'release/v5.2'
Some checks are pending
docker / docker (push) Waiting to run
fix(usb/host): Fix occasional ISOC scheduler skipping transfers backport to v5.2

See merge request espressif/esp-idf!32084
2024-07-14 21:06:51 +08:00
Sudeep Mohanty
2d331c0413 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:27:43 +02:00
Island
17a18e8849 Merge branch 'feat/add_ble50_instant_v5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
Add support for BLE 5.0 instances in related events (v5.2)

See merge request espressif/esp-idf!31991
2024-07-12 14:53:00 +08:00
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
Peter Marcisovsky
8611a66a0f feat(usb/host): multiconfiguration support
- usb host reads device's configuration on request
    - a control transfer is sent
    - memory is allocated for a new descriptor
    - user must manually free the memory
2024-07-11 11:28:52 +02: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