Commit Graph

26683 Commits

Author SHA1 Message Date
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
Marius Vikhammer
04758d2782 Merge branch 'contrib/github_pr_10970' into 'release/v5.0'
Bugfix: Fix compile error for ESP32 FSM ULP ADC Example (GitHub PR)

See merge request espressif/esp-idf!22746
2023-03-15 10:47:11 +08:00
Wang Meng Yang
63983fbdfa Merge branch 'bugfix/nimble_ext_adv_v5.0' into 'release/v5.0'
NimBLE: Fixed advertising instance check api in bleprph example (v5.0)

See merge request espressif/esp-idf!22752
2023-03-15 10:33:38 +08:00
Wang Meng Yang
e9e1702b23 Merge branch 'bugfix/IDFGH_9535_v5.0' into 'release/v5.0'
wifi_prov_mgr : Fixed return value of characteristic read operation in nimble (v5.0)

See merge request espressif/esp-idf!22672
2023-03-15 10:33:05 +08:00
isha.pardikar@espressif.com
5158af3fed NimBLE: Fixed advertising instance check api in bleprph example 2023-03-14 12:22:49 +05:30
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
86447548f8 Merge branch 'bugfix/restart_ext_adv_after_discovery_v5.0' into 'release/v5.0'
Nimble: Updated bleprph example to re-enable ext adv after advertising is completed (v5.0)

See merge request espressif/esp-idf!22542
2023-03-14 13:59:53 +08:00
Jiang Jiang Jian
0c1e80fc5b Merge branch 'feature/add_pcl_example_blecent_v5.0' into 'release/v5.0'
Nimble:Added power control API usage demo in blecent app (v5.0)

See merge request espressif/esp-idf!22541
2023-03-14 13:59:30 +08:00
Jiang Jiang Jian
8ebb50906f Merge branch 'bugfix/set_component_relative_path_v5.0' into 'release/v5.0'
Nimble: component path relative to IDF (v5.0)

See merge request espressif/esp-idf!22545
2023-03-14 13:59:10 +08:00
wuzhenghui
64d5421d8b deep sleep: close rf to optimize sleep current 2023-03-14 13:57:42 +08: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
Zim Kalinowski
e14c47ee44 Merge branch 'bugfix/ulp_docs_incorrect_jump_desc_v5.0' into 'release/v5.0'
docs: Updated incorrect description for ULP FSM JUMPR and JUMPS instructions (v5.0)

See merge request espressif/esp-idf!22731
2023-03-14 03:59:10 +08:00
wuzhenghui
568dd3d823 Revert "optimize deep sleep current in wifi softap mode"
This reverts commit 344ec80fad.
2023-03-13 20:49:36 +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
Sudeep Mohanty
316a1de567 docs: Updated incorrect description for ULP FSM JUMPR and JUMPS instructions
This commit updates the incorrect description for the JUMPR and JUMPS
instructions for ULP FSM on esp32/s2/s3.

Closes https://github.com/espressif/esp-idf/issues/10923
2023-03-13 11:05:52 +01: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
Rahul Tank
28aa12ed01 Nimble:Change component path to relative path for remaining examples 2023-03-13 14:24:08 +05:30
Leonardo Bispo
861517ecb0 component path relative to IDF
Change the component path to relative to the IDF as the build will fail if the example is moved from its folder.

(cherry picked from commit 4011f5ce595d114c69c46298088440a230eed937)
Signed-off-by: Rahul Tank <rahul.tank@espressif.com>
2023-03-13 14:22:54 +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
Jiang Jiang Jian
41e52fc5e9 Merge branch 'bugfix/fix_hidh_connection_bug_v5.0' into 'release/v5.0'
Bugfix/Fix HID Host bug when handling the two consecutive connection request[backport 5.0]

See merge request espressif/esp-idf!22721
2023-03-13 15:07:03 +08:00
xiongweichao
46e7347177 bt:Added a parameter to tell the user the result of the pass through command implementation 2023-03-13 15:03:55 +08:00
Jiang Jiang Jian
15b160ae55 Merge branch 'bugfix/remove_Wno_format_in_bluedroid_bt_examples_v5.0' into 'release/v5.0'
bt: Remove `-Wno-format` compile option for bluedroid classic bluetooth examples(v5.0)

See merge request espressif/esp-idf!21870
2023-03-13 14:29:25 +08:00
Jiang Jiang Jian
3d3df29792 Merge branch 'bugfix/wifi_enterprise_example_typo_v5.0' into 'release/v5.0'
esp_wifi: fix typo in wifi_enterprise example README (Backport v5.0)

See merge request espressif/esp-idf!22650
2023-03-13 14:06:12 +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
Kampi
7905aa2c27 Bugfix: Fix compile error with out of order designated initializer when using C++20 in ESP32 ULP ADC example 2023-03-11 14:42:18 +01: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
Roman Leonov
35068ee7b9 usb_host: add recovering interval after SetAddress(). Possibility to change constant delay value via menuconfig.
Closes https://github.com/espressif/esp-idf/issues/10444
Closes https://github.com/espressif/esp-idf/issues/10718
2023-03-10 12:40:01 +01: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
Wang Meng Yang
1ea59bd351 Merge branch 'bugfix/spp_server_doc_v5.0' into 'release/v5.0'
SPP server documentation fix (v5.0)

See merge request espressif/esp-idf!22678
2023-03-10 17:22:53 +08:00
wangmengyang
57b26802a5 bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
2023-03-10 07:37:24 +00:00
Rahul Tank
89f4ed527e Nimble:Added power control API usage demo in blecent app 2023-03-10 12:59:11 +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
Mahavir Jain
83e7710c2e Merge branch 'bugfix/fix_build_issue_esp_tls_server_session_tickets_v5.0' into 'release/v5.0'
esp-tls: Fix build issue when esp-tls server session tickets have been enabled. (v5.0)

See merge request espressif/esp-idf!22660
2023-03-10 13:49:40 +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