Commit Graph

46608 Commits

Author SHA1 Message Date
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
Jiang Jiang Jian 86a809e6f7 Merge branch 'docs/pm-548_v5.5' into 'release/v5.5'
backport v5.5: support esp32c5 system and wifi low power programming guide docs

See merge request espressif/esp-idf!44956
2026-01-09 19:31:31 +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
Li Shuai cf8ab3c7a4 docs(Power Management): support esp32c5 system and wifi low power programming guide docs 2026-01-09 12:03:22 +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
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
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 1cea05a416 fix(esp_wifi): Use correct variable for neighbour report 2026-01-08 14:40:36 +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
Zhang Hai Peng 086ebb7ccb feat(examples/bluedroid): add BLE ACL latency measurement example
(cherry picked from commit 934970a06fc12973e2a1ec6381c9f78e5da6dbbb)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
zhanghaipeng 9ef7842daa feat(ble/bluedroid): add periodic advertising create sync retry mechanism 2026-01-07 19:28:30 +08:00
Zhang Hai Peng 1af43047f6 docs(ble): add flow diagrams to bluedroid BLE examples
(cherry picked from commit 051077835cea876f316d73f869e8c49a47e64b64)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng a40ac062f4 refactor(examples/bluedroid): Replace hardcoded ADV type values with macros
(cherry picked from commit fdeb5ad87abb328a8d0a69787e324e69972bca2a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
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
Zhang Hai Peng 9ad2dd11ad fix(ble/hci): Fix OOB read in ble_adv_scan_combined example
(cherry picked from commit c76283260003781735618a827418dfed9f481cba)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng a012fee0be fix(ble/bluedroid): Added security check in example Bluedroid_GATT_Server
(cherry picked from commit a36bf7fe14305b643baa4c97306274b592d2329d)

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
Zhi Wei Jian 016cd78b30 fix(ble/bluedroid): Add BLE_TOPOLOGY_CHECK
(cherry picked from commit 728c4c8a1005161fec705dead1e6b493c912385d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:33 +08:00
Zhi Wei Jian e10bb32d8b fix(ble/bluedroid): Fixed build error if scan is disabled
(cherry picked from commit dd10e3220bfc919773c7e5b86a2ebb26e403c396)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:32 +08:00
Zhi Wei Jian bd1c995c65 fix(ble/bluedroid): disable bluedroid background connection
(cherry picked from commit 1f5fa1e72b290b3471f90dfe695dca23f8825181)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:32 +08:00
Zhi Wei Jian 27f9a8a3c9 fix(ble/bluedroid): change tGATT_BG_CONN_DEV to GATT_BG_CONN_DEV
(cherry picked from commit ac7812ef8d89feaba28014587c0fb1eac3ed991a)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:31 +08:00
Zhi Wei Jian a0b1b26efd fix(ble/bluedroid): disable exception list if scan is not enabled
(cherry picked from commit ec6809611a21274b29e44678ae694bf0b21cce02)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:31 +08:00
Zhi Wei Jian fb6c56d180 fix(ble/bluedroid): disable vendor hci function
(cherry picked from commit 715184fa364fede121838e55722ca8cd536b7a22)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:31 +08:00
Zhi Wei Jian fcb4030e57 fix(ble/bluedroid): Delete btm_ble_send_extended_scan_params
(cherry picked from commit 1174ad41a5e53e38e6ae6a14fe9f6514c8bf6640)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:30 +08:00
Zhi Wei Jian 8bf14a7c86 fix(ble/bluedroid): change bluedroid scan callback name
(cherry picked from commit b9440efbe9f395d78557de4925922baea0e694c0)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:30 +08:00
Zhi Wei Jian 1f297b4a3a fix(bluedroid): delete bluedroid gatt_listen
(cherry picked from commit db17c7cea3aafdbd93f2c27060e605194d2624b7)

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