Commit Graph

38532 Commits

Author SHA1 Message Date
Jiang Jiang Jian cec604236c Merge branch 'bugfix/ap_5g_phy_bw_v5.2' into 'release/v5.2'
fix(wifi): Update bss max idle timer and add other fixes

See merge request espressif/esp-idf!47279
2026-04-07 11:59:43 +08:00
Jiang Jiang Jian 103b011df8 Merge branch 'bugfix/wps_deauth_during_scan_v5.2' into 'release/v5.2'
fix(wifi): ignore disconnect events outside WPS handshake phase in wps (v5.2)

See merge request espressif/esp-idf!47252
2026-04-07 10:37:24 +08:00
Sajia c05d846887 fix(wifi): Update bss max idle timer and add other fixes 2026-04-03 20:20:38 +05:30
Island 8a289d2c78 Merge branch 'bugfix/fix_privacy_callback_trigger_multipe_times_v5.2' into 'release/v5.2'
Bugfix/fix privacy callback trigger multiple times (5.2)

See merge request espressif/esp-idf!47254
2026-04-03 20:35:52 +08:00
Jiang Jiang Jian 0f7d6c6a5b Merge branch 'backport/backport_some_bugfix_260331_v5.2' into 'release/v5.2'
feat(bss_max_idle): optimization of the max BSS idle mechanism(backport v5.2)

See merge request espressif/esp-idf!47161
2026-04-03 19:32:09 +08:00
Rahul Tank b1ddc500ce Merge branch 'bugfix/gatts_stop_null_conn_aware_states_v5.2' into 'release/v5.2'
fix(nimble): fix null dereference of ble_gatts_conn_aware_states after gatts stop (v5.2)

See merge request espressif/esp-idf!47138
2026-04-03 12:43:51 +05:30
yinqingzhao bcfe969272 feat(bss_max_idle): optimization of the max BSS idle mechanism 2026-04-03 14:27:04 +08:00
Zhi Wei Jian 1a532094a0 fix(ble/bluedroid): Fixed privacy callback triggering multiple times
(cherry picked from commit 5272b7e75b)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-03 14:02:33 +08:00
Kapil Gupta 2dc272e88f fix(wifi): ignore disconnect events outside WPS handshake phase in wps
wifi_station_wps_start() calls esp_wifi_disconnect() to leave a
previously connected AP before scanning for WPS registrars. When the
STA is already connected, the async disconnect event triggers
wps_sm_notify_deauth() which incorrectly treats it as a handshake failure,
disabling WPS entirely.

Guard wps_handle_failure() so it only fires when wps_get_status() is
WPS_STATUS_PENDING, i.e. the STA has found a WPS AP and is actively
in the M1-M8 exchange.
2026-04-03 11:29:25 +05:30
Jiang Jiang Jian 339056dff6 Merge branch 'fix/wifi_nan_wrong_service_id_log_v5.2' into 'release/v5.2'
fix(nan): zero-init pub_id and sub_id in NAN service functions (Backport v5.2)

See merge request espressif/esp-idf!47128
2026-04-03 13:50:43 +08:00
Astha Verma 9fe3137223 fix(nimble): fix null dereference of ble_gatts_conn_aware_states after gatts stop 2026-04-03 09:48:41 +05:30
Jiang Jiang Jian 2e4038b613 Merge branch 'bugfix/wifibug-1649_bp5.2' into 'release/v5.2'
fix(wifi): return specific error in API BPv5.2

See merge request espressif/esp-idf!47173
2026-04-03 11:14:48 +08:00
Jiang Jiang Jian 78bb6b0d06 Merge branch 'bugfix/fix_coex_sync_filter_and_delay_issue_v5.2' into 'release/v5.2'
fix(coex): fix coex sync filter and delay issue(Backport v5.2)

See merge request espressif/esp-idf!47245
2026-04-03 11:01:37 +08:00
Island 5958167641 Merge branch 'feat/support_run_time_alloc_for_esp_ip_test_v5.2' into 'release/v5.2'
Support Mempool Run Time Allocation for ESP IP Chips (v5.2)

See merge request espressif/esp-idf!46820
2026-04-03 10:13:15 +08:00
morris babe3e2d0c Merge branch 'fix/fix_parlio_tx_sample_edge_v5.2' into 'release/v5.2'
change(parlio_tx): use shift edge instead sample edge (v5.2)

See merge request espressif/esp-idf!46941
2026-04-02 23:34:42 +08:00
muhaidong b43e3e9ea6 fix(coex): fix coex sync filter and delay issue 2026-04-02 20:39:27 +08:00
Chen Jichang 107548e016 change(parlio_tx): use shift edge instead sample edge
Made-with: Cursor
2026-04-02 18:41:32 +08:00
cjin 3f32fefaec feat(ble): supported ble mempool run time allocation for esp ip chips 2026-04-02 16:40:03 +08:00
Jin Chen 953692616a feat(ble): make env init function cuttable on ESP32-C2
(cherry picked from commit 5ec82368ba)

Co-authored-by: cjin <jinchen@espressif.com>
2026-04-02 16:36:22 +08:00
Jin Chen 2502afa094 change(ble): [AUTO_MR] Update lib_esp32h2 to 913c704d
(cherry picked from commit a8d705ff7a)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-02 16:36:22 +08:00
Jin Chen 8e067d416f change(ble): [AUTO_MR] Update lib_esp32c2 to b8594335
(cherry picked from commit a2ef5c0ff9)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-02 16:36:22 +08:00
Jin Chen ef9c3a7972 change(ble): [AUTO_MR] Update lib_esp32c6 to 913c704d
(cherry picked from commit 06010a8b79)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-02 16:36:22 +08:00
Wang Meng Yang 55e88b4e27 Merge branch 'bugfix/improve_spp_hid_v5.2' into 'release/v5.2'
fix(bt/bluedroid): fixed multiple high-severity issues from AI code review in SPP & HID (v5.2)

See merge request espressif/esp-idf!47148
2026-04-02 14:24:23 +08:00
Rahul Tank eec94d330f Merge branch 'feat/add_eatt_documentation_v5.2' into 'release/v5.2'
feat(nimble): Add EATT documentation (v5.2)

See merge request espressif/esp-idf!47024
2026-04-02 11:48:15 +05:30
Sumeet Singh 4c30f20afb feat(nimble): Update blecent example README.md with EATT documentation 2026-04-02 06:57:07 +05:30
Rahul Tank e8e60bb6cf Merge branch 'bugfix/nimble_example_fixes_v5.2' into 'release/v5.2'
fix(nimble): Address nimble example issues (v5.2)

See merge request espressif/esp-idf!47075
2026-04-01 15:42:52 +05:30
morris 12d942c658 Merge branch 'fix/i2c_nack_c5_v5.2' into 'release/v5.2'
fix(i2c_master): Fix potential concurrency issue with task and interrupt when nack happens (v5.2)

See merge request espressif/esp-idf!47155
2026-04-01 17:22:50 +08:00
C.S.M c6795167c6 fix(i2c_master): Fix concurrency issue with task and interrupt when nack 2026-04-01 14:58:53 +08:00
morris b29fd46bb1 Merge branch 'ci/i2c_testcase_bypass_v5.2' into 'release/v5.2'
ci(i2c): bypass the know failure case for deprecated driver (v5.2)

See merge request espressif/esp-idf!47179
2026-04-01 14:41:41 +08:00
Island 1e07f40a93 Merge branch 'bugfix/fix_some_bluedroid_bugs_260121_v5.2' into 'release/v5.2'
Bugfix/fix some bluedroid bugs 260121 (5.2)

See merge request espressif/esp-idf!46980
2026-04-01 11:45:16 +08:00
Chen Chen f7a44d1b09 ci(i2c): bypass the know failure case for deprecated driver 2026-04-01 08:40:00 +08:00
Astha Verma 65474b7fba fix(nimble): fix missing gatt caching header in examples 2026-03-31 17:31:13 +05:30
Junchi Chen dc6b20df37 fix(wifi): return specific error in API BPv5.2 2026-03-31 16:41:46 +08:00
zhiweijian bd3e284921 fix(ble/bluedroid): Fixed bluedrodi CI build error 2026-03-31 14:05:07 +08:00
zhiweijian e022bea682 fix(bt/bluedroid): Fixed AddCharacteristic failed when attr_len is zero for AUTO_RSP 2026-03-31 12:03:33 +08:00
Jiang Jiang Jian 21cd10e001 Merge branch 'bugfix/bt_idf_ci_v5.2' into 'release/v5.2'
fix(bt/example): Fixed the HFP printing issue in the CI test (v5.2)

See merge request espressif/esp-idf!47082
2026-03-30 19:43:52 +08:00
Jin Cheng 1de651d067 fix(bt/bluedroid): fixed multiple high-severity issues from AI code review in SPP 2026-03-30 19:28:45 +08:00
Jin Cheng 419f6aa7f5 fix(bt/bluedroid): fixed multiple high-severity issues from AI code review in HID 2026-03-30 19:27:27 +08:00
Sumeet Singh 20f52d60ab fix(nimble): Fix enc adv NVS struct and add ext adv support 2026-03-30 16:18:18 +05:30
Shreeyash Bhakare d72a8b091c fix(nimble): fix CODED PHY ext adv Packet Too Long by using min interval (20 ms) 2026-03-30 16:18:18 +05:30
Rahul Tank 93b0ad0c90 fix(nimble): Correct adv_list_init / deinit during nimble init / deinit 2026-03-30 16:18:18 +05:30
Island 495871916e Merge branch 'feat/allow_creat_vendor_descriptor_by_service_table_v5.2' into 'release/v5.2'
feat(ble/bluedroid): Allow add vendor descriptor by service table create API (5.2)

See merge request espressif/esp-idf!47039
2026-03-30 17:01:39 +08:00
Island 6049d79e41 Merge branch 'feat/support_adv_monitor_for_bluedroid_host_v5.2' into 'release/v5.2'
feat(ble/bluedroid): support adv monitor feature (5.2)

See merge request espressif/esp-idf!47034
2026-03-30 17:01:17 +08:00
zhiweijian 945d041610 fix(ble/bluedroid): Fixed build error due to rebase conflict 2026-03-30 16:45:03 +08:00
zhiweijian 00b3483208 disable some parameters check in CTE APIs 2026-03-30 16:45:03 +08:00
luoxu aae75d6d58 fix(ble/bluedroid): Change BLE mesh adapter to use BTA APIs 2026-03-30 16:45:03 +08:00
zhiweijian 1321f3355d fix(ble/bluedroid): optimize bluedroid host and fix GAP, memory, status and BTM API issues
- return HCI_ERR_MEMORY_FULL on cmd buffer alloc failure
- remove legacy adv/scan semaphores and mutex
- Use the same legacy gap callback instead of each independent legacy gap event callback
2026-03-30 16:45:03 +08:00
Zhi Wei Jian aa89634475 fix(ble/bluedroid): Null/range checks, crypto cleanup and API consistency
- smp_api.h/smp_int.h: SMP_OPCODE_ARRAY_SIZE and SecureConnectionOobDataReply
  declaration alignment
- p_256_ecc_pp/p_256_multprecision: bounds and overflow fixes in ECC/multiprecision
- smp_act: init le_key; p_dev_rec null check in smp_key_distribution;
  smp_compute_dhkey failure notify in smp_both_have_public_keys
- smp_api: early state/cb_evt check in SMP_SecureConnectionOobDataReply
- smp_cmac: input/length validation in cmac_aes_k_calculate and
  aes_cipher_msg_auth_code
- smp_keys: smp_gen_p2_4_confirm return and smp_calculate_comfirm_cont;
  smp_process_private_key/smp_compute_dhkey cleanup and peer_pub_be clear
- smp_l2c: fix callback param types with L2CAP
- smp_main: event/state bounds in smp_sm_event; smp_get_event_name default string
- smp_utils: cmd_code<SMP_OPCODE_ARRAY_SIZE and smp_cmd_build_act check;
  smp_mask_enc_key/smp_command_has_invalid_parameters bounds

(cherry picked from commit 50747e4f63)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-30 16:45:03 +08:00
Zhi Wei Jian ff49f989a7 fix(ble/bluedroid): Align config, controller indent and init error paths
- bt_target: remove/align obsolete macros with Kconfig
- device/controller: fix start_up() Secure Connections indent,
  get_ble_resolving_list_max_size return type
- controller.h: align type/interface declarations with implementation
- bte_init: remove unused/redundant code
- bte_main: return -1 on osi_init failure, null check in bte_main_hci_send

(cherry picked from commit b83647f5ea)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-30 16:45:03 +08:00
Zhi Wei Jian c89b01c3e5 fix(ble/bluedroid): BLE credit, reject when p_rcb NULL, timeout and leak fixes
- l2c_int: align struct/constant types with l2c_ble/l2c_main
- l2c_api: null/state checks in L2CA_SendFixedChnlData
- l2c_ble: reject when p_rcb==NULL, add L2CAP_CMD_BLE_FLOW_CTRL_CREDIT;
  l2cble_init_direct_conn int64_t timeout and link_timeout==0 fix
- l2c_link: null/state checks and cleanup in hci_disc_comp/timeout/send_to_lower
- l2c_main: free p_msg on FCR non-Basic and COC branches; fix LE credit handling;
  process_l2cap_cmd bounds
- l2c_utils: credit/queue cleanup and null checks in l2cu_disconnect_chnl


(cherry picked from commit 16d523e9bf)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-30 16:45:03 +08:00