Commit Graph

19148 Commits

Author SHA1 Message Date
nilesh.kale
ef7a749367 feat(mbedtls): updated mbedtls version from 3.5.2 to 3.6.0
This MR updated MbedTLS version to latest version 3.6.0.
2024-05-15 11:43:54 +05:30
Jiang Jiang Jian
8b6811ef45 Merge branch 'bugfix/fix_mesh_packet_tx_issue_v5.0' into 'release/v5.0'
fix(wifi): fix the tx issue when mesh packet lifetime remain equal to zero (v5.0)

See merge request espressif/esp-idf!30802
2024-05-13 22:30:52 +08:00
David Čermák
9751ab5122 Merge branch 'contrib/github_pr_13560_v5.0' into 'release/v5.0'
esp_eth: DP83848: correct link detection to use BMSR (GitHub PR) (v5.0)

See merge request espressif/esp-idf!30453
2024-05-13 21:55:13 +08:00
zhangyanjiao
43dce54bb4 fix(wifi): fix the tx issue when mesh packet lifetime remain equal to zero 2024-05-13 17:16:50 +08:00
Jiang Jiang Jian
6a17b9c1c7 Merge branch 'bugfix/bt_bss_in_extram_v5.0' into 'release/v5.0'
fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled(backport v5.0)

See merge request espressif/esp-idf!30377
2024-05-13 11:03:07 +08:00
Island
8e81b118e2 Merge branch 'fix/idfgh-12762_v5.0' into 'release/v5.0'
fix(ble_mesh):Fixed a compatibility issue with the provisioner (v5.0)

See merge request espressif/esp-idf!30732
2024-05-10 17:14:20 +08:00
Island
ed6f245a5b Merge branch 'bugfix/BLEQABR23-798_v5.0' into 'release/v5.0'
bugfix(ble_mesh): Close BLEQABR23-798 (v5.0)

See merge request espressif/esp-idf!30647
2024-05-10 17:14:02 +08:00
Wang Meng Yang
7649270896 Merge branch 'optimize/bt_make_alarm_num_configurable_v5.0' into 'release/v5.0'
optimize(ble_mesh): Make alarm number configurable (v5.0)

See merge request espressif/esp-idf!30508
2024-05-10 15:05:48 +08:00
Wang Meng Yang
e8641f62e4 Merge branch 'bugfix/fix_hid_connection_failed_bug_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fix HID connection bugs[backport 5.0]

See merge request espressif/esp-idf!30591
2024-05-10 12:18:50 +08:00
Rahul Tank
c211aaeeaa fix(nimble): Free controller memory if init fails 2024-05-09 12:26:04 +05:30
luoxu
aa830471f4 fix(ble_mesh):Fixed a compatibility issue with the provisioner
Closes https://github.com/espressif/esp-idf/issues/13741
2024-05-09 10:57:39 +08:00
liqigan
eb99868b56 fix(bt/bluedroid): Fix HID Device connection failed bug
Closes https://github.com/espressif/esp-idf/issues/13671
2024-05-09 09:24:16 +08:00
liqigan
a91bee2b4c fix(bt/bluedroid): Fix HID Host connection bugs
1. Fix is_orig value inconsistency for HIDH open event
2. Fix the error state for repeat connection of the same device
2024-05-09 09:24:16 +08:00
Aditya Patwardhan
1bec4902b2 Merge branch 'backport/support_tls1_3_v5.0' into 'release/v5.0'
https_mbedtls: update example to support TLS 1.3 connection

See merge request espressif/esp-idf!30607
2024-05-07 16:38:14 +08:00
luoxu
d9186f52c3 bugfix(ble_mesh): Close BLEQABR23-798 2024-05-07 09:49:13 +08:00
Rahul Tank
54f171ec5c fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:22:39 +05:30
Wang Mengyang
76486bbfcb change(bt): Rename linker script file names and symbol names
1. rename linker files
2. support memory release in case that ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY is enabled
3. improve the implementation of memory release
2024-05-06 17:14:58 +08:00
Wang Mengyang
eca6545ffe fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled
1. Closes https://github.com/espressif/esp-idf/issues/10427
2. add two linker script to unify linker script symbols for BT libraries
3. The memory release functions have also been simplified

fix(bt): remove unused file linker.lf
2024-05-06 17:14:55 +08:00
Jiang Jiang Jian
3b448491d3 Merge branch 'fix/increase_26mhz_esp32c2_slow_clock_calibration_wdt_threshold_v5.0' into 'release/v5.0'
fix(esp_system): increase 26Mhz esp32c2 slow clock calibration timeout watchdog threshold (v5.0)

See merge request espressif/esp-idf!30572
2024-05-06 14:06:39 +08:00
Mahavir Jain
089197ff8a Merge branch 'bugfix/nvs_enc_test_v5.0' into 'release/v5.0'
fix(tests): correct the flash write length for NVS encrypted test (v5.0)

See merge request espressif/esp-idf!30605
2024-05-06 13:32:28 +08:00
Harshit Malpani
90d0689331
fix(esp-tls): Use TLS 1.2 and TLS 1.3 simultaneously
This commit fixes the issue with TLS 1.2 connection when TLS 1.3 is
enabled in config.
2024-05-02 17:15:08 +05:30
Harshit Malpani
1c3c89eb43
fix(esp-tls): Retry reads if using session tickets with TLS 1.3
Fixed the error that occurred while performing OTA upgrades over
TLS 1.3 connection. After handshake is completed, post-handshake message
is received and internal state is changed. While performing mbedtls_ssl_read(),
it checks handshake state and if it is not MBEDTLS_SSL_HANDSHAKE_OVER,
mbedtls_ssl_handshake is called again.
2024-05-02 17:11:50 +05:30
Mahavir Jain
0b7bb679bb
esp_tls: add initial support for TLS 1.3 connection 2024-05-02 17:11:01 +05:30
Mahavir Jain
c8dbdc6aa6
fix(tests): correct the flash write length for NVS encrypted test
Write only till the embedded file size in the NVS partition. Earlier
the length was kept as the whole partition size and it could result
in accessing embedded rodata beyond the MMU mapped range.
2024-05-02 16:54:56 +05:30
Wang Meng Yang
e1dfcbc567 Merge branch 'bugfix/hf_local_param_null_v5.0' into 'release/v5.0'
fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway (v5.0)

See merge request espressif/esp-idf!30442
2024-04-30 17:25:26 +08:00
wangjialiang
7d0cfb74bb feat(ble_mesh): Make alarm number configurable 2024-04-30 16:09:47 +08:00
Karl Palsson
0eef7d1934 fix(esp_eth): dp83848: correct link detection to use BMSR
Reading the link state via PHYSTS was incorrect, as it only reflects the
link state bit from BMSR.  BMSR latches link down events, and are not
cleared without being read.  (See 802.3-2008 section 2, section 22.2.4.2.13)
This leads to the original DP828xx code only supporting link up, then a
single link down event.

Switch to reading the link state via BMSR, but continuing to read the
negotiation results via PHYSTS and ANLPAR.  This is inline with
LAN8720x, RTL8201, KSZ80xx phy drivers, and other opensource drivers for
the DP838xx family of devices.

Tested on a private board with a DP83825i PHY.  No publically available
boards using the original DP83848 are known of for testing.

Signed-off-by: Karl Palsson <karl.palsson@marel.com>
2024-04-30 16:08:25 +08:00
wuzhenghui
820cc387d9
fix(esp_system): increase 26Mhz esp32c2 slow clock calibration timeout watchdog threshold 2024-04-30 11:45:20 +08:00
Island
961ca4f975 Merge branch 'bugfix/fix_ble_coex_assert_v5.0' into 'release/v5.0'
Update esp32 bt-lib (4012cfb)(backport v5.0)

See merge request espressif/esp-idf!30519
2024-04-28 10:48:07 +08:00
Island
2233d54812 Merge branch 'bugfix/fix_ble_max_attribute_value_v5.0' into 'release/v5.0'
Bugfix/fix ble max attribute value v5.0

See merge request espressif/esp-idf!30414
2024-04-28 10:37:12 +08:00
zhanghaipeng
f449df139c feat(ble/bluedroid): Support BLE command status debug log 2024-04-26 17:14:44 +08:00
zhanghaipeng
2efc1c3c7c fix(ble/controller): Update esp32 bt-lib (4012cfb)
- Fixed BLE coex assert
- Fixed BLE DTM status and tx count
2024-04-26 16:51:43 +08:00
morris
3087b28012 Merge branch 'bugfix/uart_bitrate_max_value_c2_v5.0' into 'release/v5.0'
fix(uart): correct C2 UART_BITRATE_MAX value (v5.0)

See merge request espressif/esp-idf!30461
2024-04-26 10:43:49 +08:00
morris
6371dcbcb0 Merge branch 'bugfix/gpio_drive_cap_v5.0' into 'release/v5.0'
fix(gpio): add workaround to ensure correct IO drive strength for C3 and S3 (v5.0)

See merge request espressif/esp-idf!30468
2024-04-26 10:43:29 +08:00
zhanghaipeng
614b2bbd3f feat(ble/bluedroid): Support create BLE static random address and NRPA 2024-04-25 15:58:19 +08:00
zhanghaipeng
f0450152f2 feat(ble/bluedroid): Support BLE add device to resolving list 2024-04-25 15:58:19 +08:00
zhanghaipeng
ebf929b5f8 feat(ble/bluedroid): Support set resolvable provate address timeout by api 2024-04-25 15:58:19 +08:00
zhanghaipeng
182cbb85f8 fix(ble/bluedroid): Fixed BLE GATT max length of an attribute value 2024-04-25 15:58:19 +08:00
zhanghaipeng
1eebe9f680 fix(ble/bluedroid): Optimize BLE documentation comments to comply with Doxygen syntax 2024-04-25 15:58:19 +08:00
Song Ruo Jing
02d819b69b fix(uart): Fix mismatch wakeup rising edges required with the threshold configured
Closes https://github.com/espressif/esp-idf/issues/12586
2024-04-24 17:27:27 +08:00
Song Ruo Jing
94070c8651 fix(gpio): add workaround to ensure correct IO drive strength for C3 and S3 2024-04-24 17:00:06 +08:00
Song Ruo Jing
4727357067 fix(uart): correct C2 UART_BITRATE_MAX value 2024-04-24 16:20:44 +08:00
Jin Cheng
7fa711346a fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway in its initialization when dynamic memory is wnabled 2024-04-24 08:28:45 +08:00
Rahul Tank
6bdd4be339 fix(nimble): Expose API to set RPA Timeout 2024-04-23 11:58:43 +05:30
Island
fb12a68017 Merge branch 'feat/optimzie_ble_ctrl_memory_v5.0' into 'release/v5.0'
ble: support only legacy adv and slave function on esp32c2 (v5.0)

See merge request espressif/esp-idf!30336
2024-04-22 22:51:02 +08:00
Jiang Jiang Jian
7c9bacb624 Merge branch 'bugfix/crash_after_bluedroid_deinit_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fixed controller using null pointer after bluedroid deinit(v5.0)

See merge request espressif/esp-idf!30329
2024-04-22 11:13:42 +08:00
Jiang Jiang Jian
dd61b7ed37 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.0' into 'release/v5.0'
Fixed some BT and BLE bugs 2404 (backport v5.0)

See merge request espressif/esp-idf!30259
2024-04-22 10:48:04 +08:00
Jiang Jiang Jian
3b6ee156c9 Merge branch 'feat/set_get_lpclk_src_v5.0' into 'release/v5.0'
feat(ble): Added API to get low power clock source(v5.0)

See merge request espressif/esp-idf!30109
2024-04-22 10:25:55 +08:00
chenjianhua
c9255fc852 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(c23ab4c)
- Support QA test vendor HCI command and event
2024-04-18 14:43:13 +08:00
baohongde
043ea1cb60 fix(ble/controller): Fixed LoadProhibited after bluetooth deinit 2024-04-18 14:43:07 +08:00