Commit Graph

20915 Commits

Author SHA1 Message Date
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
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
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
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