Commit Graph

21121 Commits

Author SHA1 Message Date
Aditya Patwardhan
482a8fb2d7
change(version): Update version to 5.1.2 2023-11-10 07:51:59 +05:30
Jiang Jiang Jian
9f2a2dbda6 Merge branch 'bugfix/ble_update_lib_1027_5.1' into 'release/v5.1'
ble: update c6 h2 lib to 5bd7cb83, c2 lib to 1d31e175

See merge request espressif/esp-idf!26711
2023-11-09 16:37:36 +08:00
Jiang Jiang Jian
5b3a8ac503 Merge branch 'bugfix/hal_memcpy_v5.1' into 'release/v5.1'
fix(hal): Fix incorrect behavior of hal_memcpy (v5.1)

See merge request espressif/esp-idf!26910
2023-11-09 14:47:18 +08:00
zhanghaipeng
e8dc62913b fix(bt/bluedroid): Fix ble keysize check 2023-11-08 19:46:23 +08:00
zhanghaipeng
253d19bfde fix(bt/bluedroid): Fix ble adv report evt type 2023-11-08 19:46:19 +08:00
luomanruo
287255026e change(ble): update c2 lib to 6ed444f2
update c6 and h2 lib to 77d09ce0
2023-11-08 18:09:39 +08:00
luomanruo
00f51f74e3 ble: update c2 rom.ld 2023-11-08 18:03:48 +08:00
cjin
8353ea3a09 change(ble): added option for msys buffer source 2023-11-08 18:03:48 +08:00
luomanruo
88af68f3c1 ble: update c6 h2 lib to 5bd7cb83, c2 lib to 1d31e175 2023-11-08 18:03:48 +08:00
KonstantinKondrashov
d9b776c59a feat(efuse): Adds efuse ADC calibration data for ESP32H2 2023-11-07 15:41:59 +08:00
Armando
6de9757a4b fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-07 14:09:21 +08:00
wuzhenghui
263a27b26b bugfix(esp_hw_support): allow reject for lightsleep 2023-11-07 11:10:14 +08:00
Cao Sen Miao
bb7544e65a fix(ota): Fixed OTA fail on octal flash with 32MB memory,
Closes https://github.com/espressif/esp-idf/issues/11903
2023-11-06 10:49:06 +08:00
wuzhenghui
b31a07bc67 fix(esp_system): increase esp32h2 slow clock calibration timeout watchdog threshold 2023-11-03 19:03:48 +08:00
Song Ruo Jing
4892c481b5 feat(gpio): add a dump API to dump IO configurations
Merges https://github.com/espressif/esp-idf/pull/12511
2023-11-03 16:21:31 +08:00
KonstantinKondrashov
7e2e82a4a0 fix(hal): Fix incorrect behavior of hal_memcpy
Closes https://github.com/espressif/esp-idf/issues/12489
2023-11-03 15:49:35 +08:00
Laukik Hase
6dce3d79d6
fix (wifi_prov): Retry provisioning on WIFI_AUTH_EXPIRE event
- Closes https://github.com/espressif/esp-idf/issues/11749
2023-11-03 11:50:13 +05:30
darshan
b9528ba4c9 fix(protocomm): added Protocomm BLE Event Structure and Event Handling 2023-11-03 11:42:40 +05:30
zwx
a1ceb251a0 feat(openthread): add config for radio statistic feature 2023-11-03 11:02:56 +08:00
Lou Tianhao
9b3e40c9d1 feat(pm/deepsleep): Support EXT1_WAKEUP_MODE_PER_PIN 2023-11-03 11:02:56 +08:00
Jiang Jiang Jian
b6fa48e3b9 Merge branch 'bugfix/fixed_ble_disconnect_under_temp_change_v5.1' into 'release/v5.1'
fix(ble): fixed ble disconnection issue under temperature change

See merge request espressif/esp-idf!26828
2023-11-03 07:21:35 +08:00
Lou Tianhao
42ec7a5e37 change(pm): Change sleep callback implement 2023-11-02 11:05:38 +00:00
Lou Tianhao
925da11115 feat(PowerManagement/lightsleep): Support ESP_SLEEP_EVENT_CALLBACKS 2023-11-02 11:05:38 +00:00
Lou Tianhao
15f66392d3 feat(PowerManagement/lightsleep): Support PM_LIGHT_SLEEP_CALLBACKS 2023-11-02 11:05:38 +00:00
Lou Tianhao
dce3b64411 feat(PowerManagement/lightsleep): Define and export a strong symbol of rv_core_critical_regs_restore 2023-11-02 11:05:38 +00:00
Jiang Jiang Jian
e20f68d773 Merge branch 'backport/bugfix/fix_c6_wrong_reg_offset' into 'release/v5.1'
fix(coex): fix esp32c6 wrong reg offset(backport v5.1)

See merge request espressif/esp-idf!26764
2023-11-02 14:19:53 +08:00
Jiang Jiang Jian
8df1e1ae66 Merge branch 'bugfix/install_key_issue_v5.1' into 'release/v5.1'
WiFI: Fix key install issue in PTK renew (v5.1)

See merge request espressif/esp-idf!26851
2023-11-02 14:18:42 +08:00
Jiang Jiang Jian
358c53e6c2 Merge branch 'bugfix/supplicant_tls_fix_v5.1' into 'release/v5.1'
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv() (v5.1)

See merge request espressif/esp-idf!26846
2023-11-02 14:04:38 +08:00
zwl
f58e8b3eb4 fix(ble): fixed ble disconnection issue under temperature change 2023-11-02 08:55:33 +08:00
Jiang Jiang Jian
2a96eb9f8f Merge branch 'bugfix/fix_wifi_enabled_macro_v5.1' into 'release/v5.1'
Bugfix/fix wifi enabled macro( v5.1)

See merge request espressif/esp-idf!26774
2023-11-02 08:46:58 +08:00
Kapil Gupta
ed9d5e7db8 fix(wifi): Fix key install issue in PTK renew 2023-11-01 19:49:06 +05:30
Kapil Gupta
095eae5fa3 fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv() 2023-11-01 18:02:29 +05:30
Rahul Tank
9c44a4e1ec fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file 2023-11-01 17:36:54 +05:30
Jin Cheng
716a47074a feat(bt/bluedroid): Support to build HID Host and HID Device in single binary 2023-11-01 19:32:13 +08:00
Wang Mengyang
8d9035c202 feat(bt/bluedroid): Support to build HFP Audio Gateway and Hands Free Unit in single binary 2023-11-01 19:31:18 +08:00
Jiang Jiang Jian
8dd9310925 Merge branch 'bugfix/fix_compilation_issue_v5.1' into 'release/v5.1'
fix(wpa_supplicant): Fix compilation issue in EAP disabled (v5.1)

See merge request espressif/esp-idf!26727
2023-11-01 15:40:55 +08:00
Shreyas Sheth
6c5b3c5d4c fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished 2023-10-31 15:47:07 +05:30
alanmaxwell
7e1b2a2442 fix(phy): Fix ESP32C6 rx pkts fail in light sleep mode 2023-10-31 15:56:54 +08:00
alanmaxwell
85fbfae5d2 fix(wifi): Fix bug using CONFIG_WIFI_ENABLED macro 2023-10-31 15:56:21 +08:00
Xiao Xufeng
653008f4c7 fix(spi): fixed undesired touching to DMA
Closes https://github.com/espressif/esp-idf/issues/12241
2023-10-31 15:52:26 +08:00
Xu Si Yu
b1ba1dbcb1 fix(coex): fix esp32c6 wrong reg offset 2023-10-31 15:28:38 +08:00
zhanghaipeng
4aa8a733ad feat(bt/bluedroid): Display BLE permission check handle in error trace 2023-10-31 14:38:42 +08:00
zhanghaipeng
568919e1c3 feat(bt/bluedroid): Support BLE gattc notify registration number 2023-10-31 14:38:42 +08:00
zhanghaipeng
bb587cd763 fix(bt/bluedroid): Fix key size check in BLE smp 2023-10-31 14:38:42 +08:00
zhanghaipeng
b35c41aee0 fix(bt/bluedroid): Optimize compatibility with Android 10 and later devices 2023-10-31 14:38:42 +08:00
zhanghaipeng
35afc37f1a fix(bt/bluedroid): Optimize compatibility with IOS and MACOS devices 2023-10-31 14:38:42 +08:00
Jiang Jiang Jian
179bfaca4d Merge branch 'bugfix/disable_fastpbkdf2_hardwaredisable_v5.1' into 'release/v5.1'
fix(wpa_supplicant): implement sha1_finish for fastpbkdf2

See merge request espressif/esp-idf!26683
2023-10-31 14:32:28 +08:00
Kapil Gupta
d9b36afbe6 fix(wpa_supplicant): Fix compilation issue in EAP disabled 2023-10-27 18:08:16 +05:30
Jiang Jiang Jian
f5fec8a720 Merge branch 'bugfix/esp32c6_phy_coex_sleep_issue_v5.1' into 'release/v5.1'
fix(esp_phy): update esp32c6 libphy for coex zb rx and sleep bug (backport v5.1)

See merge request espressif/esp-idf!26668
2023-10-27 20:00:59 +08:00
Jiang Jiang Jian
162e04a641 Merge branch 'backport/support_qa_test_ot_host_config' into 'release/v5.1'
fix(openthread): fix host interface mdoe none(Backport v5.1)

See merge request espressif/esp-idf!26596
2023-10-27 20:00:44 +08:00
Jiang Guang Ming
336bb85806 feat(mbedtls): add new option CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL for mbedtls pytest 2023-10-26 20:26:08 +08:00
Jiang Guang Ming
92b9474a71 feat(mbedtls): support C2 mbedtls can use crypto algorithm in ROM 2023-10-26 20:25:53 +08:00
Kapil Gupta
99e7db4ce5 fix(wpa_supplicant): implement sha1_finish for fastpbkdf2 2023-10-26 13:30:01 +05:30
gaoxu
b9cdadc5c6 fix(adc): fix adc oneshot mod do not split clk 2023-10-26 11:17:12 +08:00
xiaqilin
d6314b44cc fix(esp_phy): update esp32c6 libphy for coex zb rx and sleep bug 2023-10-25 16:18:35 +08:00
Li Shuai
9d97513147 change(Power Management): the xpd_xtal32k value depends on system slow clock source config option when pmu initialize 2023-10-24 17:15:10 +08:00
morris
9b4a42e728 feat(mcpwm): support update timer period dynamically
Implement the requirement asked in
https://www.esp32.com/viewtopic.php?f=13&t=35919
2023-10-24 10:11:47 +08:00
zhiweijian
1d1939a1e4 Update BLE lib on ESP32-C3 and ESP32-S3
- modify mesh proxy solic uuid to 0x18590303
- Fixed DTM payload length cannot be 0
- Added config to enable Hw recorrect eco
- report the number of packets sent on the TX end
2023-10-20 16:49:15 +08:00
zhiweijian
5677692187 feat: add config to disable ble hci uart flow control 2023-10-20 16:48:33 +08:00
zhiweijian
51ebdfcbfa change: enable pll track by default on ESP32 2023-10-20 16:47:18 +08:00
zhiweijian
95e3dbcffe Add mesh adv type for exception list 2023-10-20 16:43:25 +08:00
chenjianhua
74a64755eb Update bt lib for ESP32-C3 and ESP32-S3(c8aa206)
- Fixed extended adv address setting after adv restart
- Fixed scan channel index setting for extended scan
- Add API to set aux channel index for extended adv
2023-10-20 16:24:38 +08:00
chenjianhua
0a57fb4183 Update bt lib for ESP32-C3 and ESP32-S3(29996e0)
- Fixed address resolution for directed adv with RPA when scanning
- Fixed resolvable private address renew after timeout
2023-10-20 16:24:09 +08:00
zhiweijian
567bf57805 Add new mesh types for exception list on ESP32-C3 and ESP32-S3 2023-10-20 16:23:15 +08:00
zhiweijian
15f8e677a2 Fixed bluedroid host build warning when log is disabled 2023-10-20 16:18:00 +08:00
gongyantao
f54e3ebea4 fix(bt/bluedroid): update the newest active device in bluetooth
1: update the newest active device when an ACL link is established and
   the remote device info is not in bond list. This updates will not stored
   into NVRAM until a new device is paired.
2023-10-20 14:44:54 +08:00
zwx
ad75dc5aea fix(openthread): fix host interface mdoe none 2023-10-20 14:09:29 +08:00
Rahul Tank
4675e34f7e fix(espcoredump): fixed compilation warning
Added conditional compilation for logging stack usage only when CONFIG_ESP_COREDUMP_LOGS is
enabled.

Closes: https://github.com/espressif/esp-idf/issues/12318
2023-10-20 11:23:33 +05:30
Jack
8c6114d0d2 Merge branch 'feature/free_bt_memory_v5.1' into release/v5.1
feat(bt): Frees BLE memory when no longer in use

See merge request espressif/esp-idf!26570
2023-10-20 08:41:19 +08:00
Jiang Jiang Jian
be63dddab4 Merge branch 'bugfix/fix_max_cccds_compilation_issue_v5.1' into 'release/v5.1'
fix(nimble): Fix compilation warnings when max bonds or cccd is set to 0 (v5.1)

See merge request espressif/esp-idf!26415
2023-10-20 08:15:48 +08:00
Jiang Jiang Jian
9e2a1b3109 Merge branch 'bugfix/deepfree' into 'release/v5.1'
fix(ble_mesh): fix compilation failure on using scene model.

See merge request espressif/esp-idf!26356
2023-10-20 08:15:20 +08:00
Jiang Jiang Jian
ae3c28fcc4 Merge branch 'bugfix/update_ble_lib_1018_5_1' into 'release/v5.1'
change(ble): update ble lib on c6 h2 and c2 chip

See merge request espressif/esp-idf!26543
2023-10-20 08:13:01 +08:00
Jiang Jiang Jian
90f9e7a193 Merge branch 'backport/phy_pll_track_corner' into 'release/v5.1'
fix(esp_phy): fix pll track corner case(Backport v5.1)

See merge request espressif/esp-idf!26548
2023-10-19 21:33:40 +08:00
Jiang Jiang Jian
fdacde73e9 Merge branch 'bugfix/deep_sleep_force_to_sleep_v5.1' into 'release/v5.1'
fix(esp_hw_support): Return deep sleep APIs to the original behavior (v5.1)

See merge request espressif/esp-idf!26554
2023-10-19 17:48:43 +08:00
Shen Weilong
ea06b047c2 feat(bt): Frees BLE memory when no longer in use
It will free libble.a & libbt all txt, data and bss segment memory.
          This memory is combined into one large memory and put into the heap
          pool.
2023-10-19 14:52:29 +08:00
luomanruo
eccf07022e fix(ble): fixed ble connection timeout issue on ESP32H2 2023-10-19 14:29:52 +08:00
Jiang Jiang Jian
55d3bc2d37 Merge branch 'bugfix/wps_condition_chain_v5.1' into 'release/v5.1'
fix(wifi): Fix static analyzer warning for WPS code (v5.1)

See merge request espressif/esp-idf!26494
2023-10-19 13:51:57 +08:00
zwx
99d68570a6 fix(esp_phy): fix pll track corner case 2023-10-19 10:57:38 +08:00
Kapil Gupta
5457c4c0b8 fix(wifi): Fix static analyzer warning for WPS code 2023-10-18 17:54:40 +05:30
KonstantinKondrashov
315d4864bb fix(esp_hw_support): Return deep sleep APIs to the original behavior
Closes https://github.com/espressif/esp-idf/issues/12359
2023-10-18 18:18:49 +08:00
luomanruo
bacd3f40bb ble: update controller log module for ESP32-C6, ESP32-H2 and ESP32-C2 2023-10-18 18:11:34 +08:00
zwl
f3447f256f fix(ble): fixed ble connection timeout issue on ESP32H2 2023-10-18 17:10:28 +08:00
luomanruo
20533dccce ble: update controller log module for ESP32-C2 2023-10-18 17:10:28 +08:00
luomanruo
85bc272490 ble: update controller log module for ESP32-H2 and ESP32-C6 2023-10-18 17:10:28 +08:00
cjin
1d693ee133 change(ble): update ble lib on c6 h2 and c2 chip 2023-10-18 17:10:19 +08:00
Jiang Jiang Jian
ee6ea577e2 Merge branch 'feature/mbedtls_3_5_0_update_v5.1' into 'release/v5.1'
feat(mbedtls): update to 3.5.0 release (v5.1)

See merge request espressif/esp-idf!26475
2023-10-18 17:06:00 +08:00
Jiang Jiang Jian
4fef94cde2 Merge branch 'bugfix/spurious_beacon_timeout_v51' into 'release/v5.1'
Fixes some WiFi issues(v5.1)

See merge request espressif/esp-idf!26529
2023-10-18 17:03:43 +08:00
Erhan Kurubas
b07702b6ad feat(panic): send pseudo exccause to openocd 2023-10-18 10:31:42 +02:00
Jiang Jiang Jian
bc87e14695 Merge branch 'fix/xtensa-register-corrupted-after-context-switch' into 'release/v5.1'
fix(xtensa): fix registers curruption on context switch

See merge request espressif/esp-idf!26210
2023-10-18 15:25:03 +08:00
Jiang Jiang Jian
6cc6ece701 Merge branch 'backport/openthread_uart_api_refactor' into 'release/v5.1'
feat(openthread): Host connection logic refactor(Backport V5.1)

See merge request espressif/esp-idf!26486
2023-10-18 14:44:11 +08:00
Jiang Jiang Jian
cf16ab59be Merge branch 'bugfix/dpp_bugs_5.1' into 'release/v5.1'
fix(wpa_supplicant): Fix few dpp bugs(v5.1)

See merge request espressif/esp-idf!26464
2023-10-18 14:37:11 +08:00
Jiang Jiang Jian
bdf54031b6 Merge branch 'revert_tcpip_task_priority_macro_v5.1' into 'release/v5.1'
revert(lwip): Revert changes to LWIP task priority macro from MR 25020 (backport v5.1)

See merge request espressif/esp-idf!26512
2023-10-18 14:31:40 +08:00
Jiang Jiang Jian
1aabb5f0d5 Merge branch 'bugfix/revert_pvt_v5.1' into 'release/v5.1'
Revert "feat(volt): chip auto adjust volt for esp32c6 & esp32h2" (v5.1)

See merge request espressif/esp-idf!26485
2023-10-18 10:44:14 +08:00
Jiang Jiang Jian
fb2076c2e9 Merge branch 'bugfix/use_bt_sdp_bqb_include_macro_for_ertm_mode_flag_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Add correct macro for ertm mode included flag (backport v5.1)

See merge request espressif/esp-idf!26455
2023-10-18 10:42:00 +08:00
jgujarathi
5abd1ae847 fix(esp_wifi): Fixes issues in beacon_timeout, PMKSA and AID assignment
- Fixes issue wheere beacon timeout would get triggerred multiple times
  leading to a m f probe req.

- Fix missing PMKSA flush scenarios.

- Fix wrong AID assigned to station when multiple stations try to connect
  simultaneously with mixed order of auth-request and assoc-request frames.
2023-10-17 17:24:56 +05:30
Mahavir Jain
e450ee2bcc Merge branch 'fix_esp32s3_irq_names_v5.1' into 'release/v5.1'
fix(interrupts): reorder esp32s3 irq names to align with the respective irq numbers (v5.1)

See merge request espressif/esp-idf!26503
2023-10-17 18:08:31 +08:00
Mahavir Jain
5d4249ec99 Merge branch 'feat/add_support_to_add_auth_data_v5.1' into 'release/v5.1'
fix(esp_http_client): Call event_handler after header value is received (v5.1)

See merge request espressif/esp-idf!26321
2023-10-17 18:08:12 +08:00
Mahavir Jain
7f879a6c48 Merge branch 'bugfix/security_check_order_in_startup_v5.1' into 'release/v5.1'
fix(startup): flip the security configuration check order (v5.1)

See merge request espressif/esp-idf!26361
2023-10-17 18:07:35 +08:00
Jiang Jiang Jian
f3fc7dd924 Merge branch 'bugfix/uart_vfs_select_threadsafe_v5.1' into 'release/v5.1'
fix(vfs/uart): Add support for multi-task call to uart select (v5.1)

See merge request espressif/esp-idf!26317
2023-10-17 18:04:02 +08:00
Mahavir Jain
82d2cdcf5a fix(mbedtls): remove deprecated MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION
This config has been removed in the upstream mbedTLS starting 3.0
release. Please see mbedTLS changelog for more details.
2023-10-17 10:03:39 +00:00
Mahavir Jain
bf59005fe1 fix(mbedtls): dynamic buffer feature issue with mbedtls 3.5.0
Set max TLS version in the SSL context during setup phase. Dynamic
buffer feature overrides the `mbedtls_ssl_setup` API and hence
this change is required per upstream 3.5.0 codebase change.
2023-10-17 10:03:39 +00:00
Mahavir Jain
e813bbc680 feat(mbedtls): update to 3.5.0 release
Changelog:
https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.5.0
2023-10-17 10:03:39 +00:00
Jiang Jiang Jian
bf1c39bc03 Merge branch 'protocomm/decouple_wifi_prov_v5_1' into 'release/v5.1'
fix(protocomm): Remove the configuration check of wifi_provisioning for protocomm component(v5.1)

See merge request espressif/esp-idf!26354
2023-10-17 18:03:10 +08:00
Jiang Jiang Jian
63eef40b39 Merge branch 'backport/update_openthread_upstream' into 'release/v5.1'
feat(openthread): update openthread upstream(backportv5.1)

See merge request espressif/esp-idf!26377
2023-10-17 18:02:25 +08:00
jgujarathi
143079bfd7 fix(wpa_supplicant/dpp): Ensure dpp follows init->bootstrap->listen path
- esp_supp_dpp_init : Ensures that the mode is set to station before
  the API call.
- Ensures that dpp follows the path of init(esp_supp_dpp_init) ->
  bootstrap(esp_supp_dpp_bootstrap_gen) -> listen(esp_supp_dpp_start_listen)
  by returning errors if any of them is invoked out of order.
2023-10-17 14:27:14 +05:30
aditi_lonkar
cc3b0d9f49 fix(wpa_supplicant): Fix few dpp bugs
1) Fix crash in dpp Listen without bootstrap
  2) Fix crash on receiving dpp auth_req from hostapd with dpp akm
2023-10-17 14:27:14 +05:30
Island
6b492690d3 Merge branch 'ble_dev/added_modem_reset_on_ble_v5_1' into 'release/v5.1'
feat(ble): added modem reset on c2 h2 and c6

See merge request espressif/esp-idf!26449
2023-10-17 15:43:35 +08:00
Alexey Lapshin
3f470624de fix(xtensa): fix registers curruption on context switch
a6, a7 registers may be corrupted on multicore ESP chips while FreeRTOS
Kernel SMP context switch
2023-10-17 06:55:46 +00:00
xuxiao
bfe6a24c57 revert(lwip): Revert changes to LWIP task priority macro from MR 25020 (backport v5.1) 2023-10-17 14:39:39 +08:00
Jiang Jiang Jian
0f138dad12 Merge branch 'fix/openthread_mtd_config_typo_backport' into 'release/v5.1'
fix(openthread): fix config typo for mtd (backport v5.1)

See merge request espressif/esp-idf!26397
2023-10-17 14:39:26 +08:00
Jiang Jiang Jian
bbbfa65e2c Merge branch 'bugfix/fix_wrong_mem_caps_in_memory_layout_v5.1' into 'release/v5.1'
fix(heap):  fix the issue on esp32c3 where retention memory was exhausted prematurely and preventing the CPU from powering down  (backport v5.1)

See merge request espressif/esp-idf!26087
2023-10-17 14:38:29 +08:00
Jiang Jiang Jian
da79b8aa5a Merge branch 'bugfix/config_tpoll_fail_v5.1' into 'release/v5.1'
Bugfix/config tpoll fail v5.1

See merge request espressif/esp-idf!26451
2023-10-17 14:34:24 +08:00
Jiang Jiang Jian
5bf6e573ea Merge branch 'bugfix/fix_c6_crash_v5.1' into 'release/v5.1'
fix(phy): fix wifi deinit stuck issue for ESP32C6(v5.1)

See merge request espressif/esp-idf!26478
2023-10-17 14:32:56 +08:00
Jiang Jiang Jian
78ae4c3b8e Merge branch 'bugfix/disable_tsf_tbtt_soc_wakeup_after_wifi_disconnected_v5.1' into 'release/v5.1'
fix(wifi):  fix enable psram wapi dhcp fail issue, fix beacon timeout after connected, fix lightsleep failure after disconnected

See merge request espressif/esp-idf!26400
2023-10-17 14:29:41 +08:00
David Čermák
6d33f7af81 Merge branch 'mqtt/update_submodule_e6afdb_v5.1' into 'release/v5.1'
change(mqtt): Update submodule to e6afdb (v5.1)

See merge request espressif/esp-idf!26257
2023-10-17 14:13:25 +08:00
David Čermák
a7a43973f6 Merge branch 'bugfix/ksz8041_model_number_0x13_v5.1' into 'release/v5.1'
esp_eth: Add model number 0x13 to the list of suported ksz80xx models (backport v5.1)

See merge request espressif/esp-idf!26380
2023-10-17 14:13:00 +08:00
Island
ca8d6f3740 Merge branch 'backport_v5.1' into 'release/v5.1'
Fix some BLE bugs in bluedroid host(backport v5.1)

See merge request espressif/esp-idf!26496
2023-10-17 11:01:55 +08:00
Erhan Kurubas
754b2a0de1 fix(interrupts): reorder esp32s3 irq names to align with the respective irq numbers 2023-10-16 22:20:45 +02:00
zhanghaipeng
042fb7834a fix(bt/bluedroid): Fix hid example stack overflow bugs when using esp32s3 2023-10-16 19:56:42 +08:00
zhanghaipeng
296a6cddee fix(bt/bluedroid): Fix remove resolving list error for esp32 2023-10-16 19:56:31 +08:00
zhanghaipeng
f2c3bd38af fix(bt/bluedroid): Fix bugs in ble service change characteristic 2023-10-16 19:56:21 +08:00
zhanghaipeng
3f69d20d4d feat(bt/bluedroid): Support scan response data length zero in BLE 2023-10-16 19:56:12 +08:00
zhanghaipeng
e92c57c6cc fix(bt/bluedroid): Optimize the description of Scan Duplicate in BLE 2023-10-16 19:56:02 +08:00
zhangwenxu
3bb89e116a feat(openthread): Host connection logic refactor 2023-10-16 15:02:57 +08:00
zlq
17c2931309 feat(bootloader): adjust dbias of bootloader, change clock of H2 to 64
MHz
2023-10-16 14:35:45 +08:00
Xiao Xufeng
81dcc61008 Revert "feat(volt): chip auto adjust volt for esp32c6 & esp32h2"
This reverts commit b221f87e00.
2023-10-16 14:35:41 +08:00
morris
0f51501495 Merge branch 'bugfix/h2_i2c1_no_signal_v5.1' into 'release/v5.1'
fix(i2c): I2C port 1 doesn't work on esp32h2 (backport v5.1)

See merge request espressif/esp-idf!26459
2023-10-16 14:13:23 +08:00
Island
42efaf9794 Merge branch 'bugfix/BLEQABR23-632v51' into 'release/v5.1'
fix(ble_mesh): avoid executing bt_mesh_host_init() more than once when using nimble (v5.1)

See merge request espressif/esp-idf!26240
2023-10-16 12:01:28 +08:00
Wu Meng Shi
b7d403ddfe fix(ble_mesh): avoid executing bt_mesh_host_init() more than once when using nimble (v5.1) 2023-10-16 12:01:28 +08:00
alanmaxwell
0bce4b0b72 fix(phy): fix wifi deinit stuck issue for ESP32C6 2023-10-16 11:56:08 +08:00
gongyantao
d4b6952328 fix(bt/bluedroid): ble fails to load bonded device info after reboot
1: add a quantity check in bt when writing paired device info into nvs.
2: delete the exceeded device info from NVS when get bonded list during
bluedroid initialization.
3: unify the process of bt and ble to load bonded list during bluedroid
initialization.
2023-10-13 19:20:20 +08:00
liuning
21360b9ef3 fix(pm): fix soc wakeup after wifi disconnected, station no respond after m f null, crash when connected to non_trans bssid 2023-10-13 18:17:34 +08:00
Niklas Kaaf
7de4e28fdd fix: "erro code" -> "error code" typos 2023-10-13 18:17:34 +08:00
alanmaxwell
8467bddaea fix(wifi): Fix some wifi issue
1.fix multi antenna issue
2.fix dirty eb when rx HE rate action for C6
3.fix h/w modem state consecutive times when the modem sleep type is modified in runtime
2023-10-13 18:17:34 +08:00
Cao Sen Miao
ae604cbbdd fix(i2c): I2C port 1 doesn't work on esp32h2 2023-10-13 15:57:18 +08:00
gongyantao
d62393472c fix(bt/bluedroid): Add correct macro for ertm mode included flag 2023-10-13 14:44:25 +08:00
baohongde
dc6120ee17 feat(bt/hci): Added Vendor-Specific HCI command to disable DM1 for ACL-U 2023-10-13 14:20:17 +08:00
baohongde
9fc04635d1 fix(bt/bluedroid): Triggering disconnect event of GAP correctly 2023-10-13 14:20:04 +08:00
baohongde
fb6a12d24c fix(bt/bluedroid): Fix issue of QoS configuration failure when t_poll is greater than 40 2023-10-13 14:19:47 +08:00
cjin
f94b64d820 feat(ble): added modem reset on c2 h2 and c6 2023-10-13 11:42:14 +08:00
CC
9c479e6589 esp_wifi.h typo
typo in esp_wifi_scan_get_ap_num comment
APIs -> APs
2023-10-13 09:29:11 +08:00
luomanruo
c9f7186357 ble: update tx power level index of ESP32-H2 and ESP32-C2 2023-10-12 15:55:29 +08:00
luomanruo
5becfa46bc ble:update c2 libble to 6a8d1f3d, h2 c6 libble to 57ed7949 2023-10-12 15:55:29 +08:00
Michael (XIAO Xufeng)
c1c843f5e2 Merge branch 'bugfix/fix_adc_sar_set_power_mode_no_effect_v5.1' into 'release/v5.1'
ADC: Fixed wrong ADC reading issue caused by ADC and WiFi power conflict on ESP32C6(backport v5.1)

See merge request espressif/esp-idf!26235
2023-10-12 15:18:18 +08:00
morris
46817f4edd Merge branch 'bugfix/parlio_tx_dma_descriptor_v5.1' into 'release/v5.1'
fix(parlio_tx): fix wrong dma descriptor setup (v5.1)

See merge request espressif/esp-idf!26253
2023-10-12 13:39:08 +08:00
Michael (XIAO Xufeng)
f618850370 Merge branch 'change/remove_s3_120_sdr_warning_v5.1' into 'release/v5.1'
mspi: remove s3 120mhz sdr warning (v5.1)

See merge request espressif/esp-idf!26254
2023-10-12 12:36:42 +08:00
Michael (XIAO Xufeng)
1c3b8656d3 Merge branch 'bugfix/rmt_pm_lock_type_v5.1' into 'release/v5.1'
fix(rmt): use ESP_PM_CPU_FREQ_MAX for RMT for non-dma channel (v5.1)

See merge request espressif/esp-idf!26258
2023-10-12 12:31:47 +08:00
wuzhenghui
2302bc4862 fix(heap): fix memory caps defination in memory_layout
fix the issue on esp32c3 where retention memory was exhausted
prematurely and preventing the CPU from powering down because
all of the last level of RAM is retention dma accessible on
esp32c3.
2023-10-12 11:57:49 +08:00
Michal Jenikovsky
1f6f5396f4 fatfs: raw diskio: Fixed handling read-only filesystem
ff_ routines incorrectly reported disk state and caused whole fatfs
to lock-up when trying to write to read-only device.

Signed-off-by: Michal Jenikovsky <jendo@jmsystems.sk>
2023-10-12 04:48:47 +02:00
Alexey Lapshin
fa1924f09b fix(app_trace): fix host file write API return value 2023-10-11 15:23:56 +04:00
Rahul Tank
88093c8618 fix(nimble): Fix compilation issues when max bonds or cccd is set to 0 2023-10-11 14:01:51 +05:30
liuning
870d2cac32 (fix)esp_wifi: wifi beacon timeout after connection established 2023-10-11 09:38:51 +08:00
muhaidong
039ef51db5 fix(wifi): fix some wifi issues
1. fix enable psram wapi dhcp fail issue
2. fix c6 esp_wifi_set_max_tx_power fail issue
3. fix wrong wifi mode connect crash issue
4. fix null data sequence number issue
2023-10-10 21:39:56 +08:00
zwx
b0300ed460 fix(openthread): fix config typo for mtd 2023-10-10 20:16:22 +08:00
Bogdan Kolendovskyy
5a195cdf0a fix(esp_eth): Add model number 0x13 to list of suported models
Add model number 0x13 to KSZ80xx driver's list of supported models
corresonding to KSZ8041RLNI.
2023-10-09 12:42:15 +02:00
zwx
faa2159f06 feat(openthread): update openthread upstream 2023-10-09 16:22:57 +08:00
Mahavir Jain
7745b22cc8 fix(startup): flip the security configuration check order
For cases where the bootloader is not enabled with the security features
ends up receiving an incorrect application with flash encryption enabled
should not really program any security efuses.

In the startup sequence, we first used to program the ROM DL mode
configuration but now we check for the flash encryption related checks
first. If the flash encryption related checks finds that flash
encryption is not enabled on the device then it aborts the boot process.
This is the case with `CONFIG_SECURE_FLASH_CHECK_ENC_EN_IN_APP` enabled.

This would at-least ensure that accidental program of security enabled
application does not really program any ROM DL mode efuses and there is
chance to recover the device.
2023-10-09 03:29:58 +00:00
Wu Meng Shi
f75474f359 fix(ble_mesh): fix compilation failure on using scene model. 2023-10-08 16:37:00 +08:00
WanqQixiang
7bfd475528 fix(protocomm): Remove the configuration check of wifi_provisioning for protocomm component 2023-10-08 16:23:03 +08:00
Abhik Roy
94730db3d4 feat(lwip): Fixes and Improvements for NAPT and SBOM Support
- napt: restore to the initial state in deinit (espressif/esp-lwip@5c4f899f)
- napt: Fix ip_portmap_add() to keep only one port mapping (espressif/esp-lwip@d65ad241)
- napt: Fix clean compilation (espressif/esp-lwip@7033e26f)
- napt: Fix IP forwarding when forward netif enable NAPT (espressif/esp-lwip@bc78df87)
- napt/stats: Move some napt counters to stats module (espressif/esp-lwip@b55e64ae)
- ip_napt_maint: Fix timestamp overflow handling (2.1.3) (espressif/esp-lwip@a7e0a50c)
- napt: Fixes and improvements (2.1.3) (espressif/esp-lwip@fadb9109)
- Add sbom descripton file for Software BOM (espressif/esp-lwip@f07097d7)
2023-10-06 19:32:25 +11:00
sonika.rathi
8a6ca94484 fix(vfs/uart): Add support for multi-task call to uart select (v5.1) 2023-10-05 09:46:30 +02:00
Harshit Malpani
9525da0908
fix(esp_http_client): Call event_handler after header value is received 2023-10-05 10:23:27 +05:30
Euripedes Rocha
af53431f59 change(mqtt): Update submodule to e6afdb
Update submodule:
git log --oneline
05b347643f6679cc60a50a9664b86a24ebf3ae10..e6afdb4025fe018ae0add44e3c45249ea1974774

Detailed description of the changes:
* fix: using return value of asprintf now
  - See merge request espressif/esp-mqtt!192
  - See commit https://github.com/espressif/esp-mqtt/commit/c0b40b1
* fix: Uses caps allocation for data buffer instead of item struct
  - See merge request espressif/esp-mqtt!193
  - See commit https://github.com/espressif/esp-mqtt/commit/00ee059
2023-10-02 06:23:35 +00:00
gaoxu
591984aa5d ci(adc): add a test about adc1 work with wifi on c6 2023-09-28 16:24:39 +00:00
gaoxu
0538a7b138 fix(adc): power settings not taking into effect on H2 2023-09-28 16:24:39 +00:00
wuzhenghui
49013a0560 feat(modem_clock): separate management of modem_adc_common_fe clock and modem_private_fe 2023-09-28 16:24:39 +00:00
gaoxu
b183b88463 fix(adc): power settings not taking into effect on C6 2023-09-28 16:24:39 +00:00
Jiang Jiang Jian
6b1f40b9bf Merge branch 'bugfix/uart_poll_fails_for_pollout_event_v5.1' into 'release/v5.1'
UART: UART_SELECT_WRITE_NOTIF event added in UART driver (v5.1)

See merge request espressif/esp-idf!26191
2023-09-28 13:37:00 +08:00
Jiang Jiang Jian
1adcaf7f99 Merge branch 'feature/support_7.6.1_soc/pvt_auto_dbias_v5.1' into 'release/v5.1'
rtc: auto adjust HP LDO voltage using pvt function(backport 5.1)

See merge request espressif/esp-idf!25995
2023-09-28 13:35:00 +08:00
Zim Kalinowski
f837526a0b Merge branch 'bugfix/revert-commits-causing-breaking-change' into 'release/v5.1'
fix(examples): Reverted: Fix example build errors caused by the deep_sleep funcs are returnable

See merge request espressif/esp-idf!26263
2023-09-28 13:07:37 +08:00
Jiang Jiang Jian
f3ac64840e Merge branch 'backport/esp_phy_init_refactor_c3_bt_fix' into 'release/v5.1'
Backport: esp phy init refactor c3 bt fix

See merge request espressif/esp-idf!26262
2023-09-28 12:53:32 +08:00
Mahavir Jain
0122d6cead Merge branch 'feature/add_support_for_ds_peripheral_on_ota_v5.1' into 'release/v5.1'
feat(esp_http_client): Added support for OTA using ds peripheral for TLS (v5.1)

See merge request espressif/esp-idf!26091
2023-09-28 03:23:12 +08:00
Rahul Tank
d72f2e1305 Merge branch 'bugfix/post_reattempt_cnt_event_v5.1' into 'release/v5.1'
fix(nimble): Add event for reattempt connection count information (v5.1)

See merge request espressif/esp-idf!26111
2023-09-27 23:09:20 +08:00
morris
ea5e7490f3 Merge branch 'bugfix/usb_serial_jtag_write_return_val_v5.1' into 'release/v5.1'
bugfix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly (backport v5.1)

See merge request espressif/esp-idf!26174
2023-09-27 18:37:36 +08:00
Zim Kalinowski
1c21f07139 fix(app_update): Reverted: Fix CI test_switch_ota by increasing deepsleep
This reverts commit 7ac7d43541.
2023-09-27 12:26:29 +02:00
zhangwenxu
4c60d48e5b workaround(phy): workaround c3 BT nimble 2M phy issue 2023-09-27 18:21:09 +08:00
Mahavir Jain
fd7f8ee8f9 Merge branch 'bugfix/fix_condition_to_verify_when_no_SB_v5.1' into 'release/v5.1'
fix(bootloader_support): Fix condition for checking signature in the application (v5.1)

See merge request espressif/esp-idf!26225
2023-09-27 17:20:50 +08:00
David Čermák
86808a09f7 Merge branch 'bugfix/http_client_tcp_config_v5.1' into 'release/v5.1'
http_client: Set common tcp config to both TCP and SSL transport (v5.1)

See merge request espressif/esp-idf!26205
2023-09-27 17:15:10 +08:00
morris
35f1a02ebf fix(rmt): fixed unstable transfer during DFS
Closes https://github.com/espressif/esp-idf/issues/12292
2023-09-27 16:56:47 +08:00
Wang Meng Yang
5a06ceebda Merge branch 'bugfix/fix_hid_congestion_v5.1' into 'release/v5.1'
Fix(bt/bluedroid): Fix the issue for HID congestion checking[backport 5.1]

See merge request espressif/esp-idf!26230
2023-09-27 16:24:56 +08:00
morris
584250aa2d Merge branch 'bugfix/temp_clk_gate_v5.1' into 'release/v5.1'
fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together(backport v5.1)

See merge request espressif/esp-idf!26171
2023-09-27 15:11:38 +08:00
Armando
deea438c23 change(mspi): remove s3 120mhz sdr warning 2023-09-27 14:57:07 +08:00
alanmaxwell
30529d3916 fix(wifi): Support ESP32 PHY enabled not enter WiFi RX state by default 2023-09-27 14:55:26 +08:00
zhiweijian
e5b4308b9d change(ble/controller): disable pll track by default in BLE controller on ESP32-C3 and ESP32-S3 2023-09-27 14:55:26 +08:00
zhangwenxu
ee087e91c2 fix(CI): fix CI build 2023-09-27 14:55:26 +08:00
alanmaxwell
f0a4aa4760 fix(phy): move phy tx power track to IDF 2023-09-27 14:55:26 +08:00
zwl
0bbc2805fc fix(phy): Fix ble phy_enable/disable api invoking issue for esp32c2,esp32h2 and esp32c6 2023-09-27 14:55:26 +08:00
alanmaxwell
9337525cdc fix(phy): Fix PHY enabled enter WiFi RX state default 2023-09-27 14:55:25 +08:00
zhangwenxu
d4e0de8a6b feat(phy): Add modem type to phy init 2023-09-27 14:55:25 +08:00
morris
e5c8434c6e fix(parlio_tx): fix wrong dma descriptor setup 2023-09-27 14:53:53 +08:00
zlq
7bbe19d92f feat(volt): chip auto adjust volt for esp32c6 & esp32h2 2023-09-27 06:39:59 +00:00
Shu Chen
5b45d359d2 Merge branch 'feature/update_esp32h2_sleep_logic_backport_v5.1' into 'release/v5.1'
feat(pm): remove SOC_PM_RETENTION_HAS_CLOCK_BUG for esp32h2 (backport v5.1)

See merge request espressif/esp-idf!26181
2023-09-27 14:38:47 +08:00
Jiang Jiang Jian
cba086c3a8 Merge branch 'bugfix/fix_sleep_risk_vol_param_to_v5.1' into 'release/v5.1'
fix(sleep): fix inproper sleep vol param for esp32c6 & esp32h2 (v5.1)

See merge request espressif/esp-idf!26074
2023-09-27 14:36:10 +08:00
Jiang Jiang Jian
8008dbe624 Merge branch 'test/bqb_test_bt_classic_hfp_v5.1' into 'release/v5.1'
feat(bt/hfp): Add support for HFP BQB auto test (backport v5.1)

See merge request espressif/esp-idf!26222
2023-09-27 14:15:22 +08:00
Jiang Jiang Jian
67e5366863 Merge branch 'bugfix/fix_pma_bad_backup_v5.1' into 'release/v5.1'
fix(sleep): fix pma cfg csr regs bad retention (backport v5.1)

See merge request espressif/esp-idf!26137
2023-09-27 13:47:51 +08:00
Jiang Jiang Jian
4b3cc2aa02 Merge branch 'feature/eth_iram_optimization_v5.1' into 'release/v5.1'
feat(esp_eth): added IRAM optimization option for internal EMAC (v5.1)

See merge request espressif/esp-idf!25842
2023-09-27 10:34:00 +08:00
morris
10793c3f7e Merge branch 'bugfix/shared_intr_memory_location_v5.1' into 'release/v5.1'
fix(intr): always allocate memory from internal ram (v5.1)

See merge request espressif/esp-idf!26187
2023-09-27 10:01:46 +08:00
Wang Meng Yang
28e62166a0 Merge branch 'test/bqb_test_bt_classic_l2cap_v5.1' into 'release/v5.1'
feat(bt/bluedroid): Add flags for BQB auto test of L2CAP (backport v5.1)

See merge request espressif/esp-idf!26218
2023-09-27 09:52:15 +08:00
Mahavir Jain
98e2f5b391 Merge branch 'feature/locking_layer_for_ecdsa_v5.1' into 'release/v5.1'
feat(esp_hw_support): Added locking mechanism for the ECDSA and ECC peripherals (v5.1)

See merge request espressif/esp-idf!26194
2023-09-27 06:58:14 +08:00
Jiang Jiang Jian
5d0bdce91d Merge branch 'bugfix/fix_modem_reject_deepsleep_v5.1' into 'release/v5.1'
fix(sleep): fix modem reject the deepsleep request (backport v5.1)

See merge request espressif/esp-idf!26102
2023-09-27 05:23:00 +08:00
Mahavir Jain
3a652b2ce0 Merge branch 'update/micro-ecc_submodule_v5.1' into 'release/v5.1'
feat(bootloader): Update micro-ecc version to v1.1 (v5.1)

See merge request espressif/esp-idf!26139
2023-09-26 20:14:59 +08:00
morris
bb307238b4 Merge branch 'ci/increase_all_adc_performance_test_thersh_on_c6_v5.1' into 'release/v5.1'
ci(adc): increase all adc performance test threshold on c6 (v5.1)

See merge request espressif/esp-idf!26138
2023-09-26 17:37:51 +08:00
Shu Chen
af4cb757a2 Merge branch 'backport/support_openthread_feature_on_512' into 'release/v5.1'
Backport/support openthread feature for release v5.1.2(backport5.1)

See merge request espressif/esp-idf!26203
2023-09-26 16:40:47 +08:00
Jiang Jiang Jian
f71eccb546 Merge branch 'bugfix/hfp_api_pkt_stat_nums_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics (backport v5.1)

See merge request espressif/esp-idf!26169
2023-09-26 16:37:40 +08:00
Rahul Tank
361b6c00dc fix(nimble): Add event for reattempt connection count information 2023-09-26 13:41:29 +05:30
Harshit Malpani
a4c13f156e
fix(bootloader): Update kconfig option 2023-09-26 13:31:43 +05:30
Harshit Malpani
c4e6312687
fix(bootloader_support): Fix condition for SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
Fix the condition to verify the image when SECURE_SIGNED_APPS_ECDSA_V2_SCHEME and
SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT are selected.
2023-09-26 13:31:43 +05:30
wanglai@espressif.com
8e58ffbd16 fix(bt/bluedroid): Revise the description for index in esp_hf_ag_clcc_response and correct the error return in btc_hf_indchange_notification
1: modify the description of param index in function
esp_hf_ag_clcc_response.
2: fix the error code return of function btc_hf_indchange_notification.
2023-09-26 15:10:04 +08:00
wanglai@espressif.com
928ece17c1 feat(bt/bluedroid): Add flag to control whether to send AT+CLIP cmd for BQB test 2023-09-26 15:10:04 +08:00
wanglai@espressif.com
8098e3a9ce feat(bt/bluedroid): Add flag to change HFP client features for BQB test 2023-09-26 15:10:04 +08:00
wanglai@espressif.com
5734d58c6f feat(bt/bluedroid): Add eSCO S1 support for hfp client BQB test 2023-09-26 15:10:04 +08:00
wanglai@espressif.com
8996222eb9 feat(bt/bluedroid): Add flag to send BRSF features for hfp ag BQB test 2023-09-26 15:10:04 +08:00
wanglai@espressif.com
d1c701bfaa feat(bt/bluedroid): Modify the btc hf features for AT+NREC cmd in BQB test 2023-09-26 15:10:04 +08:00
wanglai@espressif.com
768e15afc5 fix(bt/bluedroid): Fix the process of sending OK in ATD and COPS cmds 2023-09-26 15:10:04 +08:00
wanglai@espressif.com
e989d9eb32 feat(bt/bluedroid): Add supprot for specific indicator sending from AG to Client 2023-09-26 15:10:04 +08:00
wanglai@espressif.com
e1ead7ae40 feat(bt/bluedroid): Modify AT+CNUM response api and HFP AG example 2023-09-26 15:10:04 +08:00
wanglai@espressif.com
186ce934ed feat(bt/bluedroid): Add HFP config for BQB test 2023-09-26 15:10:03 +08:00
Rahul Tank
aaded3fd59 Merge branch 'bugfix/remove_unused_coex_header_v5.1' into 'release/v5.1'
remove(nimble): Removed unused coex header inclusion (v5.1)

See merge request espressif/esp-idf!26179
2023-09-26 14:27:59 +08:00
liqigan
f8402c7721 fix(bt/bluedroid): Fix the issue for HID congestion checking 2023-09-26 14:13:36 +08:00
wanglai@espressif.com
19575dbe3c feat(bt/bluedroid): Add flags for BQB auto test of L2CAP
1: add sdp_bqb_disable_flag to avoid running sdpu_build_n_send_error.
2: add sdp_bqb_inact_timeout_flag to set the SDP inactivity timeout to 90 seconds.
3: add l2cap_bqb_bad_cmd_len_rej_flag to reject the C-Frame with invalid PDU length
4: add l2cap_bqb_ertm_mode_included_flag to set L2CAP_FCR_ERTM_MODE for most L2CAP cases
2023-09-26 14:06:14 +08:00
Jiang Jiang Jian
0d2a52491b Merge branch 'bugfix/check_mapping_target_conflict_v5.1' into 'release/v5.1'
fix(ldgen): check target conflict for entries with section aliases (v5.1)

See merge request espressif/esp-idf!26123
2023-09-26 13:56:27 +08:00
Jiang Jiang Jian
face850973 Merge branch 'feature/rename_wpa2_ent_to_eap_client_v5.1' into 'release/v5.1'
WiFi: Rename WPA2 enterprise APIs to EAP Client. (v5.1)

See merge request espressif/esp-idf!26082
2023-09-26 13:30:52 +08:00
Jiang Jiang Jian
4ac53c7cd7 Merge branch 'bugfix/add_params_check_for_hci_v5.1' into 'release/v5.1'
Fixed some HCI commands parameter (backport v5.1)

See merge request espressif/esp-idf!26147
2023-09-26 10:37:02 +08:00
Wu Meng Shi
d21aa2330a Fix PB-GATT adv is reported to the app layer too frequently (v5.1) 2023-09-26 10:26:30 +08:00
wuzhenghui
9e0383cc50 fix(sleep): fix pma cfg csr regs bad retention 2023-09-25 23:52:27 +00:00
wuzhenghui
b17c8aa3d4 fix(sleep): fix modem reject the deepsleep request 2023-09-25 23:52:01 +00:00
David Cermak
1363566b73 fix(http_client): Set common tcp config to both TCP and SSL transport
Foundation transport contained TCP properties for both TCP and SSL
transport, so it was enough to set the TCP connection properties
(keepalive, interface binding) to one transport only. After merging
5778a7c7 we have separate TCP properties for these transports and need
to set the same for both.
This commit also fixes unnecessary allocation of 1 more byte for if_name

Closes https://github.com/espressif/esp-protocols/issues/322
2023-09-25 14:56:55 +02:00
WanqQixiang
b46a32cd92 fix(openthread): update openthread_br lib 2023-09-25 19:42:53 +08:00
Shu Chen
3f02e5e901 feat(openthread): enable time sync feature 2023-09-25 19:42:36 +08:00
zhangwenxu
8a565641c2 feat(openthread): Add some configuration for customer using 2023-09-25 19:41:57 +08:00
xiaqilin
9a2b707e76 fix(ieee802154): using link0/2 for ieee802154 in esp32h2 chip 2023-09-25 17:26:24 +08:00
harshal.patil
f6b589e275
feat(esp_hw_support): Added locking mechanism for the ECDSA and ECC peripheral 2023-09-25 14:33:04 +05:30
harshal.patil
710b9d228b
feat(esp_hw_support): Add esp_crypto_lock layer for esp32c2 2023-09-25 14:31:18 +05:30
chaijie@espressif.com
80f7e913a0 fix(sleep): fix inproper sleep vol param for esp32c6 & esp32h2 2023-09-25 16:39:46 +08:00
Sonika Rathi
199205026e UART: UART_SELECT_WRITE_NOTIF event added in UART driver
Closes https://github.com/espressif/esp-idf/issues/10986
2023-09-25 10:36:44 +02:00
morris
1cbed4e2c1 fix(intr): always allocate memory from internal ram
Closes https://github.com/espressif/esp-idf/issues/12271
2023-09-25 15:41:15 +08:00
cjin
179e3293be change: remove has clock bug macro for esp32h2 2023-09-25 13:40:26 +08:00
cjin
0e668ddf63 feat(ble): update ble sleep logic for esp32h2 2023-09-25 13:40:10 +08:00
xiaqilin
1d02b6c1c6 feat(ieee802154): update ieee802154 sleep logic and support modem sleep 2023-09-25 13:39:59 +08:00
Kapil Gupta
a9714ebe11 change(wifi): Add dependency of group 19 for MbedTLS crypto 2023-09-25 10:55:07 +05:30
Kapil Gupta
52120cde26 change(wifi): Add supplicant's public API header files to doc 2023-09-25 10:54:52 +05:30
Rahul Tank
d49c020750 remove(nimble): Removed unused coex header inclusion 2023-09-25 10:38:27 +05:30
Cao Sen Miao
518212a8f6 fix(usb_serial_jtag): Clean-up usb_serial_jtag lose byte fix, Closes https://github.com/espressif/esp-idf/pull/11344 2023-09-25 11:05:05 +08:00
Chip Weinberger
0ed7093fb2 [Usb Serial JTAG] printing to console could sometimes skip bytes 2023-09-25 11:04:55 +08:00
Cao Sen Miao
69d283b9ae fix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly,
Closes https://github.com/espressif/esp-idf/issues/12119,
Closes https://github.com/espressif/esp-idf/pull/11344,
Closes https://github.com/espressif/esp-idf/issues/9318
Closes https://github.com/espressif/esp-idf/issues/11192
2023-09-25 11:04:16 +08:00
Cao Sen Miao
73c78c20a6 fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together 2023-09-25 10:57:06 +08:00
chenqingqing
36563c86be fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics 2023-09-25 10:29:34 +08:00
Ondrej Kosta
09f6dfa2c4 feat(esp_eth): added IRAM optimization option for internal EMAC 2023-09-25 02:10:29 +00:00
shangke
22ab7ff325 fix(bt/controller): Fixed some HCI commands parameter
1: add param check for HCI_Recevie_Synchronization_Train.
2: add param check for HCI_Set_Connectionless_Peripheral_Broadcast.
3: fix slave cannot take a secure authentication.
2023-09-22 15:02:17 +08:00
harshal.patil
85239ce2af
feat(bootloader): Update micro-ecc version to v1.1
This fix ensures that https://nvd.nist.gov/vuln/detail/CVE-2020-27209 is not
reported by the ESP-IDF SBOM tool. Please note that, this CVE was anyways not
applicable for ESP32 platform, as the bootloader (user of micro-ecc library)
do not perform signing on the device, its only verification that happens in
secure-boot-v1 case.
2023-09-22 10:49:43 +05:30
laokaiyao
d57651b13c ci(adc): increase all adc performance test threshold on c6 (v5.1) 2023-09-22 12:37:44 +08:00
morris
6ff4bb0994 Merge branch 'refactor/esp_timer_etm_test_v5.1' into 'release/v5.1'
test(etm): refactor systimer etm test case (v5.1)

See merge request espressif/esp-idf!26093
2023-09-22 11:09:55 +08:00
You Wei
de93968670 fix(ldgen): check target conflict for entries with section alias 2023-09-21 19:38:49 +08:00
Sudeep Mohanty
77492f3bc5 fix(freertos): Updated IDLE task names for each core to have the coreID as a suffix
This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the names.

Closes https://github.com/espressif/esp-idf/issues/12204
2023-09-21 13:07:34 +02:00
Jiang Jiang Jian
aececf745f Merge branch 'bugfix/some_wifi_fixes_v5.1' into 'release/v5.1'
fix(esp_wifi): Some Wi-Fi bug fixes

See merge request espressif/esp-idf!26084
2023-09-21 18:46:02 +08:00
Jiang Jiang Jian
02ea722492 Merge branch 'change/optimize_sniff_request_v5.1' into 'release/v5.1'
Change(bt/bluedroid): Limit sniff request when pending mode change event[backport 5.1]

See merge request espressif/esp-idf!26053
2023-09-21 17:19:06 +08:00
Jiang Jiang Jian
9f6fe72a46 Merge branch 'bugfix/coex_ble_scan_rate_v5.1' into 'release/v5.1'
fix(esp_coex): Fix esp32 ble scan not restart when wifi start stop (Backport v5.1)

See merge request espressif/esp-idf!26000
2023-09-21 16:18:57 +08:00
Jiang Jiang Jian
5c3f7ed2fd Merge branch 'feature/support_pd_hp_aon_domain_in_deepsleep_v5.1' into 'release/v5.1'
feat(pm/deepsleep): support pd hp aon domain in deepsleep (backport v5.1)

See merge request espressif/esp-idf!26078
2023-09-21 15:36:19 +08:00
morris
1c15c2aded refactor(etm): systimer etm test case
previously we use the systimer event to toggling a GPIO and assert the GPIO level,
which is not stable in CI.
Now we swicth to clear the GPIO at the systimer event.
2023-09-21 13:03:49 +08:00
Aditya Patwardhan
5fffeddf79 feat(esp_http_client): Added support for OTA using ds peripheral for TLS 2023-09-21 10:21:02 +05:30
Jiang Jiang Jian
08262e1975 Merge branch 'bugfix/fix_cpu_switches_freq_bug_s2s3_to_v5.1' into 'release/v5.1'
EspS2/S3: fixed the bug of insufficient voltage when the CPU switches frequency(V5.1)

See merge request espressif/esp-idf!26044
2023-09-21 10:22:48 +08:00
Jiang Jiang Jian
af7ce38507 Merge branch 'feat/warn_on_unpulled_mqtt_sub_v5.1' into 'release/v5.1'
feat(mqtt): Stop cmake process if submodule is missing (v5.1)

See merge request espressif/esp-idf!26032
2023-09-21 10:12:18 +08:00
xuxiao
7f9b241f7e fix(wifi): fix some esp32c6 wifi bugs 2023-09-20 19:50:44 +08:00
liuning
55fcae23c9 esp_wifi: support connectionless manually pwr mgmt 2023-09-20 19:50:05 +08:00
liuning
b439f7568c sleep_modem: split esp_wifi_internal_mac_sleep_configure, add lock for pm functions 2023-09-20 19:49:54 +08:00
liuning
f66740362e fix(sleep_modem): fix lightsleep failure if enable lightsleep at phy disabled 2023-09-20 19:49:42 +08:00
xueyunfei
ae3f3f7a10 feat(esp_wifi):static buf for management,control,qos null,null data rx packet 2023-09-20 19:48:46 +08:00
jgujarathi
3d056fd748 fix(esp_wifi): Fix issues with extended caps IE, scan and HT40 mode
-Merges the addition of extended caps IE for assoc req, probe resp
 and beacons in a single place. This ensures that there are no
 duplicate Extended Caps IE in the frame. Moves the capability
 indication for BTM and HT20/40 from supplicant to wifi libs.

-Fix issue with frequent disconections when scanning for only a single
 channel.

-Prints error message and returns ESP_ERR_NOT_SUPPORTED in case
 esp32c2 tries to set bandwidth to HT40.
2023-09-20 19:44:57 +08:00
Kapil Gupta
981086ba30 change(esp_wifi): Rename WiFi enterprise connection APIs 2023-09-20 17:06:59 +05:30
Lou Tianhao
3dc3ee0817 feat(pm/deepsleep): support pd hp aon domain in deepsleep 2023-09-20 19:26:35 +08:00
Jiang Jiang Jian
41d8715dfe Merge branch 'feat/add_internal_pull_up_or_pull_down_option_for_deepsleep_wakeup_prepare_v5.1' into 'release/v5.1'
feat(pm): add internal pull-up/downs option for gpio used for deepsleep wakeup (backport v5.1)

See merge request espressif/esp-idf!26040
2023-09-20 19:15:48 +08:00
Jiang Jiang Jian
013c52afe4 Merge branch 'test/bqb_test_bt_classic_avdtp_v5.1' into 'release/v5.1'
feat(bt/bqb): Add avdt abort function for BQB test (backport v5.1)

See merge request espressif/esp-idf!26045
2023-09-20 19:12:25 +08:00
linruihao
f37ac82c2b fix(esp_coex): Fix esp32 ble scan not restart when wifi start stop 2023-09-20 17:02:17 +08:00
morris
e3beb8ce26 Merge branch 'contrib/github_pr_12179_v5.1' into 'release/v5.1'
fix(uart): Fix uart_ll_set_baudrate div-by-zero crash due to uint32_t overflow (backport v5.1)

See merge request espressif/esp-idf!26014
2023-09-20 16:13:20 +08:00
Shu Chen
ffc8da6ee1 Merge branch 'backport/rcp_size_opt_config' into 'release/v5.1'
Backport/rcp size opt config

See merge request espressif/esp-idf!26010
2023-09-20 11:36:21 +08:00
Marius Vikhammer
b8d3ee9844 Merge branch 'contrib/github_pr_12258_v5.1' into 'release/v5.1'
fix(vfs): Fix event_write may not exit critical section (GitHub PR) (v5.1)

See merge request espressif/esp-idf!26047
2023-09-19 20:40:22 +08:00
liqigan
fe5734b4f1 change(bt/bluedroid): Limit sniff request when pending mode change event 2023-09-19 20:08:04 +08:00
wanglai@espressif.com
15c7cf4cab feat(bt/bluedroid): Add avdt abort function for BQB test
1: add new AVDTP abort function for BQB test
2023-09-19 19:02:29 +08:00
Xu Si Yu
d5f3f73f51 fix(openthread): copy the networkname with a null terminator 2023-09-19 17:15:03 +08:00
Jiang Jiang Jian
35535a6b6e Merge branch 'bugfix/suppress_compiler_warning_silent_reboot_is_enabled_v5.1' into 'release/v5.1'
fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled(backport v5.1)

See merge request espressif/esp-idf!26036
2023-09-19 17:13:30 +08:00
LiPeng
20219b8ee6 fix(vfs): Fix event_write may not exit critical section
This commit fixes the event_write() function where the critical section
was unbalanced.

Merges https://github.com/espressif/esp-idf/pull/12258
2023-09-19 08:52:36 +02:00
Song Ruo Jing
b7ed76110c fix(uart): Add 8/16-bit register field access workaround to ESP32C2 2023-09-19 12:12:05 +08:00
Eduardo Lacerda Campos
9cd0aee51b fix(uart): Fix uart_ll_set_baudrate div-by-zero crash due to uint32_t overflow
Merges https://github.com/espressif/esp-idf/pull/12179
2023-09-19 12:12:05 +08:00
Wang Meng Yang
c7132d3f15 Merge branch 'bugfix/error_param_in_BTA_AG_WBS_EVT_v5.1' into 'release/v5.1'
Bugfix/error param in bta ag wbs evt (v5.1)

See merge request espressif/esp-idf!26001
2023-09-19 12:01:11 +08:00
hongshuqing
bb33a2bf6b fix cpu switches freq bug s2s3 to v5.1 2023-09-19 11:27:08 +08:00
Lou Tianhao
86e5252d63 feat(pm): add internal pull-up/downs option for gpio used for deepsleep wakeup 2023-09-19 10:59:57 +08:00
wuzhenghui
a96f2c7674 fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled 2023-09-19 10:37:23 +08:00
Marius Vikhammer
5badfeefac Merge branch 'bugfix/pthread_cond_var_link_hook_v5.1' into 'release/v5.1'
bugfix(pthread): fixed pthread_condvar linker hook (v5.1)

See merge request espressif/esp-idf!26004
2023-09-19 10:35:57 +08:00
Euripedes Rocha
80307247aa feat(mqtt): Stop cmake process if submodule is missing
Closes https://github.com/espressif/esp-idf/issues/12202
2023-09-18 14:34:02 +02:00
Rahul Tank
7fc23046e2 Merge branch 'feat/add_sbom_manifest_file_v5.1' into 'release/v5.1'
feat(nimble): Update nimble submodule pointer for SPDX manifest addition for SBOM tool (v5.1)

See merge request espressif/esp-idf!25994
2023-09-18 15:35:29 +08:00
Shu Chen
66c9fb087d Merge branch 'feature/extenal_coexist_slave_support_v5.1' into 'release/v5.1'
feat(esp_coex): add external coex slave support (backport v5.1)

See merge request espressif/esp-idf!25976
2023-09-18 15:06:11 +08:00
Jakob Hasse
62ad7658ed fix(pthread): fixed pthread_condvar linker hook 2023-09-18 12:31:25 +08:00
Jiang Jiang Jian
8ce86c32d0 Merge branch 'bugfix/fix_some_wifi_bugs_230913_v5.1' into 'release/v5.1'
fix(wifi): fix some wifi bugs 20230913(Backport v5.1)

See merge request espressif/esp-idf!25960
2023-09-18 12:09:31 +08:00
Marius Vikhammer
d41661be42 Merge branch 'bugfix/freertos_private_critical_section_macro_v5.1' into 'release/v5.1'
fix(freertos): Fixed bug with prvENTER/EXIT_CRITICAL_OR_MASK_ISR() macro (v5.1)

See merge request espressif/esp-idf!25706
2023-09-18 11:05:21 +08:00
Shu Chen
a99bb2e32f Merge branch 'backport/suppport_ot_message_pool_using_PSRAM' into 'release/v5.1'
feat(openthread): support to allocate message pool from PSRAM(backport v5.1)

See merge request espressif/esp-idf!25990
2023-09-18 10:55:41 +08:00
morris
7698a413bc Merge branch 'bugfix/fix_120_ddr_pll_cali_issue_5.1' into 'release/v5.1'
mspi: fixed bbpll calibration issue (v5.1)

See merge request espressif/esp-idf!25980
2023-09-16 00:44:04 +08:00
Rahul Tank
c546540ef1 feat(nimble): Added SBOM manifest file for SPDX file generation 2023-09-15 17:37:28 +05:30
zhangwenxu
331cc97d01 feat(openthread): Add support to allocate message pool from PSRAM 2023-09-15 18:30:42 +08:00
Jiang Jiang Jian
7275ae17bd Merge branch 'backport_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix set periodic advertising data error(backport v5.1)

See merge request espressif/esp-idf!25956
2023-09-15 11:59:02 +08:00
morris
0b9748f096 Merge branch 'bugfix/usb/host/urb_check_revert_v5.1' into 'release/v5.1'
[USB Host] Fix transfer determination during argument checking for regular EP transfer (backport v5.1)

See merge request espressif/esp-idf!25965
2023-09-15 11:38:13 +08:00