Commit Graph

28464 Commits

Author SHA1 Message Date
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
cjin
4d648f6330 feat(ble): add cca related config in c6, h2 and c2 2024-04-02 12:12:24 +08:00
cjin
4c05613b33 change(ble): support ble light sleep using ext 32k xtal on C2 2024-04-02 12:11:16 +08:00
zwl
909393befc ble: update esp32c2 lib to 7a428d35 2024-04-02 12:04:43 +08:00
gongyantao
f3133d1590 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:39:32 +08:00
Rahul Tank
9ac19fbad6 fix(nimble): Change reconnection scheme 2024-04-01 17:23:29 +05:30
Jiang Jiang Jian
9d1abd72e5 Merge branch 'bugfix/fix_call_to_header_event_callback_v5.0' into 'release/v5.0'
fix: Fix call to event_handler on on_header state of HTTP Client (v5.0)

See merge request espressif/esp-idf!29956
2024-04-01 19:50:09 +08:00
Harshit Malpani
9c092a3b78
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:00 +05:30
Jiang Jiang Jian
2486b6b39b Merge branch 'bugfix/bootloader_custom_rtc_data_crc_v5.0' into 'release/v5.0'
fix(bootloader): add legacy retained memory CRC calculation (backport v5.0)

See merge request espressif/esp-idf!28938
2024-04-01 14:59:01 +08:00
Jiang Jiang Jian
987752fcff Merge branch 'bugfix/fix_some_wifi_coexist_issue_v5.0' into 'release/v5.0'
bugfix/fix some wifi coexist issue v5.0

See merge request espressif/esp-idf!29911
2024-04-01 14:31:56 +08:00
Jiang Jiang Jian
ad8111253a Merge branch 'change/add_convt_from_hci_state_to_esp_state_v5.0' into 'release/v5.0'
change(bt/bluedroid): Use BTC util to convert HCI status to ESP status (v5.0)

See merge request espressif/esp-idf!29923
2024-04-01 14:19:44 +08:00
Konstantin Kondrashov
1e7830e57b fix(log): Fix wrap-around of cache generation counter
Closes https://github.com/espressif/esp-idf/issues/6516
2024-03-29 17:32:21 +03:00
Rahul Tank
46976bdcb7 Merge branch 'bugfix/handle_missing_free_v5.0' into 'release/v5.0'
fix(nimble): Handle missing free in application (v5.0)

See merge request espressif/esp-idf!29889
2024-03-29 21:02:43 +08:00
liuning
3a0cf2c03a feat(coex): support to scan long time on channel, fix coexist sync issue 2024-03-28 21:09:28 +08:00
liuning
8be1213da6 example: add custom partition table for mesh manual networking 2024-03-28 20:43:16 +08:00
liuning
e428e1a9ce feat(coex): improve Wi-Fi connecting compatibility at coexistence 2024-03-28 20:43:12 +08:00
liuning
12d2d95b94 fix(clk): clear all lpclk source at clk init 2024-03-28 20:41:58 +08:00
Rahul Tank
ceac0c1487 fix(nimble): Handle missing free in application 2024-03-28 08:51:43 +05:30
Jin Cheng
54d0912307 change(bt/bluedroid): Use BTC util to convert HCI status to ESP status 2024-03-28 11:05:22 +08:00
Island
a463942e14 Merge branch 'bugfix/fix_ble_power_save_ci_v5.0' into 'release/v5.0'
fix(ble): fix conn error of ble power save ci test(v5.0)

See merge request espressif/esp-idf!29824
2024-03-27 10:31:17 +08:00
Martin Vychodil
0b71bfa1c0 Merge branch 'bugfix/sdspi_acmd41_arg_v5.0' into 'release/v5.0'
fix(sdmmc): fixes for card initialization (ACMD41) (v5.0)

See merge request espressif/esp-idf!29378
2024-03-27 04:48:03 +08:00
Ivan Grokhotkov
b1b1d5473a
fix(sdmmc): extend the maximum number of retries of ACMD41
According to the application note in SD Card Physical Specification:

> The host shall set ACMD41 timeout more than 1 second to abort repeat
of issuing ACMD41 when the card does not indicate ready. The timeout
count starts from the first ACMD41 which is set voltage window
in the argument.

Previously, the timeout was exactly one second, and this caused
certain larger-capacity cards to "time out", because they couldn't
finish initialization process in time.
2024-03-26 11:41:34 +01:00
Ivan Grokhotkov
383048b19f
fix(sdmmc): use correct argument for ACMD41 in SPI mode
ACMD41 argument is different between SD mode and SPI mode.
In SPI mode, the only non-zero bit may be the HCS bit. Unlike the SD
mode, the bits reflecting the host's OCR should be zero.
Previously, we used to set these bits the same way as for the SD mode.
This has caused certain cards to fail initializing, apparently their
controllers have checked the ACMD41 argument more strictly and refused
to finish initialization, resulting in an error such as

    sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107

(Note that this error may have other causes than the one fixed in
this commit. For example, if the card doesn't have a sufficient and
stable power supply, it may also fail to complete the internal
initialization process, and will never clear the busy flag in R1
response.)

Closes https://github.com/espressif/esp-idf/issues/6686
Closes https://github.com/espressif/esp-idf/issues/10542
2024-03-26 11:41:34 +01:00