Commit Graph

28436 Commits

Author SHA1 Message Date
zhiweijian
c755433922 feat(bt/common): Add bluerooth hci layer data stream record 2024-04-13 15:44:27 +08:00
zhiweijian
57665f7246 feat(bt/bluedroid): add api to setnd vendor hci command 2024-04-13 14:13:43 +08:00
zhiweijian
304be189d8 fix(ble/bluedroid): fixed bluedroid host DTM API 2024-04-13 14:13:26 +08:00
zhiweijian
1e72b8b803 feat(ble/bluedroid): Add APIs for BLE direct test mode on bluedroid host 2024-04-13 14:13:04 +08:00
Rahul Tank
94b7b50906 Merge branch 'bugfix/fix_cccd_compilation_warning_v5.0' into 'release/v5.0'
fix(nimble): Fix compilation issues when CCCD is set to 0 (v5.0)

See merge request espressif/esp-idf!30213
2024-04-12 20:15:50 +08:00
Rahul Tank
debefe9c70 fix(nimble): Fix compilation issues when CCCD is set to 0 2024-04-12 12:36:14 +05:30
Rahul Tank
a1097119d3 Merge branch 'bugfix/fix_cve_2024_24746_v5.0' into 'release/v5.0'
fix(nimble): Fix for Vulnerability CVE_2024_24746 (v5.0)

See merge request espressif/esp-idf!30201
2024-04-12 13:27:41 +08:00
Mahavir Jain
ff3ec291bb fix(examples): update root certificate for howsmyssl endpoint
This fixes CI failure seen because of cert migration of howsmyssl
endpoint from previous "DST Root CA X3" (cross-signed) to "ISRG Root X1".
2024-04-12 11:12:27 +08:00
xiongweichao
eab0acdb3c fix(bt/bluedorid): Fixed crash caused by using illegal pointer 2024-04-12 09:13:43 +08:00
xiongweichao
da2a32fbad fix(bt/bluedorid): Fixed no event when removing an invalid SDP record 2024-04-12 09:13:43 +08:00
Rahul Tank
6a10821296 fix(nimble): Fix for Vulnerability CVE_2024_24746 2024-04-11 20:02:49 +05:30
Rahul Tank
79b48fe84c Merge branch 'feat/add_data_len_chg_evt_v5.0' into 'release/v5.0'
fix(nimble): Add support for data length change evt (v5.0)

See merge request espressif/esp-idf!30184
2024-04-11 21:21:25 +08:00
linruihao
96d40b1c82 fix(esp_phy): update phylib for C3, S3 and C2
- fixed BLE coded phy s8 tx issue in coexistence scenarios
- fixed ESP32-C3 and ESP32-S3 BLE RX issue
- optimized ESP32-C3 and ESP32-S3 light sleep current
2024-04-11 17:42:39 +08:00
Rahul Tank
c34f7a95be fix(nimble): Add support for data length change evt 2024-04-11 12:34:05 +05:30
Rahul Tank
5b861dff3d Merge branch 'bugfix/fix_dtm_num_pkt_size_v5.0' into 'release/v5.0'
fix(nimble): Fix the size of num_packets in dtm event (v5.0)

See merge request espressif/esp-idf!30146
2024-04-11 13:38:14 +08:00
morris
e03ab4e178 Merge branch 'bugfix/fix_rtc_cntl_v5.0' into 'release/v5.0'
[S3]fix(rtc_cntl_reg.h): fix RTC_CNTL_SLAVE_PD_M

See merge request espressif/esp-idf!30169
2024-04-11 11:40:02 +08:00
xiongweichao
350a248a7f fix(bt/bluedroid): Fix SPP crash after deinit
- The disconnection event comes up after spp disable is completed, so a null pointer is used.
2024-04-10 20:11:27 +08:00
zlq
d9bf45a998 [S3]fix(rtc_cntl_reg.h): fix RTC_CNTL_SLAVE_PD_M 2024-04-10 19:47:29 +08:00
morris
370a2e8883 Merge branch 'bugfix/gptimer_alarm_config_in_sram_v5.0' into 'release/v5.0'
feat(gptimer): check the alarm config is not in flash (v5.0)

See merge request espressif/esp-idf!30136
2024-04-10 14:17:45 +08:00
Rahul Tank
5b5777f40c fix(nimble): Fix the size of num_packets in dtm event 2024-04-09 19:02:48 +05:30
morris
6ea1f92a20 feat(gptimer): check the alarm config is not in flash
related to https://github.com/espressif/esp-idf/issues/13543
2024-04-09 17:33:35 +08:00
Island
bc4c4fe06a Merge branch 'bugfix/ble_mesh_heartbeat_filter_add_v5.0' into 'release/v5.0'
Fix(ble_mesh):fix error condition for heartbeat filter adding node address (v5.0)

See merge request espressif/esp-idf!29988
2024-04-09 16:11:50 +08:00
morris
5faf0a6c71 Merge branch 'bugfix/unsupport_partial_receive_on_esp32_v5.0' into 'release/v5.0'
fix(rmt): Fix the RMT RX filter not working correctly on esp32/s2 (v5.0)

See merge request espressif/esp-idf!30079
2024-04-09 14:29:18 +08:00
Marius Vikhammer
19304c5769 Merge branch 'fix/heap-calloc-fail-wrong-size_v5.0' into 'release/v5.0'
fix(heap): Wrong size propagated in alloc fail callback of heap_caps_calloc() (backport v5.0)

See merge request espressif/esp-idf!30092
2024-04-09 12:05:15 +08:00
Rahul Tank
0ef284ebb3 Merge branch 'bugfix/set_correct_addr_type_v5.0' into 'release/v5.0'
fix(nimble): Set correct peer_addr during reattempt connection (v5.0)

See merge request espressif/esp-idf!30057
2024-04-08 21:15:38 +08:00
Guillaume Souchere
cdf5414302 fix(heap): Wrong size propagated in alloc fail callback
Propagate `n * size` as the size of the failed allocation
instead of just `size` when heap_caps_calloc() fails since
`n * size` is the actual number of bytes that the heap
component tried to allocate.
2024-04-08 08:45:18 +02:00
luoxu
7927e444b2 fix(ble_mesh): fix error condition for heartbeat filter adding node address 2024-04-08 14:28:21 +08:00
morris
b27d69dcad fix(rmt): fix the counting clock used by rx filter on esp32/s2
is always APB, independent to the channel clock selection

Closes https://github.com/espressif/esp-idf/issues/13510
2024-04-08 11:51:02 +08:00
Jiang Jiang Jian
ff4dba8e8c Merge branch 'feat/set_cpu_freq_after_pm_config_changed_v5.0' into 'release/v5.0'
fix(esp_pm): update CPU frequency immediately after updating pm_config (v5.0)

See merge request espressif/esp-idf!30070
2024-04-08 10:29:53 +08:00
Alexey Gerenkov
57bd998cda feat(tools): update openocd version to v0.12.0-esp32-20240318 2024-04-08 03:34:24 +08:00
Jiang Jiang Jian
9feaecf3f3 Merge branch 'bugfix/variable_length_rsnxe_v50' into 'release/v5.0'
Expands maximum size of RSNXE IE to 255(v5.0)

See merge request espressif/esp-idf!30054
2024-04-07 15:50:03 +08:00
wuzhenghui
c6186be010
fix(esp_pm): update CPU frequency immediately after updating pm_config
Closes https://github.com/espressif/esp-idf/issues/13492
2024-04-07 14:50:25 +08:00
Jiang Jiang Jian
397c1d9903 Merge branch 'bugfix/wps_crash_issue_v5.0' into 'release/v5.0'
fix(wpa_supplicant): Avoid dereferencing a dangling function pointer in WPS (Backport v5.0)

See merge request espressif/esp-idf!29736
2024-04-07 10:11:34 +08:00
Rahul Tank
ff8f433583 fix(nimble): Remove extra code in reattempt connection 2024-04-05 22:03:14 +05:30
jgujarathi
598e99fd4d fix(rsnxe): Expands maximum size of RSNXE IE to 255
- Allows for RSNXE IE to be processed as a variable length upto
255 bytes, changing the earlier max of 20.
2024-04-05 11:36:34 +05:30
Jiang Jiang Jian
947479155d Merge branch 'feature/refactor_ftm_code_v5.0' into 'release/v5.0'
Refactor and improve FTM code (Backport v5.0)

See merge request espressif/esp-idf!29856
2024-04-03 20:50:18 +08:00
Jiang Jiang Jian
55fc8e6ae4 Merge branch 'bugfix/aud-5252_v5.0' into 'release/v5.0'
backport v5.0: fix the issue of modem hang caused by incorrect configuration of power and isolate signals

See merge request espressif/esp-idf!30009
2024-04-03 18:56:45 +08:00
Jiang Jiang Jian
2fcd97dd25 Merge branch 'bugfix/dpp_auth_deinit_crash_v50' into 'release/v5.0'
Ensure dpp auth structure is deinited in dpp task context(v5.0)

See merge request espressif/esp-idf!29837
2024-04-03 17:29:40 +08:00
Marius Vikhammer
c73e7c6c7d Merge branch 'bugfix/log_wrap_around_cache_generation_counter_v5.0' into 'release/v5.0'
fix(log): Fix wrap-around of cache generation counter (v5.0)

See merge request espressif/esp-idf!29940
2024-04-03 16:31:48 +08:00
Rahul Tank
d859008ae5 Merge branch 'feat/add_vs_hci_cmd_evt_v5.0' into 'release/v5.0'
feat(nimble): Add APIs to handle vs HCI commands and events (v5.0)

See merge request espressif/esp-idf!29997
2024-04-03 14:41:32 +08:00
Nachiket Kukade
252c6d5ca7 feat(esp_wifi): Refactor and improve FTM code
Update wifi libs with below -

1. Break FTM State Machine code into separate functions
2. Use dynamic allocation for FTM session to save memory
3. Add API to get FTM report instead of event based mechanism
4. Add FTM Request retry and comeback support
2024-04-03 11:25:49 +05:30
Island
2796f0162f Merge branch 'bugfix/ble_bugfix_for_esp32c2' into 'release/v5.0'
ble: update esp32c2 lib to 7a428d35

See merge request espressif/esp-idf!29991
2024-04-03 12:39:55 +08:00
Sarvesh Bodakhe
3847822531 fix(wpa_supplicant): Improve execution flow for WPS registrar public APIs
Make sure that WPS registrar public APIs do not modify supplicant
data in application task context. Execute API functionlity in eloop
context to prevent protential race conditions.
2024-04-03 11:33:54 +08:00
Sarvesh Bodakhe
c24b840ce7 fix(wifi): Avoid dereferencing a dangling function pointer in WPS supplicant
Avoid dereferencing a dangling function pointer in 'eap_server_sm_deinit()'.
This issue arises when hostap unregisteres EAP methods before it removes
the server state machine for station.
2024-04-03 11:33:54 +08:00
Li Shuai
3b4d27669d fix(esp_hw_support): fixed modem hang caused by incorrect configuration of power and isolate signals 2024-04-03 10:53:13 +08:00
Jiang Jiang Jian
3cf0a49d52 Merge branch 'fix/rd_stored_link_key_error_v5.0' into 'release/v5.0'
fix(bt): fix some issues in bt controller(backport v5.0)

See merge request espressif/esp-idf!29976
2024-04-03 10:22:57 +08:00
jgujarathi
969605c7c2 fix(wpa_supplicant): Cancel offchannel listen operations before sending dpp fail
- Ensure that offchannel listening operations are cancelled before sending dpp
  fail events
2024-04-03 10:20:54 +08:00
jgujarathi
0f1c0d27c8 fix(wpa_supplicant): Ensure dpp auth structure is deinited in dpp task context
- Ensure that the dpp auth data gets deinited only in DPP task context to ensure
  that there are no concurrency issues in usage of DPP auth data.
2024-04-03 10:20:54 +08:00
Rahul Tank
94bc0df521 feat(nimble): Add APIs to handle vs HCI commands and events 2024-04-02 15:22:57 +05:30
Rahul Tank
6da2547588 Merge branch 'bugfix/revamp_reconn_scheme_v5.0' into 'release/v5.0'
fix(nimble): Cleanup code in connection reconnection implementation (v5.0)

See merge request espressif/esp-idf!29966
2024-04-02 15:07:47 +08:00