Commit Graph

32073 Commits

Author SHA1 Message Date
Guillaume Souchere
2c794ee423 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:42:49 +02:00
Jiang Jiang Jian
46d402d22e Merge branch 'bugfix/wpa3_ap_ci_crash_v5.1' into 'release/v5.1'
fix(esp_wifi): Fix crash when assoc req comes before confirm is processed

See merge request espressif/esp-idf!29950
2024-04-07 10:35:12 +08:00
Jiang Jiang Jian
368b7eb3fc Merge branch 'fix/add_phy_private_dslp_callback_v5.1' into 'release/v5.1'
fix(esp_hw_support): move deepsleep phy callback before PLL disable (v5.1)

See merge request espressif/esp-idf!30014
2024-04-07 10:24:39 +08:00
Jiang Jiang Jian
581bcf46b5 Merge branch 'bugfix/fix_ble_power_save_ci_v5.1' into 'release/v5.1'
fix(ble): fix conn error of ble power save ci test(v5.1)

See merge request espressif/esp-idf!29823
2024-04-03 19:03:29 +08:00
Jiang Jiang Jian
a1471a9291 Merge branch 'bugfix/aud-5252_v5.1' into 'release/v5.1'
backport v5.1: fix the issue of modem hang caused by incorrect configuration of power and isolate signals

See merge request espressif/esp-idf!30008
2024-04-03 19:03:09 +08:00
Jiang Jiang Jian
54ad993fe9 Merge branch 'feature/add_cli_in_openthread_sleep_example_v5.1' into 'release/v5.1'
feat(openthread): add cli in openthread sleep example (backport v5.1)

See merge request espressif/esp-idf!29596
2024-04-03 19:02:32 +08:00
wuzhenghui
b0d7c5ac40
fix(esp_hw_support): move deepsleep phy callback before PLL disable 2024-04-03 14:11:18 +08:00
Li Shuai
4254953374 fix(esp_hw_support): fixed modem hang caused by incorrect configuration of power and isolate signals 2024-04-03 10:49:31 +08:00
Shreyas Sheth
a64d8b12c8 fix(esp_wifi): Fix crash when assoc req comes before confirm is processed 2024-04-03 00:04:14 +05:30
Jiang Jiang Jian
d1baafb8c0 Merge branch 'bugfix/fix_call_to_header_event_callback_v5.1' into 'release/v5.1'
fix: Fix call to event_handler on on_header state of HTTP Client (v5.1)

See merge request espressif/esp-idf!29955
2024-04-01 20:41:02 +08:00
Harshit Malpani
ce225dfc1a
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:19:57 +05:30
Jiang Jiang Jian
a355214a16 Merge branch 'bugfix/fix_coex_ld_issue_v5.1' into 'release/v5.1'
fix(wifi): fix coex ld issue (v5.1)

See merge request espressif/esp-idf!29916
2024-04-01 14:08:58 +08:00
Jiang Jiang Jian
92a184d482 Merge branch 'bugfix/dpp_example_init_error_v5.1' into 'release/v5.1'
fix(wifi/example): Fix dpp example init error (v5.1)

See merge request espressif/esp-idf!29860
2024-03-29 19:47:50 +08:00
liuning
6c015fd05e fix(wifi): fix coex ld issue 2024-03-28 21:19:27 +08:00
sparker
c218c35439 fix(wifi/example): Fix dpp example init error
Set wifi mode before calling esp_supp_dpp_init.

Closes https://github.com/espressif/esp-idf/pull/12769

Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>
2024-03-27 11:21:20 +05:30
cjin
27b553eb38 fix(ble): fix ci ble powe save test addresss error 2024-03-25 15:59:32 +08:00
Jiang Jiang Jian
d23b7a0361 Merge branch 'bugfix/wps_reg_regression_v5.1' into 'release/v5.1'
fix(esp_wifi): Fixed regression caused by 02d6704a when wpa_supplicant debug logs enabled (!29701)

See merge request espressif/esp-idf!29754
2024-03-22 13:53:44 +08:00
Jiang Jiang Jian
c642c72713 Merge branch 'bugfix/fix_softap_coex_start_issue_v5.1' into 'release/v5.1'
fix(wifi): fix softap coex start issue, no wifi request if wifi is not used at idle

See merge request espressif/esp-idf!29771
2024-03-22 10:46:26 +08:00
liuning
01548764f6 fix(wifi): fix softap coex start issue, no wifi request if wifi is not used at idle 2024-03-21 19:16:55 +08:00
Sarvesh Bodakhe
d2b674622c fix(esp_wifi): Fix regression caused by 02d6704a when supplicant logs enabled 2024-03-20 11:03:20 +05:30
Jiang Jiang Jian
9f7eacb089 Merge branch 'fix/ci_flash_counter_v5.1' into 'release/v5.1'
fix(spi_flash): Fix spi_flash counter test on CI (backport v5.1)

See merge request espressif/esp-idf!29710
2024-03-19 11:54:42 +08:00
Jiang Jiang Jian
29f78cea74 Merge branch 'feature/refactor_ftm_code_v5.1' into 'release/v5.1'
Refactor and improve FTM code (Backport v5.1)

See merge request espressif/esp-idf!29713
2024-03-19 11:39:48 +08:00
Nachiket Kukade
16a80db4d0 feat(esp_wifi): Refactor and improve FTM code
Enable FTM Responder mode for ESP32C6. 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-03-18 21:33:02 +05:30
Jiang Jiang Jian
aead2f3205 Merge branch 'bugfix/wps_crash_issue_v5.1' into 'release/v5.1'
fix(wpa_supplicant): Avoid dereferencing a dangling function pointer in WPS (Backport v5.1)

See merge request espressif/esp-idf!29701
2024-03-18 21:23:26 +08:00
Cao Sen Miao
9afa5e53c0 fix(spi_flash): Fix spi_flash counter test on CI 2024-03-18 20:23:55 +08:00
Jiang Jiang Jian
4bdbb79b34 Merge branch 'bugfix/add_authmode_wpa_wpa2_wpa3_psk_v5.1' into 'release/v5.1'
esp_wifi: Handle case when AP advertises WPA, WPA2 and WPA3 securities simultaneously and other bugfixes (Backport v5.1)

See merge request espressif/esp-idf!29689
2024-03-18 19:49:15 +08:00
Jiang Jiang Jian
f12d65357f Merge branch 'bugfix/flash_enc_write_ram_v5.1' into 'release/v5.1'
fix(spi_flash): Fix that internal RAM has no enough space to put all stuff inside (backport v5.1)

See merge request espressif/esp-idf!29657
2024-03-18 19:41:32 +08:00
Alexey Lapshin
4325d5c9c5 fix(bt): fix gcc 13.1.0 warnings 2024-03-18 14:55:22 +05:30
Sarvesh Bodakhe
02d6704a30 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-03-18 12:44:59 +05:30
Sarvesh Bodakhe
e1502fb99e 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-03-18 12:44:53 +05:30
Li Shuai
a02adef4f6 fix(example): fixed app partition is too small for binary size 2024-03-18 14:15:45 +08:00
Sarvesh Bodakhe
d9b42232bd fix(esp_wifi): Improvements in scan and connect path
* Improvements in scan and connect path as per specifications along with
  minor bugfixes
* When AP advertises all PSK modes (WPA, WPA2 and WPA3), make sure that
  station treats it as WPA2_WPA3_PSK mixed mode.
2024-03-18 14:15:45 +08:00
Jiang Jiang Jian
7d16878564 Merge branch 'bugfix/make_coexist_callback_safe_v5.1' into 'release/v5.1'
fix(bt/controller): Fixed some bugs in esp32 bt controller (v5.1)

See merge request espressif/esp-idf!29683
2024-03-18 11:30:57 +08:00
Kapil Gupta
819fbf9a68 Merge branch 'bugfix/cve-2023-52160_v5.1' into 'release/v5.1'
fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements (v5.1)

See merge request espressif/esp-idf!29676
2024-03-17 19:24:44 +08:00
Shu Chen
19dd33854b Merge branch 'backport5.1/openthread_2024_3_14' into 'release/v5.1'
openthread modifications backport to 5.1

See merge request espressif/esp-idf!29653
2024-03-17 08:21:12 +08:00
Jiang Jiang Jian
8af8f5840c Merge branch 'bugfix/fix_the_spiram_malloc_issue_in_wifi_mesh_v5.1' into 'release/v5.1'
fix(wifi): fixed the spiram malloc issue in wifi mesh (v5.1)

See merge request espressif/esp-idf!29630
2024-03-15 20:11:20 +08:00
linruihao
c90f4fce9c 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:08:51 +08:00
Xu Si Yu
88cd813311 feat(openthread): support configuring indicator color of openthread device 2024-03-15 17:38:44 +08:00
Xu Si Yu
7155146f9c fix(vfs): fix eventfd select 2024-03-15 17:38:28 +08:00
Jiang Jiang Jian
089113c6db Merge branch 'doc/update_espnow_doc_v5.1' into 'release/v5.1'
docs(wifi): Updated the LMK description in ESP-NOW (v5.1)

See merge request espressif/esp-idf!29670
2024-03-15 17:23:56 +08:00
Kapil Gupta
6f9cc06b30 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-15 13:22:10 +05:30
zhangyanjiao
30d070ea72 docs(wifi): Updated the LMK description in ESP-NOW
Closes https://github.com/espressif/esp-idf/issues/12976
2024-03-15 15:10:09 +08:00
Jiang Jiang Jian
0bef269ac0 Merge branch 'fix/fix_curses_py312_v5.1' into 'release/v5.1'
Fix Access Violation Error on Windows with Python 3.12 (v5.1)

See merge request espressif/esp-idf!29510
2024-03-15 13:45:00 +08:00
Jiang Jiang Jian
b2123cc7ff Merge branch 'bugfix/sdspi_acmd41_arg_v5.1' into 'release/v5.1'
fix(sdmmc): fixes for card initialization (ACMD41) (v5.1)

See merge request espressif/esp-idf!29377
2024-03-15 13:44:39 +08:00
Jiang Jiang Jian
59d686ed3c Merge branch 'bugfix/fix_maximum_value_of_config_rtc_clk_cal_cycles_bug_v5.1' into 'release/v5.1'
ESP All Chip: fixed the maximum value of config RTC_CLK_CAL_SYCLES bug (v5.1)

See merge request espressif/esp-idf!29649
2024-03-15 13:44:18 +08:00
Jiang Jiang Jian
8d3b3dfefa Merge branch 'bugfix/fix_some_wifi_coexist_issue_v5.1' into 'release/v5.1'
fix(coex): fix some wifi coexist issue v5.1

See merge request espressif/esp-idf!29660
2024-03-15 12:27:58 +08:00
Jiang Jiang Jian
9eb22e688c Merge branch 'bugfix/fix_fastmem_slowmem_lost_data_bug_v5.1' into 'release/v5.1'
[C3/S3]Fix sleep fast_mem & slow_mem may lost bug (v5.1)

See merge request espressif/esp-idf!29641
2024-03-15 11:30:44 +08:00
Jiang Jiang Jian
4885b77b47 Merge branch 'bugfix/fix_s3_bbpll_cali_fail_bug_v5.1' into 'release/v5.1'
fix: fix s3 bbpll calibration fail bug (v5.1)

See merge request espressif/esp-idf!29645
2024-03-15 11:30:22 +08:00
zhangyanjiao
7f2dfdb38e fix(wifi): fixed the spiram malloc issue in wifi mesh
Closes https://github.com/espressif/esp-idf/issues/13285
2024-03-15 11:12:44 +08:00
liuning
583c8665f4 feat(coex): support to scan long time on channel, fix coexist sync issue 2024-03-15 10:49:18 +08:00