Commit Graph

21205 Commits

Author SHA1 Message Date
Rahul Tank
c0cfdd9c46 fix(nimble): Handle all 0s address of external controllers during IRK generation 2023-12-16 17:31:57 +05:30
Rahul Tank
3c49099503 fix(nimble): Added NULL peer addr check 2023-12-15 18:06:40 +05:30
Rahul Tank
8a6d244a21 Merge branch 'bugfix/fix_sm_inject_return_value_v5.1' into 'release/v5.1'
fix(nimble): Added change to return success for API execution (v5.1)

See merge request espressif/esp-idf!27727
2023-12-15 19:33:16 +08:00
Cao Sen Miao
dfff867379 fix(tempertuer_sensor): Fix regs on temperature sensor is not volatile due to GCC bug 2023-12-15 16:41:16 +08:00
Xue yun fei
965c1da3e0 optimize(lwip):when psram is enable the number of ooseq is not limited 2023-12-15 14:11:38 +08:00
Rahul Tank
820d4a92d2 Merge branch 'feature/current_time_service_v5.1' into 'release/v5.1'
feat(nimble): Added Example support for Current Time Service (v5.1)

See merge request espressif/esp-idf!27262
2023-12-15 13:18:24 +08:00
Jiang Jiang Jian
e51e8a0948 Merge branch 'bugfix/fix_esp32h2_system_retention_restore_backup_v5.1' into 'release/v5.1'
fix(esp_hw_support): fix esp32h2 system link restore override cpu clk configuration(v5.1)

See merge request espressif/esp-idf!27814
2023-12-15 10:38:24 +08:00
Rahul Tank
4c288321cb fix(nimble): Added change to return success for API execution 2023-12-14 20:57:30 +05:30
Rahul Tank
694c9ccdf5 Merge branch 'bugfix/authcomplete_failure_v5.1' into 'release/v5.1'
fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value (v5.1)

See merge request espressif/esp-idf!27620
2023-12-14 23:19:14 +08:00
Roshan Bangar
e8503d6efe feat(nimble): Added example support for Current Time Service 2023-12-14 20:24:20 +05:30
David Čermák
24e4b87925 Merge branch 'feature/eth_spi_abstraction_v5.1' into 'release/v5.1'
Abstraction of SPI driver for SPI Ethernet modules (v5.1)

See merge request espressif/esp-idf!27640
2023-12-14 21:49:00 +08:00
zhanghaipeng
bd1dc8dfaf fix(bt/bluedroid): Fix ble gattc deregister 2023-12-14 17:53:22 +08:00
Darshan Dobariya
6bae5e5d6f fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value (v5.1) 2023-12-14 14:13:45 +05:30
Rahul Tank
3ed9c70aa3 Merge branch 'bugfix/remove_rpa_rec_v5.1' into 'release/v5.1'
fix(nimble): Handled the deletion of RPA mapping(v5.1).

See merge request espressif/esp-idf!27319
2023-12-14 16:40:23 +08:00
Abhinav Kudnar
eef85a92f4 fix(nimble): Handled the deletion of RPA mapping. 2023-12-14 09:41:07 +05:30
Jiang Jiang Jian
87cd764d6c Merge branch 'bugfix/fix_issuse_in_scan_and_mesh_v5.1' into 'release/v5.1'
fix(wifi): fix issues in scan and wifi mesh (backport v5.1)

See merge request espressif/esp-idf!27844
2023-12-14 12:09:31 +08:00
Rahul Tank
0eec2b50be Merge branch 'bugfix/add_legacy_adv_clear_vsc_v5.1' into 'release/v5.1'
fix(nimble): Add support for VSC to clear legacy adv memory (v5.1)

See merge request espressif/esp-idf!27471
2023-12-14 12:01:09 +08:00
cjin
7d2ab4c14d fix(pm): place extra link opt in iram 2023-12-14 11:17:54 +08:00
morris
eb7022dd06 Merge branch 'contrib/github_pr_12559_v5.1' into 'release/v5.1'
fix(spi): Correct REG_SPI_BASE(i) macro for all targets (GitHub PR) (v5.1)

See merge request espressif/esp-idf!27714
2023-12-14 11:08:03 +08:00
morris
1b78d57496 Merge branch 'bugfix/bod_reset_c6_h2_v5.1' into 'release/v5.1'
fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again(backport v5.1)

See merge request espressif/esp-idf!27723
2023-12-14 11:05:55 +08:00
linruihao
45e96ae1c3 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(9129dec) 2023-12-13 19:53:06 +08:00
Ondrej Kosta
51aad1d75b feat(esp_eth): abstraction of SPI driver for SPI Ethernet modules 2023-12-13 10:44:23 +01:00
zhangyanjiao
ed2a5f0f0e fix(wifi): fix issues in scan and wifi mesh
1. fix(wifi): fix the crash issue when clear scan ap list
2. fix the bug that station can't found AP when the authmode is WPA
3. fix wifi mode error when mesh start after station has connected to router
2023-12-13 17:02:13 +08:00
zhangyanjiao
6e218ceefe feat(wifi): add new api to get one scan ap record 2023-12-13 16:49:04 +08:00
Island
c6a9a06856 Merge branch 'bugfix/fix_some_ble_bugs_v5.1' into 'release/v5.1'
Fixed some BLE bugs (backport v5.1)

See merge request espressif/esp-idf!27695
2023-12-13 11:55:52 +08:00
Martin Vychodil
7a7d6aad41 Merge branch 'fix/esp_vfs_fat_sdcard_format_workbuf_leak_v5.1' into 'release/v5.1'
fix: esp_vfs_fat_sdcard_format workbuf memory leak (v5.1)

See merge request espressif/esp-idf!27504
2023-12-12 22:15:52 +08:00
gongyantao
407376b6e6 fix(bt/bluedroid): fixed build error when compiler in performace mode
Closes https://github.com/espressif/esp-idf/issues/12751
2023-12-12 19:04:27 +08:00
Jiang Jiang Jian
1a6a941521 Merge branch 'bugfix/connect_issue_for_zero_rssi_v5.1' into 'release/v5.1'
fix(esp_wifi): Fix issue of station disconnecting immediately after scanning  (Backport v5.1)

See merge request espressif/esp-idf!26743
2023-12-12 14:00:24 +08:00
Jiang Jiang Jian
9f76b1a57b Merge branch 'fix/wrong_order_of_includes_in_esp_tls_v5.1' into 'release/v5.1'
fix(esp-tls): Fix missing header files in esp_tls_errors.h header file (v5.1)

See merge request espressif/esp-idf!27704
2023-12-12 13:44:36 +08:00
Jiang Jiang Jian
7e47921f12 Merge branch 'bugfix/connect_after_scan_v5.1' into 'release/v5.1'
fix(conn): Change second connect delay time to 730 (v5.1)

See merge request espressif/esp-idf!27835
2023-12-12 13:43:34 +08:00
Jiang Jiang Jian
dbc13bc2ef Merge branch 'bugfix/fix_rtc_us_to_cycle_div_zero_in_deepsleep_v5.1' into 'release/v5.1'
fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process (backport v5.1)

See merge request espressif/esp-idf!27764
2023-12-12 13:43:25 +08:00
Jiang Jiang Jian
72ce0187c9 Merge branch 'contrib/github_pr_12460_v5.1' into 'release/v5.1'
fixing OTA write up to SPI_FLASH_SEC_SIZE margins (GitHub PR) (v5.1)

See merge request espressif/esp-idf!27644
2023-12-12 13:41:33 +08:00
Mahavir Jain
4aa464a4ea Merge branch 'fix/aes_mpi_interrupt_allocation_workflow_v5.1' into 'release/v5.1'
fix(mbedtls): move interrupt allocation during initialization phase (v5.1)

See merge request espressif/esp-idf!27204
2023-12-12 11:44:42 +08:00
Shu Chen
09c7104752 Merge branch 'fix/coexist_reg_esp32c6_set_default_value_v5.1' into 'release/v5.1'
fix(esp_coex): fix esp32c6 coex reg reset issue (backport v5.1)

See merge request espressif/esp-idf!27829
2023-12-12 11:35:56 +08:00
Rahul Tank
a0b2682e58 fix(nimble): Add support for VSC to clear legacy adv memory
Legacy adv does not have an API for clear adv memory in controller.
 Added VSC for same.
2023-12-12 07:49:18 +05:30
Sarvesh Bodakhe
d1e31a4194 fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero 2023-12-11 14:58:16 +05:30
Jiang Jiang Jian
70f1bd582f Merge branch 'bugfix/backport_wifi_fix_1208_v5.1' into 'release/v5.1'
fix(wifi): backport some wifi bugfix(v5.1)

See merge request espressif/esp-idf!27766
2023-12-11 17:26:06 +08:00
wuzhenghui
5dac3d9e03 fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process
Closes https://github.com/espressif/esp-idf/issues/12695
2023-12-11 09:24:07 +00:00
ding huan
f4e724a93b fix(conn): Change second connect delay time to 730 2023-12-11 16:57:09 +08:00
xiaqilin
de2c208994 fix(esp_coex): fix esp32c6 coex reg reset issue 2023-12-11 15:57:36 +08:00
Jiang Jiang Jian
e91322891c Merge branch 'fix/esp32c6_sleep_pll_issue_v5.1' into 'release/v5.1'
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue (backport v5.1)

See merge request espressif/esp-idf!27339
2023-12-11 15:12:51 +08:00
Jiang Jiang Jian
cda441f47f Merge branch 'bugfix/cts_handle_invalid_year_val_v5.1' into 'release/v5.1'
fix(nimble): Handled invalid write on year value in Current Time Service (v5.1)

See merge request espressif/esp-idf!27462
2023-12-11 15:12:14 +08:00
Jiang Jiang Jian
6836ffd8c9 Merge branch 'fix/check_integrity_on_used_blocks_v5.1' into 'release/v5.1'
heap: fix integrity check on used blocks by the tlsf component (backport v5.1)

See merge request espressif/esp-idf!26563
2023-12-11 15:11:39 +08:00
Jiang Jiang Jian
e0cd5b7aa5 Merge branch 'backport/add_config_to_set_custom_mac_as_base_mac_v5_1' into 'release/v5.1'
feat(mac): Add a configuration to set custom MAC as base MAC(Backport V5.1)

See merge request espressif/esp-idf!27737
2023-12-11 15:11:19 +08:00
Jiang Jiang Jian
8a47b0776b Merge branch 'feature/refactor_some_coexist_sections_v5.1' into 'release/v5.1'
Feature/refactor some coexist sections v5.1

See merge request espressif/esp-idf!27367
2023-12-11 14:50:43 +08:00
Aditya Patwardhan
f62e7fd4e8
fix(soc): esp32s3/Fix the DROM_DROM_HIGH limit
Previously the DROM_HIGH_ADDR for esp32s3 was 0x3D000000, which
    convers only 16 MB of address range. But esp32s3 supports 32 MB
    external memory. So this address should be 0x3E000000
2023-12-11 12:17:31 +05:30
harshal.patil
e8a5d9ef98 fix(mbedtls/aes): fix AES interrupt allocation for AES-GCM operations 2023-12-11 06:46:24 +00:00
harshal.patil
4c30f2a4a0 fix(mbedtls): move interrupt allocation during initialization phase 2023-12-11 06:46:24 +00:00
wuzhenghui
3646b5d0c1
fix(esp_hw_support): fix esp32h2 system link restore override cpu clk configuration 2023-12-11 11:42:56 +08:00
Jiang Jiang Jian
05c5d04734 Merge branch 'feature/reinitialize_icg_map_in_modem_module_enable_v5.1' into 'release/v5.1'
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable (backport v5.1)

See merge request espressif/esp-idf!27767
2023-12-11 10:57:48 +08:00
Island
5bd0ae4dea Merge branch 'bugfix/ble_update_lib_20231201_v5.1' into 'release/v5.1'
update lib on release/v5.1

See merge request espressif/esp-idf!27587
2023-12-11 10:30:23 +08:00
Adam Múdry
6250af8ed1 fix: esp_vfs_fat_sdcard_format workbuf memory leak 2023-12-11 00:27:44 +00:00
liuning
ae07349ec4 feat(coex): apply struct for coex version 2023-12-08 13:06:55 +00:00
liuning
834968796a feat(coex): rename coexist sections 2023-12-08 13:06:55 +00:00
chenjianhua
15c8d7f65f fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(65db61f)
- Fixed remove and clear white list
2023-12-08 19:54:51 +08:00
chenjianhua
5f2c8edd27 fix(bt): Update bt lib for ESP32(fa43201)
- Fixed assert for instant passed workaround
- Fixed scan evt timeout
- Fixed random address setting when scanning
2023-12-08 19:54:39 +08:00
shangke
4d6be44b25 fix(bt/controller): Fixed some HCI commands parameter 2023-12-08 19:54:39 +08:00
chenjianhua
4d546878b7 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
- Fixed assert when llcp instant passed
2023-12-08 19:54:39 +08:00
chenjianhua
b1421ac4af fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(70ab55f)
- Fixed assert for instant passed workaround
- Fixed add RPA to white list
- Fixed AES encryption for RPA resolution
2023-12-08 19:54:39 +08:00
chenjianhua
2dea0ef6ef fix(bt/bluedroid): Fixed add RPA to white list 2023-12-08 19:54:39 +08:00
luomanruo
3cdbb0406d ble(fix): Fixed crash issue when reset event queue 2023-12-08 17:21:19 +08:00
luomanruo
9b0e4ee24a ble(fix): clear event queue when init event queue
ble: update log module on ESP32C2, ESP32H2 and ESP32C6
2023-12-08 17:20:55 +08:00
luomanruo
4f27be7127 ble(update):
Update c2 lib to 47a787f0
Update h2 lib to 73452eac
Update c6 lib to 73452eac
2023-12-08 17:19:57 +08:00
xiaqilin
ef4f420663 fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue
* switch root clk src to PLL for modem reg opt and added callback
* register power_down/power_up callback in ieee802154 driver for esp32c6
* remove software regdma opt in bt
2023-12-08 08:03:32 +00:00
Mahavir Jain
d15ef874a7 Merge branch 'bugfix/fix_http_client_async_mode_v5.1' into 'release/v5.1'
fix(esp_http_client): Fix esp_http_client async mode (v5.1)

See merge request espressif/esp-idf!27514
2023-12-08 14:25:55 +08:00
wuzhenghui
4a7d9dd387
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable 2023-12-08 14:22:36 +08:00
Kapil Gupta
b3c7123568 fix(esp_wifi): Drop fragmented AMPDU(fixCVE-2020-26142) 2023-12-08 14:17:02 +08:00
alanmaxwell
b7d599984b fix(wifi): optimize wifi bin size and fix some issue
1.Optimize bin size for STA only mode
2.Change fragment threshold to 256
3.Support fragment for LR mode
4.Fix ampdu duration issue
5.Fix rx fragment fail in Open mode.
2023-12-08 14:16:47 +08:00
Shu Chen
54f2536222 Merge branch 'backport/router_forwarding_flag_set_v51' into 'release/v5.1'
feat(lwip): support NA router farwording flag set(Backport V5.1)

See merge request espressif/esp-idf!27630
2023-12-08 12:24:38 +08:00
Mahavir Jain
ca02c6d274 Merge branch 'fix/rng_register_prefix_discrepency_newer_targets_v5.1' into 'release/v5.1'
Fix: RNG register prefix discrepancy for ESP32C6 and ESP32H2 (v5.1)

See merge request espressif/esp-idf!27684
2023-12-08 12:01:36 +08:00
Guillaume Souchere
27a78278a6 fix(heap): Patch tlsf_check_pool in ROM heap
The integrity_walker now calls the integrity check hook to control
free AND used blocks of memory in the TLSF pool. This integrity walker
function is called from tlsf_check_pool.

This commit creates a patch of integrity_walker function to update the
outdated implementation in the ROM.
2023-12-08 03:19:04 +00:00
Guillaume Souchere
6ac25c9324 fix(heap): Fixed integrity check on used blocks by the tlsf component
This commit updates the tlsf submodule to include the modification made in the component
aiming to perform integrity check on all blocks (not only the free ones).
Added test to test the fix in test_apps/heap_tests.

Fixes https://github.com/espressif/esp-idf/issues/12231
2023-12-08 03:19:04 +00:00
Jiang Jiang Jian
bc3a75d5ba Merge branch 'fix/esp_netif_lock_v5.1' into 'release/v5.1'
fix(esp_netif): Lock netif list with TCPIP context (v5.1)

See merge request espressif/esp-idf!26710
2023-12-08 11:18:09 +08:00
morris
5e29bd5370 Merge branch 'bugfix/fix_adc_continuous_do_not_rst_apb_clk_v5.1' into 'release/v5.1'
fix(adc): fix adc continuous get less results beacuse do not reset apb clk (v5.1)

See merge request espressif/esp-idf!27604
2023-12-07 21:27:05 +08:00
Jiang Jiang Jian
fb511f4ec6 Merge branch 'bugfix/nan_sd_dp_timer_fixes_v5.1' into 'release/v5.1'
Fix NAN service discovery, datapath and timer bugs (Backport v5.1)

See merge request espressif/esp-idf!27522
2023-12-07 21:17:31 +08:00
Jiang Jiang Jian
493ecf59d4 Merge branch 'bugfix/fix_dhcp_subnet_option_api_dos_not_work_issue_5.1' into 'release/v5.1'
Fix(dhcps):fix dhcp subnet option api dos not work issue 5.1

See merge request espressif/esp-idf!27675
2023-12-07 21:09:38 +08:00
Jiang Jiang Jian
977098edca Merge branch 'feature/support_ext1_clear_spec_pins_v5.1' into 'release/v5.1'
fix(pm/ext1): fix c6 h2 lp_aon_ll_ext1_set_wakeup_pins func

See merge request espressif/esp-idf!27552
2023-12-07 21:07:54 +08:00
Harshit Malpani
1bce7d255d fix(esp-tls): Add headers in esp_tls_errors.h header file
Closes https://github.com/espressif/esp-idf/issues/12541
2023-12-07 10:13:43 +00:00
kohait00
b3d77e3ea5 fix(app_update): avoid erasing an extra sector than the actual required size
OTA update used to fail if `firmware_size == partition_size`, because the code was trying to
erase one additional sector beyond the space reserved for the firmware partition.

This commit fixes the problem and OTA update can work if the firmware
size exactly matches the allocated partition size.

Closes https://github.com/espressif/esp-idf/pull/12460
2023-12-07 10:08:08 +00:00
morris
8425cada28 Merge branch 'bugfix/fix_adc_cali_error_after_light_sleep_wake_on_h2_v5.1' into 'release/v5.1'
adc: fix calibration error when waking up from light sleep on H2 and enable test (v5.1)

See merge request espressif/esp-idf!27603
2023-12-07 17:49:06 +08:00
Harshit Malpani
19355c0fef fix(esp_http_client): Fix esp_http_client async mode
Closes https://github.com/espressif/esp-idf/issues/12358
2023-12-07 06:47:37 +00:00
zwx
923ce6a4b2 feat(mac): Add a configuration to set custom MAC as base MAC 2023-12-07 14:15:40 +08:00
harshal.patil
6a990a37ce
fix(soc/esp32h2): Fix llperi_rng_data field discrepancy 2023-12-07 11:42:00 +05:30
Shyamal Khachane
9cdf839cf6 fix(esp_wifi): Fix NAN service discovery, datapath and timer bugs
1. Fix crash while cancelling NAN service
2. Avoid possible crash scenarios while forming datapath
3. Modify peer records structure thus fixing issues in datapath establishment
4. Fix timer out of bound issue causing "No timer handle" warning
5. Fix miscellaneous service discovery and datapath issues
2023-12-07 03:54:55 +00:00
Mu Hai Dong
e86ff640f8 fix(wifi): free beacon eb when softap destroy 2023-12-07 03:54:55 +00:00
Lou Tianhao
c1782faf0f fix(pm/ext1): fix c6 h2 lp_aon_ll_ext1_set_wakeup_pins func 2023-12-07 03:52:22 +00:00
liuning
46d4c6cc0a fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock 2023-12-07 03:44:38 +00:00
liuning
3515b1d5c8 fix(wifi): fix wifi init reentrant issue 2023-12-07 03:44:38 +00:00
xueyunfei
97b9c24c62 fix(dhcp server):dhcp server can not restore address pool 2023-12-07 02:59:50 +00:00
xueyunfei
c69f3aec91 Fix(dhcps):fix dhcp subnet option api dos not work issue 2023-12-07 02:59:50 +00:00
zwx
5413b6b794 feat(lwip): support NA router farwording flag set
* Update submodule: git log --oneline
  4a8286ab8bcf983f22421e3d4be650837b5eb277..542ba2997f6cc14fe9c3d781bf9b0d890cd70bb1
- fix router forwarding flag set (espressif/esp-lwip@542ba299)
2023-12-07 10:52:10 +08:00
zwx
7f12a645ce fix(vfs): fix uart malloc when locates ISR context in IRAM 2023-12-07 10:43:58 +08:00
Cao Sen Miao
9dd90e2d9b fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again 2023-12-07 10:33:58 +08:00
Shu Chen
5bdcaef8c9 Merge branch 'fix/ieee802154_sleep_config_v5.1' into 'release/v5.1'
fix(ieee802154): fix ieeee802154 sleep enable configuration dependency issue (backport v5.1)

See merge request espressif/esp-idf!27466
2023-12-07 10:05:17 +08:00
Roland Dobai
ca5c8deb7e Merge branch 'fix/fatfsgen_construct_v5.1' into 'release/v5.1'
fix(tools): Fix fatfsgen construct dependency (v5.1)

See merge request espressif/esp-idf!27655
2023-12-07 07:18:49 +08:00
xiaqilin
f38e56e685 fix(ieee802154): fix ieeee802154 sleep enable configuration dependency issue 2023-12-06 12:43:58 +00:00
Roshan Bangar
a496e87d73 fix(nimble): Handled invalid write on year value in Current Time Service 2023-12-06 18:03:59 +05:30
Alexey Gerenkov
c42c37aff7 Merge branch 'save_isr_ctx_to_coredump_v5.1' into 'release/v5.1'
feat(coredump): save isr context to coredump elf file (v5.1)

See merge request espressif/esp-idf!27454
2023-12-06 18:38:54 +08:00
gaoxu
6190b3f7c9 fix(adc): restore cali registers after light sleep wake up on H2 and enable test 2023-12-06 10:19:52 +00:00
gaoxu
98ec583690 ci(adc): add a test that adc continuous read after restarting 2023-12-06 10:19:45 +00:00