Commit Graph

23828 Commits

Author SHA1 Message Date
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
xiongweichao
d47b2e4612 feat(ble): Added API to get low power clock source 2024-04-08 20:02:43 +08:00
Li Shuai
0dea8d7df8 fix(esp_hw_support): fixed modem hang caused by incorrect configuration of power and isolate signals 2024-04-08 16:01:30 +08:00
jingli
01117ef986 soc/soc_caps: update soc caps for chips that support power-down of modem hardware
Closes WIFI-4424
2024-04-08 15:50:29 +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
Alexey Gerenkov
79f0dfeafa feat(tools): update openocd version to v0.12.0-esp32-20240318 2024-04-08 03:34:40 +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
Jiang Jiang Jian
204d181fad Merge branch 'bugfix/variable_length_rsnxe_v44' into 'release/v4.4'
Expands maximum size of RSNXE IE to 255(v4.4)

See merge request espressif/esp-idf!30052
2024-04-07 10:29:50 +08:00
Rahul Tank
4c00c5c29c fix(nimble): Remove extra code in reattempt connection 2024-04-06 20:32:33 +05:30
nilesh.kale
a5350112fb feat(mbedtls): updated mbedtls version from 2.28.7 to 2.28.8
This MR updated MbedTLS version to 2.28.8.
2024-04-05 15:17:03 +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
f13d02da8c example: add custom partition table for mesh manual networking 2024-04-02 11:55:34 +08:00
liuning
ac0e88403c feat(coex): improve Wi-Fi connecting compatibility at coexistence 2024-04-02 11:55:29 +08:00
Omar Chebib
976b847ca1 fix(i2c): fix issues related to timeout and alive interval tick
Fixes https://github.com/espressif/esp-idf/issues/4999

Former usage of I2C_CMD_ALIVE_INTERVAL_TICK macro overrode the ticks_to_wait
parameter when the latter was too big
2024-04-02 10:47:51 +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
Jiang Jiang Jian
718c649e06 Merge branch 'bugfix/fix_call_to_header_event_callback_v4.4' into 'release/v4.4'
fix: Fix call to event_handler on on_header state of HTTP Client (v4.4)

See merge request espressif/esp-idf!29957
2024-04-01 19:49:26 +08:00
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
Jiang Jiang Jian
e1f8314fd7 Merge branch 'change/add_convt_from_hci_state_to_esp_state_v4.4' into 'release/v4.4'
change(bt/bluedroid): Use BTC util to convert HCI status to ESP status (v4.4)

See merge request espressif/esp-idf!29924
2024-04-01 14:17:23 +08:00
Rahul Tank
31932039fc Merge branch 'bugfix/handle_missing_free_v4.4' into 'release/v4.4'
fix(nimble): Handle missing free in application (v4.4)

See merge request espressif/esp-idf!29890
2024-03-29 21:02:52 +08:00
Rahul Tank
c71bd1e681 fix(nimble): Handle missing free in application 2024-03-28 08:52:24 +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
Rahul Tank
718cdd6c65 Merge branch 'bugfix/bonding_across_reboot_v4.4' into 'release/v4.4'
fix(nimble): Added support for deleting the oldest bonded device across reboot (v4.4)

See merge request espressif/esp-idf!29765
2024-03-21 16:49:26 +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
Roland Dobai
2a4923faa6 Merge branch 'refactor/idf_tools_version_v4.4' into 'release/v4.4'
refactor(idf_tools): IDF version is acquired only from version or header file (backport v4.4)

See merge request espressif/esp-idf!29745
2024-03-20 21:33:30 +08:00
Jakub Kocka
dfe281bbf4 refactor(idf_tools): IDF version is acquired only from version or header file
Closes https://github.com/espressif/esp-idf/issues/13385
2024-03-20 13:42:27 +01: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