Commit Graph

17532 Commits

Author SHA1 Message Date
Jiang Jiang Jian
df0ec3f5e4 Merge branch 'bugfix/modify_configuration_for_ble_5_v5.0' into 'release/v5.0'
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips (v5.0)

See merge request espressif/esp-idf!22780
2023-03-17 13:56:22 +08:00
Jiang Jiang Jian
b837e910a9 Merge branch 'bugfix/add_debug_check_v5.0' into 'release/v5.0'
Nimble: Added debug relate flag around debug code_v5.0

See merge request espressif/esp-idf!22782
2023-03-17 13:55:54 +08:00
Jiang Jiang Jian
b7ca4320bb Merge branch 'bugfix/atomic_gptimer_fsm_v5.0' into 'release/v5.0'
gptimer: fix race condition between start and stop (v5.0)

See merge request espressif/esp-idf!22712
2023-03-17 10:38:53 +08:00
Marius Vikhammer
14723a07d1 Merge branch 'bugfix/flakey_task_snapshot_tests_v5.0' into 'release/v5.0'
FreeRTOS: Fix flakey task snapshot tests (v5.0)

See merge request espressif/esp-idf!22778
2023-03-17 10:25:25 +08:00
Rahul Tank
32a02459dc Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips 2023-03-16 12:08:58 +05:30
Jiang Jiang Jian
6dc6b57180 Merge branch 'bufix/Backport_some_wifi_lwip_bugs_for_5.0_0314' into 'release/v5.0'
bufix/Backport_some_wifi_lwip_bugs_for_5.0_0314

See merge request espressif/esp-idf!22758
2023-03-16 10:49:26 +08:00
Jiang Jiang Jian
10010b1976 Merge branch 'bugfix/fix_fast_packets_handling_v5.0' into 'release/v5.0'
Nimble: Retry buffer allocation, if previous allocation fails (v5.0)

See merge request espressif/esp-idf!22730
2023-03-16 10:27:42 +08:00
Rahul Tank
ce7df40968 Nimble: Added debug relate flag around debug code 2023-03-15 16:30:29 +05:30
xueyunfei
1d6ba06366 esp_wifi:bugfix for optimize abnormal beacon log 2023-03-15 16:21:02 +08:00
xueyunfei
392533f0e2 Fixed bug for dhcp server support CIDR
Closes https://github.com/espressif/esp-idf/issues/10024

Closes https://github.com/espressif/esp-idf/issues/10559
2023-03-15 16:20:33 +08:00
Darian Leung
e0b1ccf6ce freertos: Fix flakey task snapshot tests
The task snapshot tests use esp_cpu_stall() to stall the other CPU before
manually walking the task lists. However, it is possible that the other CPU
was also accessing the task lists when esp_cpu_stall() is called, leading to
flakey tests

This commit fixes the test by using a 2-way handshake instead of
esp_cpu_stall().
2023-03-15 16:12:24 +08:00
xueyunfei
446b49cc15 dhcp server:bugfix softap excedes the range of subnet 2023-03-15 14:35:42 +08:00
xueyunfei
62983624ae 1 dhcp: Fix dhcp_fine_tmr() not to use netif after free
2 tcp_in/ooseq: Fix incorrect segment trim when FIN moved

* Update submodule: git log --oneline 10197b212a95c49c733fb18ffed56cafb0d196d4..d5e56d06658ae11292be1baea56204f7120b6fa7

Detailed description of the changes:
  - dhcp: Fix dhcp_fine_tmr() not to use netif after free (esp-lwip@d5e56d06)
  - tcp_in/ooseq: Fix incorrect segment trim when FIN moved (esp-lwip@9e62afff)
  - netdb:fixed addrtype and length in gethostbyname (esp-lwip@aee6b3ed)
  - lwip/napt: Added api to enable/disable napt based on lwip netif (esp-lwip@280c3d61)
  - lwip/dhcp: Fixed ondemand fine timers bug, that allowed only one dhcp (esp-lwip@86df9f44)
2023-03-15 14:35:42 +08:00
xueyunfei
3b46f2f698 lwip:optimization dhcp coarse timer 2023-03-15 14:35:42 +08:00
xueyunfei
6f311db07e lwip: solve some routers do not forward multicast packet issue 2023-03-15 14:35:42 +08:00
Marius Vikhammer
84b9cebb04 Merge branch 'docs/broken_links_2_v5.0' into 'release/v5.0'
docs: fix broken links (v5.0)

See merge request espressif/esp-idf!22748
2023-03-15 14:16:15 +08:00
isha.pardikar@espressif.com
ff004d9ab9 wifi_prov_mgr : Fixed return value of characteristic read operation 2023-03-14 06:50:20 +00:00
Jiang Jiang Jian
6db1f2f9a7 Merge branch 'bugfix/some_small_fix_for_sleep_backport_v5.0' into 'release/v5.0'
soc/soc_caps: update soc caps for chips that support power-down of modem hardware(backport v5.0)

See merge request espressif/esp-idf!22720
2023-03-14 13:55:39 +08:00
Marius Vikhammer
420e20f95b docs: fix broken links 2023-03-14 10:24:51 +08:00
Jiang Jiang Jian
89bb920c86 Merge branch 'bugfix/ps_bufferable_mmpdu_v5.0' into 'release/v5.0'
Combine improvements in sa query and buffer mgmt frames on SoftAP, fix NULL ptr dereference (Backport v5.0)

See merge request espressif/esp-idf!22215
2023-03-13 19:39:03 +08:00
Rahul Tank
ceeff063e8 Nimble: Added change to give time to allocate buffers, in case previous
allocation fails

Closes https://github.com/espressif/esp-idf/issues/10849
2023-03-13 15:23:04 +05:30
Jiang Jiang Jian
358ed1af5d Merge branch 'bugfix/add_return_type_nimble_port_init_v5.0' into 'release/v5.0'
Nimble: Added return value (success / failure ) to nimble_port_init  / nimble_port_deinit (v5.0)

See merge request espressif/esp-idf!22191
2023-03-13 15:19:06 +08:00
jingli
833f201610 soc/soc_caps: update soc caps for chips that support power-down of modem hardware 2023-03-13 13:33:18 +08:00
liqigan
109d42bb85 fix HID Host bug when handling the two consecutive connection request
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-13 10:16:51 +08:00
morris
c24222dcde gptimer: fix race condition between start and stop
Added state transition in gptimer_start/stop functions.
So that it's not possible to make a stopped timer continue to run
because of race condition.
2023-03-11 11:42:09 +08:00
Zim Kalinowski
bf082dcd1c Merge branch 'bugfix/spram_and_virt_efuse_can_work' into 'release/v5.0'
esp_psram: Use efuse_ll instead of efuse API

See merge request espressif/esp-idf!22641
2023-03-11 00:00:08 +08:00
gauri patankar
cad044a3b6 wpa_supplicant:Fix potential null pointer dereference 2023-03-10 16:00:55 +05:30
Sarvesh Bodakhe
7999489c6e Combine improvements in sa query and buffer deauth, disassoc, action frames for connected station in sleep mode 2023-03-10 16:00:55 +05:30
morris
ac0237670b Merge branch 'bugfix/fixed_wrong_sdm_struct_sequence_v5.0' into 'release/v5.0'
sdm: fixed potential memory leak (v5.0)

See merge request espressif/esp-idf!22648
2023-03-10 15:19:22 +08:00
KonstantinKondrashov
963a8b1c57 esp_psram: Use efuse_ll instead of efuse API
When the virt efuse mode is on and psram is on as well
then efuse buffer is not filled by efuses (it is filled by 0).
So the psram init func gets wrong pkg_ver = 0.

Closes https://github.com/espressif/esp-idf/issues/10925
Close IDFGH-9576
2023-03-10 05:14:50 +00:00
laokaiyao
a6b190c083 sdm: fixed potential memory leak 2023-03-10 03:48:27 +00:00
Aditya Patwardhan
6692a1346b esp-tls: Fix build issue when esp-tls server session tickets have been enabled.
Closes https://github.com/espressif/esp-idf/issues/10765
2023-03-10 03:46:19 +00:00
Marius Vikhammer
319208c3d1 Merge branch 'bugfix/clang_tidy_and_nvs_memory_issue' into 'release/v5.0'
clang tidy add C++ and nvs memory issue (backports 5.0)

See merge request espressif/esp-idf!22666
2023-03-10 11:42:02 +08:00
Mahavir Jain
045ad4638e Merge branch 'feature/memprot_test_app_v5.0' into 'release/v5.0'
memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3 (v5.0)

See merge request espressif/esp-idf!22582
2023-03-10 11:27:01 +08:00
Aditya Patwardhan
f31e3c1046 Merge branch 'fix/esp32_hw_mpi_data_corruption_v5.0' into 'release/v5.0'
esp32/mpi: Added alternate workaround for MPI data corruption issue (v5.0)

See merge request espressif/esp-idf!22581
2023-03-10 11:17:31 +08:00
Wang Meng Yang
e9092c2d2d Merge branch 'feature/support_ble_write_and_notify_throughput_test_at_the_same_time_v5.0' into 'release/v5.0'
support ble write and notify throughput test at the same time (backport v5.0)

See merge request espressif/esp-idf!22143
2023-03-09 11:38:15 +08:00
Zim Kalinowski
2a804de4b7 Merge branch 'staging/rename_twdt_config_examples_v5.0' into 'release/v5.0'
TWDT: Use the new TWDT Kconfig options in the examples and tests (Backport v5.0)

See merge request espressif/esp-idf!22631
2023-03-08 16:09:58 +08:00
Jakob Hasse
0eddee63e8 bugfix(nvs_flash): fixed potential memory leak in nvs::Storage::init() 2023-03-08 14:13:11 +08:00
Zim Kalinowski
416ada0ce1 Merge branch 'refactor/nvs_allocatable_objects_v5.0' into 'release/v5.0'
refactor(nvs): custom allocator for all objects allocated in NVS (v5.0)

See merge request espressif/esp-idf!21792
2023-03-07 14:15:49 +08:00
morris
a77d7d2343 Merge branch 'bugfix/timg0_disable_v5.0' into 'release/v5.0'
esp_system: Fix TIMG0 still enabled after Timer is freed (v5.0)

See merge request espressif/esp-idf!22630
2023-03-07 11:56:50 +08:00
Omar Chebib
83907aaa20 TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-03-07 10:23:43 +08:00
morris
2b6576ff08 Merge branch 'bugfix/some_small_fix_for_sleep_examples_backport_v5.0' into 'release/v5.0'
examples: some small fix for sleep examples(backport v5.0)

See merge request espressif/esp-idf!22618
2023-03-07 10:20:02 +08:00
morris
4cd4762b1f Merge branch 'bugfix/return_error_when_fail_detect_oct_psram_v5.0' into 'release/v5.0'
esp_psram: return error when fail to detect oct psram (v5.0)

See merge request espressif/esp-idf!22612
2023-03-07 10:18:28 +08:00
Gustavo Henrique Nihei
aab0a5a4a8 esp_system: Fix TIMG0 still enabled after Timer is freed
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-07 10:02:06 +08:00
Gustavo Henrique Nihei
24484887a9 esp_system: Ensure TIMG0 clock is always enabled during normal operation
If the TimerGroup 0 clock is disabled and then reenabled, the watchdog
registers (Flashboot protection included) will be re-enabled, and some
seconds later, will trigger an unintended reset.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-07 10:02:06 +08:00
Laukik Hase
a2dd95434f memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-03-06 12:39:12 +00:00
morris
6b397d5114 Merge branch 'contrib/github_pr_10640_v5.0' into 'release/v5.0'
hal/uart_ll.h: Fix compile with C++ (ESP32-S3/H2) (GitHub PR) (v5.0)

See merge request espressif/esp-idf!22588
2023-03-06 15:35:24 +08:00
Laukik Hase
d53d4ec930 esp32/mpi: Added alternate workaround for MPI data corruption issue
- Use DPORT_WRITE_REG (volatile writes) wrappers to write to the
  MPI peripheral
- Updated the previous workaround added for the same issue as it
  was failing in some long runs and with `COMPILER_OPTIMIZATION_PERF`
  enabled.
- The test performance numbers had to be updated due to the
  performance penalty introduced by this fix.

Closes https://github.com/espressif/esp-idf/issues/10403
2023-03-06 06:43:17 +00:00
jingli
cb64ff74fc system/test: use TEST_ESP_OK instead of ESP_ERROR_CHECK 2023-03-06 11:56:56 +08:00
jingli
38c25ebceb konfig: make rtc fast mem related kconfig depend on SOC_RTC_FAST_MEM_SUPPORTED 2023-03-06 11:53:35 +08:00