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
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
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
Zhi Wei Jian
edabdeecfc
fix(ble/bluedroid): Delete observe and inquiry
...
(cherry picked from commit 34448a74552ad5aca8e6008dad24bf9aa2b7f5e4)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:29 +08:00
Zhi Wei Jian
dd898594b1
fix(ble/bluedroid): delete bluedroid unused code
...
(cherry picked from commit 5145b366f7274856fdfd78f16bfde7cf6a774b67)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:29 +08:00
Zhi Wei Jian
57f330727a
fix(ble/bluedroid): Delete batch_scan related code
...
(cherry picked from commit a784adef004af9e325c7edd18132e8950bd6f09d)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:29 +08:00
Zhi Wei Jian
4965bc14ee
fix(ble/bluedroid): Delete BLE_HOST_SETUP_STORAGE_EN
...
(cherry picked from commit 08740df98867cac0af5e00a7ea3eef8f7f1bbe34)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:28 +08:00
Zhi Wei Jian
70b0e41a06
fix(ble/bluedroid): Delete BLE_HOST_READ_TX_POWER_EN
...
(cherry picked from commit 1c0c48b81483b3f2cb341626d3a759dccc72635d)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:28 +08:00
Zhi Wei Jian
fae64d3fd8
fix(ble/bluedroid): Delete BLE_HOST_REMOVE_AN_ACL_EN
...
(cherry picked from commit 5a1a3b9ebaa5282df5987c1d5a0b2b7a90a86226)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:27 +08:00
Zhi Wei Jian
819590604c
fix(ble/bluedroid): Delete BLE_HOST_REMOVE_ALL_ACL_EN
...
(cherry picked from commit ad04f39cf9789ef4bd33b390d6c783fca33f488c)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:27 +08:00
Zhi Wei Jian
41ab91471a
fix(ble/bluedroid): Delete BLE_HOST_EXECUTE_CBACK_EN
...
(cherry picked from commit 436fe484fe3698ad54c3313953d913d951caf864)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:26 +08:00
Zhi Wei Jian
7a8c53b78c
fix(ble/bluedroid): Delete BLE_HOST_ENABLE_TEST_MODE_EN
...
(cherry picked from commit f08ff1448b4eb50a0d1f85f08c5b7b47f535000a)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:26 +08:00
Zhi Wei Jian
2617f9be12
fix(ble/bluedroid): delete BLE_HOST_ENERGY_INFO_EN
...
(cherry picked from commit b4c4b3e410eea674e558ca86e220175c1b7f9e3a)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:26 +08:00
Zhi Wei Jian
9574a4bb3b
fix(ble/bluedroid): Delete BLE_VND_INCLUDED
...
(cherry picked from commit 57c52bd4ec211a4e3238fe83e16bc19d021a07cf)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:25 +08:00
Zhi Wei Jian
94055319c8
fix(ble/bluedroid): Delete BLE_ANDROID_CONTROLLER_SCAN_FILTER
...
(cherry picked from commit 702292d451dfe403625f1aeee9198a59bcb55181)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:25 +08:00
Zhi Wei Jian
88a2282f3a
fix(ble/bluedroid): delete BLE_HOST_BLE_OBSERVE_EN
...
(cherry picked from commit 08f9511e25a60c61c77cba92fc0c5454cfc037dd)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:24 +08:00
Zhi Wei Jian
d0117acc34
fix(ble/bluedroid): Delete BLE_HOST_STOP_ADV_UNUSED
...
(cherry picked from commit 0e9b36cb559a8f20a3b98a8d75ebca2e84498b97)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:24 +08:00
Zhi Wei Jian
4222c6d309
fix(ble/bluedroid): Delete BLE_HOST_BLE_SCAN_PARAM_UNUSED
...
(cherry picked from commit 5fdcc3bdea170a47eac4364502edb514f28760ce)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:24 +08:00
Zhi Wei Jian
d80a17fa15
fix(ble/bluedroid): Delete BLE_HOST_CONN_SCAN_PARAM_EN
...
(cherry picked from commit b175f3cc97700f06c04bb9d3748d9c17200ff642)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:23 +08:00
Zhi Wei Jian
da9f2b38ea
fix(ble/bluedroid): Delete BLE_HOST_BATCH_SCAN_EN
...
(cherry picked from commit 25b0e1e68464901fc14779a8f87c509da5234c32)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:23 +08:00
Zhi Wei Jian
b024b659ba
fix(ble/bluedroid): delete BLE_HOST_READ_SCAN_REPORTS_EN
...
(cherry picked from commit c3a185ae80fc71f9550c247df40421eb3ff18ae6)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:22 +08:00
Zhi Wei Jian
0dcb512b3b
fix(ble/bluedroid): Delete BLE_HOST_TRACK_ADVERTISER_EN
...
(cherry picked from commit 66315bc6b6436d0ed89dddd60c2039b998c2a55d)
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-01-07 17:24:21 +08:00