Commit Graph
30427 Commits
Author SHA1 Message Date
Island 2db315cb52 Merge branch 'bugfix/fix_ble_security_issue_2025_v3_v5.4' into 'release/v5.4'
fix(ble/bluedroid): Fix type mismatch and length validation in HCI packet parser (v5.4)

See merge request espressif/esp-idf!44666
2026-01-12 12:10:41 +08:00
Jiang Jiang Jian 6f8ea286d4 Merge branch 'bugfix/btwt_dwell_timeout_bp5.4' into 'release/v5.4'
fix(wifi): btwt dwell timeout; esp32c2 disallow 40bw(backport 5.4)

See merge request espressif/esp-idf!44773
2026-01-09 19:37:43 +08:00
Jiang Jiang Jian 9a7ac75c72 Merge branch 'change/remove_unused_marco_defines_for_rssi_limit_v5.4' into 'release/v5.4'
change(bt): Mark RSSI threshold-related macros as deprecated(backport v5.4)

See merge request espressif/esp-idf!44514
2026-01-09 19:26:51 +08:00
Jiang Jiang Jian 211b1a736b Merge branch 'bugfix/concurrency_issue_roam_app_v5.4' into 'release/v5.4'
Add blacklist logic and some fixes in roaming app (v5.4)

See merge request espressif/esp-idf!44114
2026-01-09 19:23:08 +08:00
zhanghaipeng 01fc843a33 feat(ble/bluedroid): add periodic advertising create sync retry mechanism 2026-01-09 14:11:17 +08:00
Zhang Hai Peng 1b19f6487f fix(bt/osi): add NULL check in osi_mutex_free and osi_sem_free (IDFGH-16853)
(cherry picked from commit 8630040602)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:09:16 +08:00
Zhang Hai Peng 565b6799b2 fix(bt/bluedroid): fix UAF in bta_gattc_enqueue for search service command
(cherry picked from commit 6196298750)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:09:16 +08:00
Zhang Hai Peng d1bf2668c1 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 7cd2f7b34d)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:09:16 +08:00
Zhang Hai Peng 28e016917c feat(ble/bluedroid): Increase maximum notify/indication registration count
(cherry picked from commit b6aed7e1c8)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:09:16 +08:00
Zhang Hai Peng d069b07c32 fix(ble/bluedroid): Fix multiple out-of-bounds read vulnerabilities in GATT PDU handlers
(cherry picked from commit 643d9c2387)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:09:16 +08:00
Zhang Hai Peng 041af013e5 fix(ble/bluedroid): Fix out-of-bounds read in l2cble_process_sig_cmd
(cherry picked from commit 93cfbb8522)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:09:16 +08:00
Zhang Hai Peng 1f8d6813fe fix(ble/bluedroid): Fix integer underflow in gatt_process_read_by_type_rsp
(cherry picked from commit 597fc6e5c1)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:09:16 +08:00
Zhang Hai Peng 5838a204a8 fix(bt): fix BLE security issue in controller and HCI packet parser
(cherry picked from commit a721e94a0f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:09:16 +08:00
morris 0770e7c90e Merge branch 'feat/isp_crop_driver_v5.4' into 'release/v5.4'
feat(isp): support Crop driver on p4 rev3 (v5.4)

See merge request espressif/esp-idf!43457
2026-01-09 10:42:01 +08:00
morris 50e3dc75d4 Merge branch 'bugfix/misconfiguration_sdkconfig_file_not_exist_v5.4' into 'release/v5.4'
add missing sdkconfig files in the driver test (v5.4)

See merge request espressif/esp-idf!44822
2026-01-09 10:41:09 +08:00
Rahul Tank 1c28a9b33e Merge branch 'bugfix/fix_sending_packet_v5.4' into 'release/v5.4'
fix(nimble): Add packet sending change in case of controller only configuration (v5.4)

See merge request espressif/esp-idf!44901
2026-01-08 21:54:14 +05:30
Kapil Gupta f58a379b2f fix(esp_wifi): Change some defaults in roaming app 2026-01-08 14:49:41 +05:30
Kapil Gupta 13515bc1e1 fix(esp_wifi): Check conditional compilation for roaming app features 2026-01-08 14:49:19 +05:30
Kapil Gupta 54f5970464 fix(esp_wifi): Cancel roaming_app_periodic_scan_internal_handler correctly 2026-01-08 14:49:04 +05:30
Kapil Gupta 025de31dc9 fix(esp_wifi): Add some fixes in roaming app 2026-01-08 14:49:04 +05:30
tarun.kumar 7e2f07c40b fix(wifi) : Resetting current bssid for every roaming connection intiated 2026-01-08 14:49:04 +05:30
Kapil Gupta 29811c1630 fix(esp_wifi): Address some review comments and issues 2026-01-08 14:49:04 +05:30
Kapil Gupta b1b6e0f1fa 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:49:04 +05:30
Kapil Gupta 19b510c261 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:49:04 +05:30
Kapil Gupta a105dc6064 fix(esp_wifi): Add blacklist logic in roaming app 2026-01-08 14:49:04 +05:30
morris 03f2b26253 Merge branch 'fix/fix_awb_subwindow_config_v5.4' into 'release/v5.4'
isp: fixed awb subwindow config always need to be set issue (v5.4)

See merge request espressif/esp-idf!44858
2026-01-08 16:02:20 +08:00
Island a5ba48962f Merge branch 'feat/reduce_bluedroid_host_bin_v5.4' into 'release/v5.4'
feat/reduce bluedroid host bin size (v5.4)

See merge request espressif/esp-idf!44867
2026-01-08 14:20:59 +08:00
Rahul Tank 6ac662d4ea fix(nimble): Add packet sending change in case of controller only configuration 2026-01-08 10:17:08 +05:30
Ashish Sharma 5029db20e5 fix(esp_http_client): fix incorrect digest calculation for SHA256 auth digest
According to RFC 7616, nonce-prime and cnonce-prime is used for SHA-256-sess only and not for SHA-256.
This commit updates the check and uses nonce only for "-sess" algorithms.

Regression from 66995965e7
2026-01-07 17:33:21 +08:00
Zhi Wei Jian 5026daf6c3 fix(ble/bluedroid): Fixed bluedroid host get white list size error
(cherry picked from commit f4dfd42725)

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


(cherry picked from commit 6f27074c1e)

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

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

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:14 +08:00
Zhi Wei Jian d80ad53deb fix(ble/bluedroid): Add BLE_TOPOLOGY_CHECK
(cherry picked from commit 728c4c8a10)

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

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

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

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

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

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

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

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

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:10 +08:00
Zhi Wei Jian d56d60633c fix(ble/bluedroid): Delete observe and inquiry
(cherry picked from commit 34448a7455)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:10 +08:00
Zhi Wei Jian a68fcdeb3c fix(ble/bluedroid): delete bluedroid unused code
(cherry picked from commit 5145b366f7)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:09 +08:00
Zhi Wei Jian 9bd290a3ad fix(ble/bluedroid): Delete batch_scan related code
(cherry picked from commit a784adef00)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:08 +08:00
Zhi Wei Jian 33ee741f10 fix(ble/bluedroid): Delete BLE_HOST_SETUP_STORAGE_EN
(cherry picked from commit 08740df988)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:08 +08:00
Zhi Wei Jian a4bf740553 fix(ble/bluedroid): Delete BLE_HOST_READ_TX_POWER_EN
(cherry picked from commit 1c0c48b814)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:07 +08:00
Zhi Wei Jian 4778599d90 fix(ble/bluedroid): Delete BLE_HOST_REMOVE_AN_ACL_EN
(cherry picked from commit 5a1a3b9eba)

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

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-01-07 17:24:07 +08:00
Zhi Wei Jian 9d75767203 fix(ble/bluedroid): Delete BLE_HOST_EXECUTE_CBACK_EN
(cherry picked from commit 436fe484fe)

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