Commit Graph

32210 Commits

Author SHA1 Message Date
Wang Meng Yang 5564b6b98b Merge branch 'docs/update_bt_api_ref_v5.5' into 'release/v5.5'
docs(bt): update Classic Bluetooth api reference(v5.5)

See merge request espressif/esp-idf!44994
2026-01-13 10:10:10 +08:00
Martin Vychodil 10b508875c Merge branch 'bugfix/nvs_flash_space_reclaim_v5.5' into 'release/v5.5'
fix(nvs_flash): Fixed sequence of page state changes to allow correct recovery when power is interrupted (v5.5)

See merge request espressif/esp-idf!44936
2026-01-13 04:22:28 +08:00
morris bb1bf75a83 Merge branch 'refactor/gdma_channel_allocator_both_direction_v5.5' into 'release/v5.5'
feat(gdma): support ESP32-P4 ECO6 (v5.5)

See merge request espressif/esp-idf!44873
2026-01-12 14:29:05 +08:00
Wang Meng Yang bd79273b99 Merge branch 'bugfix/key_type_notify_err_v5.5' into 'release/v5.5'
fix(bt/controller): fixed wrong key type during changing connection link key (v5.5)

See merge request espressif/esp-idf!44975
2026-01-12 12:30:12 +08:00
yangfeng c05ed8670f docs(bt): update Classic Bluetooth api reference of SDP 2026-01-12 10:27:24 +08:00
yangfeng e0e0562013 docs(bt): update Classic Bluetooth api reference of L2CAP 2026-01-12 10:27:24 +08:00
yangfeng 171f8ab06d docs(bt): update Classic Bluetooth api reference of HID Host 2026-01-12 10:27:24 +08:00
yangfeng 389e50abf4 docs(bt): update Classic Bluetooth api reference of HID Device 2026-01-12 10:27:24 +08:00
yangfeng 9e11c7ba00 docs(bt): update Classic Bluetooth api reference of HFP AG 2026-01-12 10:27:24 +08:00
yangfeng aab8605340 docs(bt): update Classic Bluetooth api reference of HFP Client 2026-01-12 10:27:24 +08:00
yangfeng 38ad274b6f docs(bt): update Classic Bluetooth api reference of HFP Define 2026-01-12 10:27:24 +08:00
yangfeng 9618f956cf docs(bt): update Classic Bluetooth api reference of SPP 2026-01-12 10:27:24 +08:00
yangfeng d3944162d8 docs(bt): update Classic Bluetooth api reference of AVRCP 2026-01-12 10:27:24 +08:00
yangfeng 5da8d6df53 docs(bt): update Classic Bluetooth api reference of A2DP 2026-01-12 10:27:21 +08:00
yangfeng b7050c9326 docs(bt): update Classic Bluetooth api reference of GAP 2026-01-12 10:25:55 +08:00
Jiang Jiang Jian b5cd44e993 Merge branch 'bugfix/fix_espnow_set_peer_rate_memory_leak_v5.5' into 'release/v5.5'
fix(wifi/espnow): fixed the espnow set peer rate memory leak (v5.5)

See merge request espressif/esp-idf!44763
2026-01-09 19:44:41 +08:00
Jin Cheng aced53e693 fix(bt/controller): fixed wrong key type during changing connection link key 2026-01-09 18:13:06 +08:00
Jiang Jiang Jian 7f998644b5 Merge branch 'bugfix/concurrency_issue_roam_app_v5.5' into 'release/v5.5'
Add blacklist logic and some fixes in roaming app(v5.5)

See merge request espressif/esp-idf!44106
2026-01-09 12:26:57 +08:00
Rahul Tank 7c471e0401 Merge branch 'bugfix/fix_sending_packet_v5.5' into 'release/v5.5'
fix(nimble): Add packet sending change in case of controller only configuration (v5.5)

See merge request espressif/esp-idf!44900
2026-01-08 21:52:29 +05:30
radek.tandler 1311fa8094 fix(nvs_flash): Fixed order of page state change to allow recovery 2026-01-08 14:22:40 +01:00
Wang Meng Yang 9c49790b5c Merge branch 'bugfix/l2cap_malloc_fail_v5.5' into 'release/v5.5'
fix(bt): fix l2cap malloc fail in throughput test(v5.5)

See merge request espressif/esp-idf!44852
2026-01-08 21:13:05 +08:00
morris 5aede3ac63 Merge branch 'fix/fix_awb_subwindow_config_v5.5' into 'release/v5.5'
isp: fixed awb subwindow config always need to be set issue (v5.5)

See merge request espressif/esp-idf!44857
2026-01-08 18:54:18 +08:00
morris 8506035f5a refactor(gdma): enhance M2M capability handling 2026-01-08 18:25:42 +08:00
Kapil Gupta c9b5b40bc1 fix(esp_wifi): Change some defaults in roaming app
- Closes https://github.com/espressif/esp-idf/issues/17687
2026-01-08 14:41:26 +05:30
Kapil Gupta 9835845d98 fix(esp_wifi): Check conditional compilation for roaming app features 2026-01-08 14:40:36 +05:30
Kapil Gupta 4347dc6ff2 fix(esp_wifi): Cancel roaming_app_periodic_scan_internal_handler correctly 2026-01-08 14:40:36 +05:30
Kapil Gupta cf2c1738c0 fix(esp_wifi): Add some fixes in roaming app 2026-01-08 14:40:36 +05:30
tarun.kumar ddbc41abf2 fix(wifi) : Resetting current bssid for every roaming connection intiated
- Bssid reset after btm or legacy roam
     - Making few changes in CMake for wpa_supplicant and esp_wifi
2026-01-08 14:40:35 +05:30
Kapil Gupta 0ef0d068db fix(esp_wifi): Address some review comments and issues 2026-01-08 14:40:35 +05:30
Kapil Gupta 38302784c7 feat(roaming): ignore WPA2-only APs on transition disable
This commit introduces a new feature to the roaming logic. If the
currently connected AP has the 'transition disable' bit set in its
RSN IE, the roaming logic will now ignore any scanned APs that only
support WPA2-PSK. This prevents a security downgrade when roaming in a
mixed WPA2/WPA3 environment.

A new Kconfig option, CONFIG_ESP_WIFI_IGNORE_WPA2_ONLY_ON_TRANSITION_DISABLE,
has been added to control this feature. It is disabled by default.
2026-01-08 14:40:35 +05:30
Kapil Gupta be1515baf3 fix(roaming_app): resolve issues in blacklisting logic
This commit addresses several issues in the BSSID blacklisting
feature of the roaming application:

- Merged duplicate  functions into a single,
  unified function, resolving a compilation error.
- Corrected  and
  to properly access the  member of the
  struct, fixing invalid memory access.
- Introduced  in Kconfig to enable
  the manual blacklisting feature and made auto-blacklisting
  dependent on it.
- Updated  to use the
  correct BSSID from .
- Optimized the removal of expired blacklist entries by using
   for better efficiency.
2026-01-08 14:40:35 +05:30
Kapil Gupta 91ba3b2d49 fix(esp_wifi): Add blacklist logic in roaming app 2026-01-08 14:40:35 +05:30
Island e78cf39c9b Merge branch 'bugfix/fix_ble_security_issue_2025_v3_v5.5' into 'release/v5.5'
fix(ble/bluedroid): Fix type mismatch and length validation in HCI packet parser (v5.5)

See merge request espressif/esp-idf!44667
2026-01-08 17:05:48 +08:00
Island 43cc92fba3 Merge branch 'feat/reduce_bluedroid_host_bin_v5.5' into 'release/v5.5'
feat/reduce bluedroid host bin size (v5.5)

See merge request espressif/esp-idf!44868
2026-01-08 14:22:10 +08:00
Jiang Jiang Jian 8c96f152dc Merge branch 'bugfix/idfgh-16634_v5.5' into 'release/v5.5'
backport v5.5: remove the configurable constraint for sleep memory usage optimization option

See merge request espressif/esp-idf!43984
2026-01-08 13:49:45 +08:00
Rahul Tank 771c74700e fix(nimble): Add packet sending change in case of controller only configuration 2026-01-08 10:13:45 +05:30
Mahavir Jain 5a142e151c Merge branch 'fix/incorrect_sha256_auth_digest_v5.5' into 'release/v5.5'
fix(esp_http_client): fix incorrect digest calculation for SHA256 auth digest (v5.5)

See merge request espressif/esp-idf!44845
2026-01-08 09:25:53 +05:30
zhanghaipeng 9ef7842daa feat(ble/bluedroid): add periodic advertising create sync retry mechanism 2026-01-07 19:28:30 +08:00
Zhang Hai Peng c92bd4679c fix(bt/osi): add NULL check in osi_mutex_free and osi_sem_free (IDFGH-16853)
(cherry picked from commit 863004060215b4730aafa15914729175a2f0f173)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 07ed373646 fix(bt/bluedroid): fix UAF in bta_gattc_enqueue for search service command
(cherry picked from commit 61962987501dbc778d474dc7d6e065211cea557b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 622990b70e feat(examples/bluedroid): Add BLE time interval conversion macros for better readability
Add macros to convert time values from milliseconds to BLE interval units:
- ESP_BLE_GAP_ADV_ITVL_MS: Convert advertising interval (0.625ms unit)
- ESP_BLE_GAP_SCAN_ITVL_MS: Convert scan interval (0.625ms unit)
- ESP_BLE_GAP_SCAN_WIN_MS: Convert scan window (0.625ms unit)
- ESP_BLE_GAP_CONN_ITVL_MS: Convert connection interval (1.25ms unit)
- ESP_BLE_GAP_PERIODIC_ADV_ITVL_MS: Convert periodic adv interval (1.25ms unit)
- ESP_BLE_GAP_SUPERVISION_TIMEOUT_MS: Convert supervision timeout (10ms unit)


(cherry picked from commit 7cd2f7b34d925f6b4ebcbecf320c2d5a1b2e7036)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 3c3cfb7eaa feat(ble/bluedroid): Increase maximum notify/indication registration count
(cherry picked from commit b6aed7e1c8b22a3813eda17f9436706b725e1de5)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 2cf13e5c6d fix(ble/bluedroid): Fix multiple out-of-bounds read vulnerabilities in GATT PDU handlers
(cherry picked from commit 643d9c2387f9fc677025e66faf714667a7e75f85)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng fa99ba7f72 fix(ble/bluedroid): Fix out-of-bounds read in l2cble_process_sig_cmd
(cherry picked from commit 93cfbb8522c8e4cf3c56378fe97f2a7d10a2e5e3)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng 00e6211ff8 fix(ble/bluedroid): Fix integer underflow in gatt_process_read_by_type_rsp
(cherry picked from commit 597fc6e5c1b4a0448ad3d43185d9d48624085a0c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng a805e4e6e8 fix(bt): fix BLE security issue in controller and HCI packet parser
(cherry picked from commit a721e94a0fc78c61f6690126a982ac2966ff400b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhi Wei Jian e5619686eb fix(ble/bluedroid): Fixed bluedroid host get white list size error
(cherry picked from commit f4dfd427250f45e42d7922f4270c4ba96c9fc879)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:35 +08:00
Zhi Wei Jian cbf4640668 fix(ble/bluedroid): Fixed bt buuld error
fix(ble/bluedroid): disable power management if bt is disabled


(cherry picked from commit 6f27074c1ee4486cedf8adeb1a57e67b9cb6a525)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:34 +08:00
Zhi Wei Jian 8e361fc5bb fix(ble/bluedroid): disable some member in tBTA_SYS_CB
(cherry picked from commit 280385acf4d0d97407b072dcc3002936b4dca475)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:33 +08:00
Zhi Wei Jian 04f4602a6a fix(ble/bluedroid): optimize bluedroid host code
(cherry picked from commit 3b18da2bdef039ca6643dd219ba84d4189c32d90)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:33 +08:00