Commit Graph

16162 Commits

Author SHA1 Message Date
zhiweijian
db9ba9378f feat(bt/bluedroid): add api to setnd vendor hci command 2024-04-13 15:06:25 +08:00
zhiweijian
60d757c5a4 fix(ble/bluedroid): fixed bluedroid host DTM API 2024-04-13 15:06:11 +08:00
zhiweijian
f837394d59 feat(ble/bluedroid): Add APIs for BLE direct test mode on bluedroid host 2024-04-13 15:05:56 +08:00
Rahul Tank
fcc210d34e fix(nimble): Fix compilation issues when CCCD is set to 0 2024-04-12 12:38:51 +05:30
Rahul Tank
31fd152cc6 fix(nimble): Fix for Vulnerability CVE_2024_24746 2024-04-11 20:03:56 +05:30
zlq
8855a3d6c4 [S3]fix(rtc_cntl_reg.h): fix RTC_CNTL_SLAVE_PD_M 2024-04-10 19:39:59 +08:00
Island
ae5d8a6fae Merge branch 'bugfix/ble_mesh_heartbeat_filter_add_v4.4' into 'release/v4.4'
Fix(ble_mesh):fix error condition for heartbeat filter adding node address (v4.4)

See merge request espressif/esp-idf!29989
2024-04-09 16:12:10 +08:00
Marius Vikhammer
be6cf38b31 Merge branch 'fix/heap-calloc-fail-wrong-size_v4.4' into 'release/v4.4'
fix(heap): Wrong size propagated in alloc fail callback of heap_caps_calloc() (backport v4.4)

See merge request espressif/esp-idf!30093
2024-04-09 12:05:37 +08:00
Rahul Tank
fadb4082b0 Merge branch 'bugfix/set_correct_addr_type_v4.4' into 'release/v4.4'
fix(nimble): Set correct peer_addr during reattempt connection (v4.4)

See merge request espressif/esp-idf!30058
2024-04-08 20:58:25 +08:00
Guillaume Souchere
98bd872f3c 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:47:54 +02:00
luoxu
523cd6291b fix(ble_mesh): fix error condition for heartbeat filter adding node address 2024-04-08 14:28:39 +08:00
Jiang Jiang Jian
e83ed8b345 Merge branch 'bugfix/spp_crash_after_deint_v4.4' into 'release/v4.4'
fix(bt/bluedroid): Fixed SPP crash due to the connection not being disconnected before esp_spp_deinit was called(v4.4)

See merge request espressif/esp-idf!30084
2024-04-08 12:03:44 +08:00
Jiang Jiang Jian
fc56e0e008 Merge branch 'fix/log_buffer_4.4' into 'release/v4.4'
fix(log): Fixed incorrect argument type in hexdump log functions (v4.4)

See merge request espressif/esp-idf!29784
2024-04-08 10:31:35 +08:00
Jiang Jiang Jian
1e9c933b20 Merge branch 'fix/gcov_fault_v4.4' into 'release/v4.4'
fix(gcov): fix exceptions on gcov task_tick_hook (v4.4)

See merge request espressif/esp-idf!30028
2024-04-08 10:30:41 +08:00
xiongweichao
0c4fbbff02 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-07 20:03:33 +08:00
Rahul Tank
4c00c5c29c fix(nimble): Remove extra code in reattempt connection 2024-04-06 20:32:33 +05:30
jgujarathi
eeedc3e00e 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 10:41:44 +05:30
Rahul Tank
ff9db0dc80 Merge branch 'feat/add_vendor_hci_cmd' into 'release/v4.4'
Nimble: Add APIs to handle vs HCI commands and events (v4.4)

See merge request espressif/esp-idf!29995
2024-04-03 21:52:06 +08:00
Alexey Lapshin
85f0a4c1a7 fix(gcov): fix exceptions on gcov task_tick_hook
Closes https://github.com/espressif/esp-idf/issues/13511
2024-04-03 15:30:25 +04:00
Jiang Jiang Jian
e1affdc8f7 Merge branch 'bugfix/dpp_auth_deinit_crash_v44' into 'release/v4.4'
Ensure dpp auth structure is deinited in dpp task context(v4.4)

See merge request espressif/esp-idf!29836
2024-04-03 17:29:00 +08:00
Rahul Tank
d9a1302095 Nimble: Add APIs to handle vs HCI commands and events 2024-04-03 10:46:13 +05:30
Jiang Jiang Jian
9dce0a4ac7 Merge branch 'bugfix/fix_some_wifi_coexist_issue_v4.4' into 'release/v4.4'
bugfix/fix some wifi coexist issue v4.4

See merge request espressif/esp-idf!29990
2024-04-03 11:29:08 +08:00
jgujarathi
15ba8fb5ab 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 11:10:34 +08:00
jgujarathi
69321d1dda 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 11:10:34 +08:00
Jiang Jiang Jian
efcbfbefc2 Merge branch 'fix/rd_stored_link_key_error_v4.4' into 'release/v4.4'
fix(bt): fix some issues in bt controller(backport v4.4)

See merge request espressif/esp-idf!29974
2024-04-03 11:09:54 +08:00
Rahul Tank
b65ac342c0 Merge branch 'bugfix/revamp_reconn_scheme_v4.4' into 'release/v4.4'
fix(nimble): Cleanup code in connection reconnection implementation (v4.4)

See merge request espressif/esp-idf!29967
2024-04-02 15:30:09 +08:00
liuning
d0d1676fcc feat(coex): support to scan long time on channel, fix coexist sync issue 2024-04-02 12:01:58 +08:00
liuning
ac0e88403c feat(coex): improve Wi-Fi connecting compatibility at coexistence 2024-04-02 11:55:29 +08:00
gongyantao
b0a6609e7a fix(bt): fix some issues in bt controller
1: fixed the incorrect timeing in reporting HCI_Link_Key_Type_Changed.
2: fixed the incorrect iv value during resuming encryption.
3: fixed the incorrect return with hci command rd_stored_link_key.
2024-04-02 09:42:49 +08:00
Rahul Tank
5ff6298956 fix(nimble): Change reconnection scheme 2024-04-01 18:23:16 +05:30
Harshit Malpani
1451ec389b
Revert "fix(esp_http_client): Call event_handler after header value is received"
This reverts commit 04ac8e43db.

Fixes https://github.com/espressif/esp-idf/issues/13497
Fixes https://github.com/espressif/esp-idf/issues/13097
2024-04-01 13:21:45 +05:30
Jin Cheng
9ce03290cc change(bt/bluedroid): Use BTC util to convert HCI status to ESP status 2024-03-28 11:06:22 +08:00
Island
1e1030e5ef Merge branch 'bugfix/BT-3491_v4.4' into 'release/v4.4'
bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have...(v4.4)

See merge request espressif/esp-idf!28052
2024-03-25 12:11:15 +08:00
Jakob Hasse
5dbe8d3539 fix(log): Fixed incorrect argument type in hexdump log functions
Closes https://github.com/espressif/esp-idf/issues/13347
Thanks @matthew-8925
2024-03-21 16:18:37 +08:00
Darshan Dobariya
eabb77e9bc fix(nimble): Added support for deleting the oldest bonded device across reboot (v4.4) 2024-03-21 10:52:13 +05:30
Rahul Tank
6f4ff9b30f Merge branch 'bugfix/fix_dangling_pointer_compilation_warning_v4.4' into 'release/v4.4'
fix(nimble): Fix dangling pointer error during compilation (v4.4)

See merge request espressif/esp-idf!29743
2024-03-21 13:05:37 +08:00
wangjialiang
000bf3a365 update invalid links in the ble mesh example documentation 2024-03-21 11:13:37 +08:00
luoxu
ce36163317 bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have already left the network. 2024-03-21 11:13:37 +08:00
Jiang Jiang Jian
5452195e33 Merge branch 'bugfix/cve-2023-52160_v4.4' into 'release/v4.4'
fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements (v4.4)

See merge request espressif/esp-idf!29752
2024-03-20 16:25:51 +08:00
Jiang Jiang Jian
8df220e6a4 Merge branch 'bugfix/fix_fastmem_slowmem_lost_data_bug_v4.4' into 'release/v4.4'
[C3/S3]Fix sleep fast_mem & slow_mem may lost bug (v4.4)

See merge request espressif/esp-idf!29643
2024-03-20 16:24:56 +08:00
Jiang Jiang Jian
894a0d54e5 Merge branch 'bugfix/fix_s3_bbpll_cali_fail_bug_v4.4' into 'release/v4.4'
fix: fix s3 bbpll calibration fail bug (v4.4)

See merge request espressif/esp-idf!29647
2024-03-20 16:21:22 +08:00
Kapil Gupta
4db2ef0f33 fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements
The previous PEAP client behavior allowed the server to skip Phase 2
authentication with the expectation that the server was authenticated
during Phase 1 through TLS server certificate validation. Various PEAP
specifications are not exactly clear on what the behavior on this front
is supposed to be and as such, this ended up being more flexible than
the TTLS/FAST/TEAP cases. However, this is not really ideal when
unfortunately common misconfiguration of PEAP is used in deployed
devices where the server trust root (ca_cert) is not configured or the
user has an easy option for allowing this validation step to be skipped.

Change the default PEAP client behavior to be to require Phase 2
authentication to be successfully completed for cases where TLS session
resumption is not used and the client certificate has not been
configured. Those two exceptions are the main cases where a deployed
authentication server might skip Phase 2 and as such, where a more
strict default behavior could result in undesired interoperability
issues. Requiring Phase 2 authentication will end up disabling TLS
session resumption automatically to avoid interoperability issues.

Allow Phase 2 authentication behavior to be configured with a new phase1
configuration parameter option:
'phase2_auth' option can be used to control Phase 2 (i.e., within TLS
tunnel) behavior for PEAP:
 * 0 = do not require Phase 2 authentication
 * 1 = require Phase 2 authentication when client certificate
   (private_key/client_cert) is no used and TLS session resumption was
   not used (default)
 * 2 = require Phase 2 authentication in all cases
2024-03-20 09:42:14 +05:30
Marius Vikhammer
8643854656 Merge branch 'fix/console-build-error_v4.4' into 'release/v4.4'
console: Fix building issue when serial JTAG is set (v4.4)

See merge request espressif/esp-idf!23737
2024-03-20 10:35:53 +08:00
Rahul Tank
7489d8ff2d fix(nimble): Fix dangling pointer error during compilation 2024-03-19 19:32:56 +05:30
hongshuqing
fbe83d8738 fix: fix s3 bbpll cali fail bug 2024-03-19 14:22:56 +08:00
chaijie@espressif.com
30edfaeb06 fix: fix sleep fast_mem & slow_mem may lost bug 2024-03-15 20:02:29 +08:00
linruihao
24b5515d4f fix(bt/controller): Fixed some bugs in esp32 bt controller
1. fixed crash issue in coexist callback
2. fixed wrong LMP message send when expect peer device increase tx power to max
2024-03-15 19:09:07 +08:00
Jiang Jiang Jian
d3a0f26c84 Merge branch 'feat/move_ag_cb_malloc_to_btc_v4.4' into 'release/v4.4'
feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module (v4.4)

See merge request espressif/esp-idf!29634
2024-03-14 16:22:56 +08:00
Jiang Jiang Jian
30f96ffe48 Merge branch 'bugfix/sdspi_acmd41_arg_v4.4' into 'release/v4.4'
fix(sdmmc): fixes for card initialization (ACMD41) (v4.4)

See merge request espressif/esp-idf!29379
2024-03-14 16:22:32 +08:00
Jin Cheng
9830b8bb22 feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module 2024-03-14 10:56:25 +08:00