Harshit Malpani
53408df990
feat(mbedtls): Update to release/v3.4.1
2023-08-17 17:31:10 +05:30
Abhik Roy
73d238cdfb
fix: Added check to ensure safe restart of dhcp fine timer
2023-08-17 19:04:33 +10:00
Nachiket Kukade
b7a28abd2c
fix(wifi): Fix EAPOL Key TxDone callback implementation
...
Fix issues arising due to not distinguishing between M2 and M4
TxDone during 4-way handshake. Also fix EAPOL frame rate to lowest
possible rate.
2023-08-17 13:58:08 +08:00
Nachiket Kukade
de2df68585
fix(wifi): Fix error propagation while initiating FTM
2023-08-16 12:36:14 +05:30
Jiang Jiang Jian
7a0e39d5f0
Merge branch 'feature/improve_pd_vddsido_help_doc_v5.0' into 'release/v5.0'
...
docs(esp_hw_support): improve ESP_SLEEP_PSRAM/FLASH_LEAKAGE_WORKAROUND help doc in Kconfig (backport v5.0)
See merge request espressif/esp-idf!25235
2023-08-15 21:04:23 +08:00
David Cermak
fdbb885964
fix(wifi): Fix default wifi-netif creation to assert if no event loop
...
- Added ESP_ERROR_CHECK() checks to `esp_wifi_set_default_wifi_..._handlers()` calls
- Added ESP_ERROR_CHECH() to `esp_netif_attach_wifi_...()` calls
- Updated documentation to reflect the changes
Closes https://github.com/espressif/esp-idf/issues/11580
2023-08-15 11:06:38 +02:00
Jiang Jiang Jian
cce8fa3781
Merge branch 'bugfix/allow_owe_traffic_after_eapol_v5.0' into 'release/v5.0'
...
Fix some OWE issues (Backport v5.0)
See merge request espressif/esp-idf!25238
2023-08-15 13:59:42 +08:00
Jiang Jiang Jian
0508821a68
Merge branch 'bugfix/minor_enterprise_fixes_v5.0' into 'release/v5.0'
...
Drop Eapol msg if EAP success is not processed (Backport v5.0)
See merge request espressif/esp-idf!25067
2023-08-15 13:59:30 +08:00
Jiang Jiang Jian
01871aa91b
Merge branch 'backport_v5.0' into 'release/v5.0'
...
fix(bt): Fix ble periodic advertising data length 0 error(backport v5.0)
See merge request espressif/esp-idf!25007
2023-08-15 11:04:47 +08:00
Jiang Jiang Jian
402a8f90d7
Merge branch 'bugfix/ccmp_decrypt_log_v5.0' into 'release/v5.0'
...
esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose (v5.0)
See merge request espressif/esp-idf!25169
2023-08-15 11:04:05 +08:00
Adam Múdry
556816423c
docs(fatfs): Move mentioned APIs to a separate API reference section
2023-08-14 12:59:08 +02:00
Wang Meng Yang
16aef4bbee
Merge branch 'bugfix/remove_deprecated_err_code_v5.0' into 'release/v5.0'
...
fix(bt): Removed an incorrectly defined HCI error code (5.0)
See merge request espressif/esp-idf!25289
2023-08-14 14:56:10 +08:00
Island
9523b57c8d
Merge branch 'bugfix/fix_current_issue_after_ble_init_5.0' into 'release/v5.0'
...
ble: move phy enabled/disable to controller enable/disable
See merge request espressif/esp-idf!25082
2023-08-14 13:11:36 +08:00
satish.solanke
c7cda1c489
Fix the mem corruption
2023-08-10 14:30:32 +00:00
Mahavir Jain
baa90a6177
Merge branch 'feature/support_mbedtls_ecp_fixed_point_configurable_v5.0' into 'release/v5.0'
...
feat(mbedtls): support ecp fixed-point multiplication configurable (backport v5.0)
See merge request espressif/esp-idf!25287
2023-08-10 11:44:14 +08:00
Rahul Tank
52890aeb22
Merge branch 'bugix/nimble_port_run_crash_v5.0' into 'release/v5.0'
...
fix(nimble): Added checks before accessing event pointers (v5.0)
See merge request espressif/esp-idf!25267
2023-08-09 22:57:20 +08:00
Wang Meng Yang
e6c1c5cf6d
Merge branch 'bugfix/role_switch_enc_mode_lmp_timeout_v5.0' into 'release/v5.0'
...
fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides(v5.0)
See merge request espressif/esp-idf!25203
2023-08-09 19:20:02 +08:00
Jin Cheng
48a31a8a51
fix(bt): Removed an incorrectly defined HCI error code
2023-08-09 17:32:41 +08:00
Jiang Guang Ming
b554ee475c
feat(mbedtls): support ecp fixed-point multiplication configurable
2023-08-09 16:54:28 +08:00
Roland Dobai
cf90dc98f5
Merge branch 'bugfix/link_gcov_rtio_v5.0' into 'release/v5.0'
...
gcov: Fix not linked gcov rtio functions
See merge request espressif/esp-idf!24502
2023-08-09 00:13:13 +08:00
Roland Dobai
2ab2d8dce7
Merge branch 'fix/esp32s3_sysview_trace_corrupt_v5.0' into 'release/v5.0'
...
fix(app_trace): Fix apptrace data corruption on ESP32-S3 (v5.0)
See merge request espressif/esp-idf!24681
2023-08-09 00:05:20 +08:00
isha.pardikar@espressif.com
b412b1f2c9
fix(nimble): Added checks before accessing event pointers
2023-08-08 15:47:40 +05:30
cjin
42677134dc
ble: move phy enabled/disable to controller enable/disable
2023-08-08 14:10:10 +08:00
Rahul Tank
60acb3239d
Merge branch 'feature/add_duplicate_excep_list_vsc_v5.0' into 'release/v5.0'
...
feat(mesh): Add support for Duplicate Exception list update VSC for Nimble (v5.0)
See merge request espressif/esp-idf!25133
2023-08-08 13:56:35 +08:00
morris
c7a5b3c948
Merge branch 'bugfix/i80_lcd_reset_gpio_config_v5.0' into 'release/v5.0'
...
fix(i80_lcd): reset cs gpio on exit (v5.0)
See merge request espressif/esp-idf!25244
2023-08-08 10:16:19 +08:00
morris
a55ab7cb5d
Merge branch 'feature/usb_host_restrict_ahb_errata_workaround_to_esp32s2_eco0_v5.0' into 'release/v5.0'
...
USB Host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips (v5.0)
See merge request espressif/esp-idf!25053
2023-08-08 10:12:42 +08:00
Rahul Tank
b9c34e83f8
feat(mesh): Add support for Duplicate Exception list update VSC for
...
Nimble
2023-08-07 20:00:14 +05:30
Cao Sen Miao
4f67fe7d3f
bugfix(temperature_sensor): Fix issue that get the value is negative
2023-08-07 19:05:59 +08:00
morris
38c8db565f
fix(i80_lcd): reset cs gpio on exit
2023-08-07 15:54:21 +08:00
Shyamal Khachane
63b32f4dda
fix(esp_wifi): Fix some OWE issues
...
1. Allow flow of traffic after 4 way handshake is completed
2. Fix beacon timeout issue in transition mode
2023-08-07 11:11:00 +05:30
wuzhenghui
cb139b4386
change(esp_hw_support): improve ESP_SLEEP_PSRAM/FLASH_LEAKAGE_WORKAROUND help doc in Kconfig
2023-08-07 11:35:49 +08:00
Wang Meng Yang
bd23db594b
Merge branch 'test/bqb_test_bt_classic_spp_rfcomm_v5.0' into 'release/v5.0'
...
feat(bt/bqb): Add BQB enabling and rfcomm msc command sending support (backport v5.0)
See merge request espressif/esp-idf!25098
2023-08-07 11:35:28 +08:00
morris
5e933a8fc5
Merge branch 'feature/gptimer_interrupt_priority_v5.0' into 'release/v5.0'
...
feat(gptimer): support set interrupt priority (v5.0)
See merge request espressif/esp-idf!25200
2023-08-07 11:14:30 +08:00
Michael (XIAO Xufeng)
116f343115
Merge branch 'feat/psram_support_d2wd_single_clk_u4wdh_v5.0' into 'release/v5.0'
...
spiram: Add support for U4WDH, and fixed D0WD/D2WD cannot share CLK pins (v5.0)
See merge request espressif/esp-idf!25172
2023-08-05 03:28:31 +08:00
Mahavir Jain
52c9c342bd
fix(secure_ota): secure app verification issue without padding bytes
...
For the following configuration case:
- CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME
- CONFIG_SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
- CONFIG_SECURE_BOOT_ALLOW_SHORT_APP_PARTITION
verification of the application was failing because the externally
padded bytes were not considered in the hash (checksum) process.
This commit fixes the problem by enabling relevant code for secure OTA
without secure boot case.
Closes https://github.com/espressif/esp-idf/issues/11995
2023-08-04 12:25:20 +05:30
morris
f5154364ac
feat(gptimer): support set interrupt priority
...
Related forum post: https://esp32.com/viewtopic.php?f=13&t=34959
2023-08-04 12:55:16 +08:00
xiongweichao
4fd3eb28d6
fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides
...
The master sent lmp_enc_mode_req, and the slave sent lmp_switch_req.
However, both sides failed to handle the LMP message, resulting in LMP timeout.
2023-08-04 11:04:46 +08:00
Rahul Tank
f34f4272a0
fix (nimble): Add check to set length only if data is valid in periodic adv
2023-08-03 14:45:47 +05:30
Jiang Jiang Jian
5eddb9e016
Merge branch 'bugfix/esp_netif_ppp_backport_regression' into 'release/v5.0'
...
esp_netif: Fix regression from 12d09e0b
when PPP enabled (v5.0)
See merge request espressif/esp-idf!24920
2023-08-03 16:35:43 +08:00
Michael (XIAO Xufeng)
f168e9f174
spiram: Support configure CLK onto the same pin as flash for ESP32-D0WD
...
When using PSRAM of rev0, the Flash and PSRAM should use different clock pins. But if using newer PSRAM, this is not necesary. This MR fixed the issue that allocating CLK of PSRAM to the same pin as Flash may crash.
2023-08-03 15:44:59 +08:00
Kapil Gupta
4b29d8340b
esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose
2023-08-03 10:58:53 +05:30
Mahavir Jain
ca087a174d
Merge branch 'feat/update_cjson_submodule_v5.0' into 'release/v5.0'
...
feat: Update cJSON version to v1.7.16 (v5.0)
See merge request espressif/esp-idf!25138
2023-08-03 13:10:05 +08:00
Jiang Jiang Jian
cbb4126f71
Merge branch 'bugfix/fix_cache_data_mem_corrupt_after_sleep_v5.0' into 'release/v5.0'
...
fix(lightsleep): Suspend cache before goto sleep to avoid cache load wrong data (backport v5.0)
See merge request espressif/esp-idf!25089
2023-08-03 11:39:05 +08:00
Island
6531a415f2
Merge branch 'ble_mesh/esp32c6_BLEQABR23-266v5.0' into 'release/v5.0'
...
ble mesh: stack: return error when scanning failed to be enabled(v5.0)
See merge request espressif/esp-idf!24774
2023-08-02 21:07:21 +08:00
Wu Meng Shi
e81d8f8329
ble mesh: stack: return error when scanning failed to be enabled(v5.0)
2023-08-02 21:07:20 +08:00
Christoph Baechler
34efd5af6f
bugfix: avoid warning in espcoredump when log disabled
2023-08-02 15:04:34 +05:30
Harshit Malpani
c6caa80d4c
feat: Update cJSON version to v1.7.16
...
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16
2023-08-02 13:54:33 +05:30
Mahavir Jain
080214b31a
ci(test): add SHA DMA mode test for large data in PSRAM
...
Covers a test scenario described in following issue:
https://github.com/espressif/esp-idf/issues/11915
2023-08-02 04:48:48 +00:00
Mahavir Jain
66b718ac82
fix(sha): DMA mode iteration calculation issue for certain data lengths
...
SHA hardware DMA mode calculation had off-by-one error for specific
input lengths. This was causing last chunk of the input data not being
fed to the hardware accelerator and hence resulting in an incorrect
final result.
Closes: https://github.com/espressif/esp-idf/issues/11915
2023-08-02 04:48:48 +00:00
Island
6db7b11d7e
Merge branch 'doc/c2_5.0' into 'release/v5.0'
...
c2 5.0 doc, header files re-organized
See merge request espressif/esp-idf!25112
2023-08-01 23:11:33 +08:00
Rahul Tank
339dff07f3
Merge branch 'bugfix/remove_52_feature_macro' into 'release/v5.0'
...
fix(nimble): Update Menuconfig option to remove separate 5.2 feature option
See merge request espressif/esp-idf!24954
2023-08-01 21:42:47 +08:00
luomanruo
3fd6493ade
c2 5.0 doc, header files re-organized
2023-08-01 14:43:11 +08:00
wuzhenghui
652bc76354
fix(lightsleep): fix access pu_cfg after sleep wakeup which is linked to flash
2023-07-31 21:36:27 +08:00
wanglai@espressif.com
f5ad81e04a
fix(bt/bqb): Modify BQB related configurations
2023-07-31 18:18:29 +08:00
wanglai@espressif.com
543a0aaa25
feat(bt): Add BQB enabling and rfcomm msc command sending support
...
1: add the CONFIG_BT_BQB_ENABLED for some functions of bqb test.
2: add bqb_rfc_send_msc_cmd function to send rfcomm msc command with
only address arg input.
2023-07-31 17:58:01 +08:00
Alexey Gerenkov
ea3f68824f
fix(app_trace): Fix apptrace data corruption on ESP32-S3
...
Close https://github.com/espressif/esp-idf/issues/10604
diff --git a/components/soc/esp32s3/include/soc/tracemem_config.h b/components/soc/esp32s3/include/soc/tracemem_config.h
index 55c9b907dd..75fd87419b 100644
--- a/components/soc/esp32s3/include/soc/tracemem_config.h
+++ b/components/soc/esp32s3/include/soc/tracemem_config.h
@@ -10,7 +10,7 @@ extern "C" {
#endif
#define TRACEMEM_MUX_BLK0_NUM 22
-#define TRACEMEM_MUX_BLK1_NUM 23
+#define TRACEMEM_MUX_BLK1_NUM 26
#if (TRACEMEM_MUX_BLK0_NUM < 6) || (TRACEMEM_MUX_BLK0_NUM > 29)
#error Invalid TRAX block 0 num!
2023-07-31 11:20:44 +03:00
wuzhenghui
2236c2fd34
fix(lightsleep): suspend cache before goto sleep to avoid cache load wrong data after spi io isolation
2023-07-31 15:35:00 +08:00
wanlei
1283619767
cache: refactor cache_utils into cache_hal instade
2023-07-31 15:34:56 +08:00
wanlei
68e07d90ba
cache: fix cache suspended/resumed twice on S3
2023-07-31 15:08:18 +08:00
Shyamal Khachane
29777aaa51
fix(esp_wifi): Drop Eapol msg if EAP success is not processed
2023-07-28 15:26:20 +05:30
Darian Leung
70dde52e91
soc: Move revision MAX/MIN static assert to esp_hw_support
...
Previously, "soc/chip_revision.h" contained a static assert to check that the
CONFIG_ESP_REV_MIN_FULL <= CONFIG_ESP_REV_MAX_FULL. There are two issues with
this assert:
- Contained in a header file, so it is only compiled if the "chip_revision.h"
is included somewhere
- CONFIG_ESP_REV_MIN_FULL and CONFIG_ESP_REV_MAX_FULL are defined in
"esp_hw_support", which is a G0 component. This creates a reverse dependency
of G0 on G1.
This commit moves the static assert "revision.c" in "esp_hw_support".
2023-07-28 11:36:20 +02:00
Darian Leung
9935a17b1d
usb_host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips
2023-07-28 11:34:54 +02:00
Jiang Jiang Jian
f572b91024
Merge branch 'bugfix/fix_wifi_espnow_coexist_API_doc_v5.0' into 'release/v5.0'
...
bugfix: fix wifi espnow coexist api doc v5.0
See merge request espressif/esp-idf!25023
2023-07-28 17:19:27 +08:00
Darian Leung
aeef81cde7
usb_host: Run formatting script
2023-07-28 10:39:37 +02:00
Darian Leung
3c7776cd58
usb_host: Fix spelling errors
2023-07-28 10:36:41 +02:00
Darian Leung
f5f3196c01
usb_host: Refactor USBH and USB Host Library calls to HCD
...
This commit refactors the USBH and the USB Host Library in the following ways:
- USBH now presents an abstraction of an endpoint (via usbh_ep_handle_t)
- Added separate functions to enqueue/dequeue URBs to a particular endpoint
- USB Host Library no longer calls HCD API directly. Calls USBH endpoint API
instead.
- Renamed "notif_cb" to "proc_req_cb" (Processing Request Callback)
- This is to avoid confusion with FreerTOS task notifications and Host
Library client event notifications.
- The processing functions of each layer (i.e., "xxx_process()") request
calls via the "proc_req_cb"
- The main handling function (i.e., usb_host_lib_handle_events()) is
responsible for calling the required "xxx_process()" of each layer
2023-07-28 10:36:41 +02:00
morris
8e5718fd0c
Merge branch 'bugfix/bod_intr_v5.0' into 'release/v5.0'
...
brownout: Disable the hardware BOD when BOD interrupt is enabled(backport v5.0)
See merge request espressif/esp-idf!24693
2023-07-28 10:32:19 +08:00
liuning
57335c9051
fix(esp_wifi): fix ret when setting channel at wifi not started
2023-07-27 19:09:07 +08:00
darshan.dobariya
9fa4ff5300
fix(nimble): Update Menuconfig option to remove separate 5.2 feature option
2023-07-27 14:38:53 +05:30
muhaidong
8b59c17ef0
fix(wifi): fix some wifi bugs 230726
...
1. process association request verify ssid
2. fix ftm timer macro issue
3. lower the dhcp discover and request retry backoff time
2023-07-26 16:52:13 +08:00
zhanghaipeng
cb85b7b7a7
fix(bt): Fix bug with address resolution enabling during non-connected activities
2023-07-26 16:39:06 +08:00
zhanghaipeng
aff7ff1a9f
docs(bt): Organize header files for esp32c3 and esp32s3
2023-07-26 16:39:06 +08:00
zhanghaipeng
0e9974a918
fix(bt): Fix ble periodic advertising data length 0 error
...
- Fixed issues about data length 0 when set ext adv data,ext scan rsp data and periodic adv data
2023-07-26 16:39:06 +08:00
muhaidong
210ffa0475
fix(wifi): missed annotate ld function from txop fix
2023-07-26 11:54:10 +08:00
Jiang Jiang Jian
b4b4306677
Merge branch 'bugfix/sae_and_nvs_fixes_v5.0' into 'release/v5.0'
...
Fix SAE and SAE related NVS issues (Backport v5.0)
See merge request espressif/esp-idf!24956
2023-07-26 11:06:29 +08:00
Jiang Jiang Jian
ba0ab6687d
Merge branch 'change/rewrite_all_low_to_any_low_when_not_esp32' into 'release/v5.0'
...
Change: rewrite EXT1 triggle mode all_low to any_low when not esp32(backport v5.0)
See merge request espressif/esp-idf!24988
2023-07-26 10:17:43 +08:00
Lou Tianhao
3727d56c82
Change: rewrite EXT1 triggle mode all_low to any_low when not esp32
2023-07-25 17:53:33 +08:00
Shyamal Khachane
585cbec17b
fix(wifi): Fix SAE and SAE related NVS issues
...
1. Discard commit frame received at confirmed state in SAE STA
2. Bugfix NVS get values for sae pwe
3. Bugfix memory leak caused by assoc retry timer and assoc IE
4. Bugfix store nvs authmode security values
2023-07-25 13:53:42 +05:30
morris
c36f5fb77a
Merge branch 'contrib/github_pr_11810_v5.0' into 'release/v5.0'
...
ledc.c: Fix frequency calculation. (GitHub PR) (v5.0)
See merge request espressif/esp-idf!24698
2023-07-25 16:15:05 +08:00
morris
3fba3425f1
Merge branch 'bugfix/fix_spi_flash_api_concurrency_issue_v5.0' into 'release/v5.0'
...
spi_flash: fix concurrency issue when concurrently calling esp_flash apis (v5.0)
See merge request espressif/esp-idf!24512
2023-07-25 11:04:57 +08:00
morris
598c1fa7e2
Merge branch 'bugfix/fix_gpio_driver_calloc_v5.0' into 'release/v5.0'
...
fix(gpio): fix potential crash when processing gpio isr (v5.0)
See merge request espressif/esp-idf!24902
2023-07-25 11:03:09 +08:00
Jiang Jiang Jian
000450504d
Merge branch 'bugfix/cache_writeback_bug_v5.0' into 'release/v5.0'
...
esp_rom: patch Cache_WriteBack_Addr (backport v5.0)
See merge request espressif/esp-idf!24940
2023-07-24 15:41:32 +08:00
Armando
38de42bd26
feat(spi_flash): add common test_flash_utils component
2023-07-24 15:28:18 +08:00
Armando
403cdb03ec
spi_flash: rename spi_flash_os_func_app: spi_start, spi_end
...
spi_start -> s_acquire_spi_bus_lock
spi_end -> s_release_spi_bus_lock
2023-07-24 15:28:18 +08:00
Armando
c56ff93007
spiflash: added esp_flash API concurrency pressure test
2023-07-24 15:28:18 +08:00
Armando
5a59c50951
spi_flash: fix concurrency issue when calling esp_flash apis under xip_psram or auto_suspen
2023-07-24 15:28:18 +08:00
Armando
0c2cd2dfa6
spiflash: fix not calling on_spi_acquired when CONFIG_SPI_FLASH_SHARE_SPI1_BUS issue
2023-07-24 15:28:18 +08:00
Rahul Tank
5fb0d557a4
Merge branch 'bugfix/handle_conn_type_and_array_reset_v5.0' into 'release/v5.0'
...
fix(nimble): Update connection type in reattempt connection code (v5.0)
See merge request espressif/esp-idf!24916
2023-07-24 12:21:45 +08:00
gaoxiaojie
805f3bc557
fix(cache): add lock to protect cache sync operation
2023-07-24 10:51:23 +08:00
Nachiket Kukade
0148546df3
fix(esp_wifi): Enable FTM for ESP32C2, fix other FTM issues
...
Enable FTM for ESP32C2 and update wifi libs with below fixes -
1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3, C3 and C2
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
than (number_of_brusts * FTMs per brust).
Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2023-07-21 16:30:47 +05:30
Jiang Jiang Jian
264c807f3a
Merge branch 'bugfix/fix_some_wifi_bugs_230720_v5.0' into 'release/v5.0'
...
fix(wifi): fix some wifi bugs 230720 (backport v5.0)
See merge request espressif/esp-idf!24912
2023-07-21 18:59:42 +08:00
gaoxiaojie
4a2f38930b
fix(esp32s3): patch Cache_WriteBack_Addr api
...
Need to ensure that the cacheline being written back will not be
accessed during the write back process.
2023-07-21 11:46:45 +08:00
David Cermak
cc5d5c8d79
esp_netif: Fix regression from 12d09e0b
when PPP enabled
2023-07-20 07:18:13 +02:00
Rahul Tank
4d301ef3a2
fix(nimble): Update connection type in reattempt connection code
...
Added change to set connection type correctly and clear array when it is
full in reattempt connection flow
2023-07-20 09:37:34 +05:30
zhangyanjiao
368dca0d84
fix(wifi): Add bugfixes and improvements
...
1. Update wifi security mode
2. Fix association refused temporarily comeback time set to zero issue
3. Vnd ie callback can be set to null
2023-07-20 11:39:41 +08:00
Li Shuai
0b42747d0a
Wi-Fi/power save: fix the some mac issues of wifi power save
...
Some APs are configured to hide the SSID, the length field of the SSID element
in the Beacon frame is set to 0. This can cause incorrect parsing of the Beacon
by the Wi-Fi MAC hardware.
Some APs send two beacon frames with different BSSID in a TBTT cycle. After
correctly parsing the beacon of the associated AP, it continue to receive the
other beacon frame, which will cause the MAC to remain in a wait RX/TXING
state, blocking the Wi-Fi go to sleep.
2023-07-20 11:39:41 +08:00
david zuhn
b2134caf0d
spelling correction in documentation
...
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-20 11:22:09 +08:00
zhangyanjiao
7dddb468f4
feat(wifi): Add API to get RSSI info after station connects to AP
...
- Add esp_wifi_sta_get_rssi() function to retrieve RSSI info after station connects to AP
2023-07-20 11:21:38 +08:00
morris
acec0ef0ce
Merge branch 'contrib/github_pr_11878_v5.0' into 'release/v5.0'
...
feat(mcpwm): Allow for pull up/down to be configurable on generators (GitHub PR) (v5.0)
See merge request espressif/esp-idf!24894
2023-07-20 11:19:30 +08:00
Song Ruo Jing
1da5dbf899
fix(gpio): fix potential crash when processing gpio isr
...
If CONFIG_SPIRAM_USE_MALLOC is enabled, and cache is disabled when GPIO ISR is triggered,
it would lead to Guru Meditation Error due to "Cache disabled but cached memory region accessed".
Closes https://github.com/espressif/esp-idf/issues/11876
2023-07-19 20:01:18 +08:00
Jiang Jiang Jian
55976a5bd7
Merge branch 'bugfix/fix_some_bluedroid_bugs_v5.0' into 'release/v5.0'
...
Fixed some bluedroid bugs (backport v5.0)
See merge request espressif/esp-idf!24861
2023-07-19 17:07:33 +08:00
morris
a87a04992e
feat(mcpwm): support open drain output for generator IO
...
Closes https://github.com/espressif/esp-idf/issues/11877
2023-07-19 16:13:12 +08:00
Anne Brondijk
bf5c09aacd
feat(mcpwm): Allow for pull up/down to be configurable on generators
2023-07-19 16:13:11 +08:00
Rahul Tank
baecf8d44f
Merge branch 'feature/services_health_therm_v5.0' into 'release/v5.0'
...
NimBLE: Added health thermometer profile (v5.0)
See merge request espressif/esp-idf!24834
2023-07-19 15:13:20 +08:00
Ivan Grokhotkov
28e6b3565f
esp_system: usb_console support for ESP32-S3
...
Closes https://github.com/espressif/esp-idf/issues/8879
Closes https://github.com/espressif/esp-idf/issues/8738
2023-07-18 18:15:37 +02:00
Ivan Grokhotkov
ce8f2dc894
esp_rom: convert USB related headers to SPDX, update COPYRIGHTS.rst
2023-07-18 18:15:37 +02:00
Ivan Grokhotkov
568e5537b0
esp_rom: implement usb deinit functions added in S3 ROM for S2
...
This cleans up usb_console.c and prepares it for S3 support.
2023-07-18 18:15:37 +02:00
Ivan Grokhotkov
82e8d78b3b
esp_rom: add USB_OTG "port" number for S2 and S3
2023-07-18 18:15:37 +02:00
Ivan Grokhotkov
36bc9ab30c
esp_rom: sync changes for ESP32-S3 USB related files, minor fix for S2
...
Used esp-rom tag esp32s3-20210327 and did manual cleanup.
Rename s_usb_osglue to rom_usb_osglue like it was done for esp32s2.
Some comments in esp32s2 headers are synced from esp32s3.
2023-07-18 18:15:03 +02:00
Ivan Grokhotkov
6f14f5218d
console: minor fixes
...
- wrong comment
- duplicated setvbuf
2023-07-18 18:15:03 +02:00
Jiang Jiang Jian
f2973dc4c6
Merge branch 'bugfix/offchan_action_frame_tx_v50' into 'release/v5.0'
...
Add check to ensure memory allocation for action frame.
See merge request espressif/esp-idf!24611
2023-07-18 21:12:31 +08:00
chenjianhua
902c6973f1
fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection
2023-07-18 11:44:43 +08:00
chenjianhua
7ca9ca6f90
bluedroid: fixed compile warning when optimize for performance
2023-07-18 11:41:44 +08:00
Jiang Jiang Jian
1853b46a37
Merge branch 'backport_v5.0' into 'release/v5.0'
...
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32(backport v5.0)
See merge request espressif/esp-idf!24779
2023-07-18 10:52:39 +08:00
Mahavir Jain
f1d060a511
Merge branch 'bugfix/mbedtls_sha_test_fail_when_run_twice_v5.0' into 'release/v5.0'
...
fix(mbedtls): sha test will fail when run twice (backport v5.0)
See merge request espressif/esp-idf!24828
2023-07-17 20:07:34 +08:00
Mahavir Jain
1315845d75
Merge branch 'fix/mbedtls_internal_shaX_process_api_port_v5.0' into 'release/v5.0'
...
fix(mbedtls): Fix the port for mbedtls_internal_shaX_process api (v5.0)
See merge request espressif/esp-idf!24810
2023-07-17 17:00:44 +08:00
isha.pardikar@espressif.com
642aba7c03
feat (Nimble): Added Health Thermometer as a service
2023-07-17 14:20:05 +05:30
isha.pardikar@espressif.com
71f5dc4973
NimBLE: Added health thermometer profile
2023-07-17 11:24:04 +05:30
jgujarathi
5037c2ec02
fix(action_tx) : Add check to ensure memory allocation for action frame.
...
Add check to ensure memory allocation in tx buffers for off channel action frame.
Prints error message in case of allocation failure in esp_wifi_action_tx_req().
2023-07-17 10:57:03 +05:30
Mahavir Jain
3fc6eb9000
Merge branch 'fix/esp_aes_return_values_v5.0' into 'release/v5.0'
...
fix(mbedtls): fix return values of esp-aes APIs (v5.0)
See merge request espressif/esp-idf!24805
2023-07-17 12:35:24 +08:00
Mahavir Jain
befe69d152
Merge branch 'fix/esp_ptr_check_sign_compare_v5.0' into 'release/v5.0'
...
fix(esp_hw_support): Fix different signed comparison in `esp_ptr_in_drom` (v5.0)
See merge request espressif/esp-idf!24799
2023-07-17 12:34:22 +08:00
Jiang Jiang Jian
7f2c879d71
Merge branch 'bugfix/split_scan_tx_v50' into 'release/v5.0'
...
fix(esp_wifi) : Fix collection of issues in sta roam and scan.
See merge request espressif/esp-idf!24576
2023-07-17 11:17:57 +08:00
Jiang Guang Ming
f418a998a9
fix(mbedtls): sha test will fail when run twice
2023-07-17 10:54:32 +08:00
Jiang Jiang Jian
bb89a5769b
Merge branch 'bugfix/multiple_btm_rrm_task_v50' into 'release/v5.0'
...
Fix race conditions in btm task deletion(v5.0)
See merge request espressif/esp-idf!24766
2023-07-17 10:30:15 +08:00
Jiang Jiang Jian
3d015a44d2
Merge branch 'bugfix/sae_crypto_optimization_esp32_v5.0' into 'release/v5.0'
...
esp_wifi: Optimize sae crypto operations for esp32 (v5.0)
See merge request espressif/esp-idf!24761
2023-07-17 10:29:49 +08:00
Jiang Jiang Jian
87f2e7e415
Merge branch 'bugfix/concurrency_while_eloop_register_v5.0' into 'release/v5.0'
...
esp_wifi: Bugfix concurrency observed while doing eloop register (v5.0)
See merge request espressif/esp-idf!24571
2023-07-17 10:28:36 +08:00
Jiang Jiang Jian
b0b3e0dc70
Merge branch 'bugfix/esp_netif_recieve_returns_v5.0' into 'release/v5.0'
...
esp_netif: Report error if esp_netif_receive() fails (v5.0)
See merge request espressif/esp-idf!24656
2023-07-17 10:28:06 +08:00
Jiang Jiang Jian
4c7e65238f
Merge branch 'bugfix/lwip_dhcps_hook_types_v5.0' into 'release/v5.0'
...
lwip: Fix incorrect invocation of the hook `LWIP_HOOK_DHCPS_POST_APPEND_OPTS` (v5.0)
See merge request espressif/esp-idf!24659
2023-07-17 10:27:06 +08:00
Marius Vikhammer
cf83b324d3
Merge branch 'bugfix/ringbuf_static_object_size_v5.0' into 'release/v5.0'
...
Ringbuf: Fix ordering of StaticRingbuffer_t (v5.0)
See merge request espressif/esp-idf!24594
2023-07-17 10:12:02 +08:00
harshal.patil
f1ee3e41aa
refactor(mbedtls): refactored the return values check in some esp-aes APIs
2023-07-14 21:00:16 +05:30
Rahul Tank
c68e7eab06
Merge branch 'bugfix/fix_config_option_v5.0' into 'release/v5.0'
...
Nimble: Fixed setting macro values based on selected configuration (v5.0)
See merge request espressif/esp-idf!24138
2023-07-14 21:23:51 +08:00
Island
168f2adc28
Merge branch 'update/ble_mesh_debug_log_level_update_v5.0' into 'release/v5.0'
...
update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level (v5.0)
See merge request espressif/esp-idf!24770
2023-07-14 16:56:11 +08:00
harshal.patil
3a73b1bf9b
fix(mbedtls): Fix the port for the mbedtls_internal_shaX_process API
...
- Also added the fix to update intermediate SHA state in the mbedtls_shaX_update API
2023-07-14 14:18:10 +05:30
harshal.patil
400e220f06
fix(mbedtls): Fixed the transmission of return values of the esp-aes APIs
...
- Earlier, some intermediate return values were not stored and returned,
thus incorrect return values used to get transmitted to the upper layer of APIs.
- Also, zeroised the output buffer in case of error condition.
2023-07-14 13:41:13 +05:30
Rahul Tank
bc2772819d
fix (nimble): Fixed setting macro values based on selected configuration
2023-07-14 11:51:14 +05:30
Rahul Tank
b541a23499
Merge branch 'bugfix/fix_pcl_enh_rsp_v5.0' into 'release/v5.0'
...
Nimble: Removed the extra status field in the enh read transmit power level (v5.0)
See merge request espressif/esp-idf!23884
2023-07-14 13:34:36 +08:00
Laukik Hase
38c0475616
fix(esp_hw_support): Fix different signed comparison in esp_ptr_in_drom
...
- Closes https://github.com/espressif/esp-idf/issues/11653
- Closes https://github.com/espressif/esp-idf/issues/11865
2023-07-14 10:52:32 +05:30
Aditya Patwardhan
18df8caaa9
Merge branch 'fix/mpi_incorrect_assert_v5.0' into 'release/v5.0'
...
fix(mbedtls): Fix incorrect assert for H/W MPI operations (v5.0)
See merge request espressif/esp-idf!24785
2023-07-14 12:43:10 +08:00
Marius Vikhammer
d503e1740f
Merge branch 'contrib/github_pr_11652_v5.0' into 'release/v5.0'
...
Fix ULP FSM register macros with addr[9:0] > 0xFF (GitHub PR) (v5.0)
See merge request espressif/esp-idf!24269
2023-07-14 10:06:30 +08:00
morris
9f2fe912e4
Merge branch 'bugfix/fix_s3_adc1_wrong_clk_div_v5.0' into 'release/v5.0'
...
adc: fix adc oneshot mode clk div issue on esp32, esp32s2 and esp32s3 (v5.0)
See merge request espressif/esp-idf!24744
2023-07-13 21:41:16 +08:00
Laukik Hase
4da3e20855
fix(mbedtls): Fix incorrect assert for H/W MPI operations
...
- Closes https://github.com/espressif/esp-idf/issues/11850
2023-07-13 16:24:57 +05:30
KonstantinKondrashov
031af815da
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
...
The commit fixes the case:
If variables in RTC RAM have been moved around by the linker,
they will be filled with garbage data. Any reset other than OTA would work fine
because the variables would still be initialized from the initial bootup.
So now system time will be valid even after OTA.
Closes https://github.com/espressif/esp-idf/issues/9448
2023-07-13 18:30:26 +08:00
zhanghaipeng
e8810e86fc
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32
...
- Add a log statement to print the Bluetooth MAC address
2023-07-13 16:42:48 +08:00
zhanghaipeng
cddca1adf4
fix(bt): Fix ble advertising data length 0 error
...
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-07-13 16:42:48 +08:00
Liu Linyan
c6d190e568
update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level
2023-07-13 14:39:01 +08:00
Rahul Tank
aa4635e52f
Nimble: Removed the extra status field in the enh read transmit power level
2023-07-13 10:48:31 +05:30
Rahul Tank
ff9b9583ab
Merge branch 'bugfix/fix_exception_in_wifi_prov_v5.0' into 'release/v5.0'
...
Nimble: Increase the number of semaphore count for allocation (v5.0)
See merge request espressif/esp-idf!24470
2023-07-13 13:00:35 +08:00
Kapil Gupta
d2f2b952bc
Fix(esp_wifi): Fix race conditions in btm task deletion
2023-07-13 10:27:25 +05:30
Kapil Gupta
4ff52a94f9
esp_wifi: Optimize sae crypto operations for esp32
2023-07-13 09:47:22 +05:30
Marius Vikhammer
03a4137fd4
Merge branch 'ci/fix_efuse_tests' into 'release/v5.0'
...
efuse: Do not load real efuses before some test (some chips have burned efuse blocks)
See merge request espressif/esp-idf!24149
2023-07-13 10:11:32 +08:00