Commit Graph

20804 Commits

Author SHA1 Message Date
wanglai@espressif.com
186ce934ed feat(bt/bluedroid): Add HFP config for BQB test 2023-09-26 15:10:03 +08:00
Rahul Tank
aaded3fd59 Merge branch 'bugfix/remove_unused_coex_header_v5.1' into 'release/v5.1'
remove(nimble): Removed unused coex header inclusion (v5.1)

See merge request espressif/esp-idf!26179
2023-09-26 14:27:59 +08:00
liqigan
f8402c7721 fix(bt/bluedroid): Fix the issue for HID congestion checking 2023-09-26 14:13:36 +08:00
wanglai@espressif.com
19575dbe3c feat(bt/bluedroid): Add flags for BQB auto test of L2CAP
1: add sdp_bqb_disable_flag to avoid running sdpu_build_n_send_error.
2: add sdp_bqb_inact_timeout_flag to set the SDP inactivity timeout to 90 seconds.
3: add l2cap_bqb_bad_cmd_len_rej_flag to reject the C-Frame with invalid PDU length
4: add l2cap_bqb_ertm_mode_included_flag to set L2CAP_FCR_ERTM_MODE for most L2CAP cases
2023-09-26 14:06:14 +08:00
Jiang Jiang Jian
0d2a52491b Merge branch 'bugfix/check_mapping_target_conflict_v5.1' into 'release/v5.1'
fix(ldgen): check target conflict for entries with section aliases (v5.1)

See merge request espressif/esp-idf!26123
2023-09-26 13:56:27 +08:00
Jiang Jiang Jian
face850973 Merge branch 'feature/rename_wpa2_ent_to_eap_client_v5.1' into 'release/v5.1'
WiFi: Rename WPA2 enterprise APIs to EAP Client. (v5.1)

See merge request espressif/esp-idf!26082
2023-09-26 13:30:52 +08:00
Jiang Jiang Jian
4ac53c7cd7 Merge branch 'bugfix/add_params_check_for_hci_v5.1' into 'release/v5.1'
Fixed some HCI commands parameter (backport v5.1)

See merge request espressif/esp-idf!26147
2023-09-26 10:37:02 +08:00
Wu Meng Shi
d21aa2330a Fix PB-GATT adv is reported to the app layer too frequently (v5.1) 2023-09-26 10:26:30 +08:00
wuzhenghui
9e0383cc50 fix(sleep): fix pma cfg csr regs bad retention 2023-09-25 23:52:27 +00:00
wuzhenghui
b17c8aa3d4 fix(sleep): fix modem reject the deepsleep request 2023-09-25 23:52:01 +00:00
David Cermak
1363566b73 fix(http_client): Set common tcp config to both TCP and SSL transport
Foundation transport contained TCP properties for both TCP and SSL
transport, so it was enough to set the TCP connection properties
(keepalive, interface binding) to one transport only. After merging
5778a7c7 we have separate TCP properties for these transports and need
to set the same for both.
This commit also fixes unnecessary allocation of 1 more byte for if_name

Closes https://github.com/espressif/esp-protocols/issues/322
2023-09-25 14:56:55 +02:00
WanqQixiang
b46a32cd92 fix(openthread): update openthread_br lib 2023-09-25 19:42:53 +08:00
Shu Chen
3f02e5e901 feat(openthread): enable time sync feature 2023-09-25 19:42:36 +08:00
zhangwenxu
8a565641c2 feat(openthread): Add some configuration for customer using 2023-09-25 19:41:57 +08:00
xiaqilin
9a2b707e76 fix(ieee802154): using link0/2 for ieee802154 in esp32h2 chip 2023-09-25 17:26:24 +08:00
harshal.patil
f6b589e275
feat(esp_hw_support): Added locking mechanism for the ECDSA and ECC peripheral 2023-09-25 14:33:04 +05:30
harshal.patil
710b9d228b
feat(esp_hw_support): Add esp_crypto_lock layer for esp32c2 2023-09-25 14:31:18 +05:30
chaijie@espressif.com
80f7e913a0 fix(sleep): fix inproper sleep vol param for esp32c6 & esp32h2 2023-09-25 16:39:46 +08:00
Sonika Rathi
199205026e UART: UART_SELECT_WRITE_NOTIF event added in UART driver
Closes https://github.com/espressif/esp-idf/issues/10986
2023-09-25 10:36:44 +02:00
morris
1cbed4e2c1 fix(intr): always allocate memory from internal ram
Closes https://github.com/espressif/esp-idf/issues/12271
2023-09-25 15:41:15 +08:00
cjin
179e3293be change: remove has clock bug macro for esp32h2 2023-09-25 13:40:26 +08:00
cjin
0e668ddf63 feat(ble): update ble sleep logic for esp32h2 2023-09-25 13:40:10 +08:00
xiaqilin
1d02b6c1c6 feat(ieee802154): update ieee802154 sleep logic and support modem sleep 2023-09-25 13:39:59 +08:00
Kapil Gupta
a9714ebe11 change(wifi): Add dependency of group 19 for MbedTLS crypto 2023-09-25 10:55:07 +05:30
Kapil Gupta
52120cde26 change(wifi): Add supplicant's public API header files to doc 2023-09-25 10:54:52 +05:30
Rahul Tank
d49c020750 remove(nimble): Removed unused coex header inclusion 2023-09-25 10:38:27 +05:30
Cao Sen Miao
518212a8f6 fix(usb_serial_jtag): Clean-up usb_serial_jtag lose byte fix, Closes https://github.com/espressif/esp-idf/pull/11344 2023-09-25 11:05:05 +08:00
Chip Weinberger
0ed7093fb2 [Usb Serial JTAG] printing to console could sometimes skip bytes 2023-09-25 11:04:55 +08:00
Cao Sen Miao
69d283b9ae fix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly,
Closes https://github.com/espressif/esp-idf/issues/12119,
Closes https://github.com/espressif/esp-idf/pull/11344,
Closes https://github.com/espressif/esp-idf/issues/9318
Closes https://github.com/espressif/esp-idf/issues/11192
2023-09-25 11:04:16 +08:00
Cao Sen Miao
73c78c20a6 fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together 2023-09-25 10:57:06 +08:00
chenqingqing
36563c86be fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics 2023-09-25 10:29:34 +08:00
Ondrej Kosta
09f6dfa2c4 feat(esp_eth): added IRAM optimization option for internal EMAC 2023-09-25 02:10:29 +00:00
shangke
22ab7ff325 fix(bt/controller): Fixed some HCI commands parameter
1: add param check for HCI_Recevie_Synchronization_Train.
2: add param check for HCI_Set_Connectionless_Peripheral_Broadcast.
3: fix slave cannot take a secure authentication.
2023-09-22 15:02:17 +08:00
harshal.patil
85239ce2af
feat(bootloader): Update micro-ecc version to v1.1
This fix ensures that https://nvd.nist.gov/vuln/detail/CVE-2020-27209 is not
reported by the ESP-IDF SBOM tool. Please note that, this CVE was anyways not
applicable for ESP32 platform, as the bootloader (user of micro-ecc library)
do not perform signing on the device, its only verification that happens in
secure-boot-v1 case.
2023-09-22 10:49:43 +05:30
laokaiyao
d57651b13c ci(adc): increase all adc performance test threshold on c6 (v5.1) 2023-09-22 12:37:44 +08:00
morris
6ff4bb0994 Merge branch 'refactor/esp_timer_etm_test_v5.1' into 'release/v5.1'
test(etm): refactor systimer etm test case (v5.1)

See merge request espressif/esp-idf!26093
2023-09-22 11:09:55 +08:00
You Wei
de93968670 fix(ldgen): check target conflict for entries with section alias 2023-09-21 19:38:49 +08:00
Jiang Jiang Jian
aececf745f Merge branch 'bugfix/some_wifi_fixes_v5.1' into 'release/v5.1'
fix(esp_wifi): Some Wi-Fi bug fixes

See merge request espressif/esp-idf!26084
2023-09-21 18:46:02 +08:00
Jiang Jiang Jian
02ea722492 Merge branch 'change/optimize_sniff_request_v5.1' into 'release/v5.1'
Change(bt/bluedroid): Limit sniff request when pending mode change event[backport 5.1]

See merge request espressif/esp-idf!26053
2023-09-21 17:19:06 +08:00
Jiang Jiang Jian
9f6fe72a46 Merge branch 'bugfix/coex_ble_scan_rate_v5.1' into 'release/v5.1'
fix(esp_coex): Fix esp32 ble scan not restart when wifi start stop (Backport v5.1)

See merge request espressif/esp-idf!26000
2023-09-21 16:18:57 +08:00
Jiang Jiang Jian
5c3f7ed2fd Merge branch 'feature/support_pd_hp_aon_domain_in_deepsleep_v5.1' into 'release/v5.1'
feat(pm/deepsleep): support pd hp aon domain in deepsleep (backport v5.1)

See merge request espressif/esp-idf!26078
2023-09-21 15:36:19 +08:00
morris
1c15c2aded refactor(etm): systimer etm test case
previously we use the systimer event to toggling a GPIO and assert the GPIO level,
which is not stable in CI.
Now we swicth to clear the GPIO at the systimer event.
2023-09-21 13:03:49 +08:00
Aditya Patwardhan
5fffeddf79 feat(esp_http_client): Added support for OTA using ds peripheral for TLS 2023-09-21 10:21:02 +05:30
Jiang Jiang Jian
08262e1975 Merge branch 'bugfix/fix_cpu_switches_freq_bug_s2s3_to_v5.1' into 'release/v5.1'
EspS2/S3: fixed the bug of insufficient voltage when the CPU switches frequency(V5.1)

See merge request espressif/esp-idf!26044
2023-09-21 10:22:48 +08:00
Jiang Jiang Jian
af7ce38507 Merge branch 'feat/warn_on_unpulled_mqtt_sub_v5.1' into 'release/v5.1'
feat(mqtt): Stop cmake process if submodule is missing (v5.1)

See merge request espressif/esp-idf!26032
2023-09-21 10:12:18 +08:00
xuxiao
7f9b241f7e fix(wifi): fix some esp32c6 wifi bugs 2023-09-20 19:50:44 +08:00
liuning
55fcae23c9 esp_wifi: support connectionless manually pwr mgmt 2023-09-20 19:50:05 +08:00
liuning
b439f7568c sleep_modem: split esp_wifi_internal_mac_sleep_configure, add lock for pm functions 2023-09-20 19:49:54 +08:00
liuning
f66740362e fix(sleep_modem): fix lightsleep failure if enable lightsleep at phy disabled 2023-09-20 19:49:42 +08:00
xueyunfei
ae3f3f7a10 feat(esp_wifi):static buf for management,control,qos null,null data rx packet 2023-09-20 19:48:46 +08:00
jgujarathi
3d056fd748 fix(esp_wifi): Fix issues with extended caps IE, scan and HT40 mode
-Merges the addition of extended caps IE for assoc req, probe resp
 and beacons in a single place. This ensures that there are no
 duplicate Extended Caps IE in the frame. Moves the capability
 indication for BTM and HT20/40 from supplicant to wifi libs.

-Fix issue with frequent disconections when scanning for only a single
 channel.

-Prints error message and returns ESP_ERR_NOT_SUPPORTED in case
 esp32c2 tries to set bandwidth to HT40.
2023-09-20 19:44:57 +08:00
Kapil Gupta
981086ba30 change(esp_wifi): Rename WiFi enterprise connection APIs 2023-09-20 17:06:59 +05:30
Lou Tianhao
3dc3ee0817 feat(pm/deepsleep): support pd hp aon domain in deepsleep 2023-09-20 19:26:35 +08:00
Jiang Jiang Jian
41d8715dfe Merge branch 'feat/add_internal_pull_up_or_pull_down_option_for_deepsleep_wakeup_prepare_v5.1' into 'release/v5.1'
feat(pm): add internal pull-up/downs option for gpio used for deepsleep wakeup (backport v5.1)

See merge request espressif/esp-idf!26040
2023-09-20 19:15:48 +08:00
Jiang Jiang Jian
013c52afe4 Merge branch 'test/bqb_test_bt_classic_avdtp_v5.1' into 'release/v5.1'
feat(bt/bqb): Add avdt abort function for BQB test (backport v5.1)

See merge request espressif/esp-idf!26045
2023-09-20 19:12:25 +08:00
linruihao
f37ac82c2b fix(esp_coex): Fix esp32 ble scan not restart when wifi start stop 2023-09-20 17:02:17 +08:00
morris
e3beb8ce26 Merge branch 'contrib/github_pr_12179_v5.1' into 'release/v5.1'
fix(uart): Fix uart_ll_set_baudrate div-by-zero crash due to uint32_t overflow (backport v5.1)

See merge request espressif/esp-idf!26014
2023-09-20 16:13:20 +08:00
Shu Chen
ffc8da6ee1 Merge branch 'backport/rcp_size_opt_config' into 'release/v5.1'
Backport/rcp size opt config

See merge request espressif/esp-idf!26010
2023-09-20 11:36:21 +08:00
Marius Vikhammer
b8d3ee9844 Merge branch 'contrib/github_pr_12258_v5.1' into 'release/v5.1'
fix(vfs): Fix event_write may not exit critical section (GitHub PR) (v5.1)

See merge request espressif/esp-idf!26047
2023-09-19 20:40:22 +08:00
liqigan
fe5734b4f1 change(bt/bluedroid): Limit sniff request when pending mode change event 2023-09-19 20:08:04 +08:00
wanglai@espressif.com
15c7cf4cab feat(bt/bluedroid): Add avdt abort function for BQB test
1: add new AVDTP abort function for BQB test
2023-09-19 19:02:29 +08:00
Xu Si Yu
d5f3f73f51 fix(openthread): copy the networkname with a null terminator 2023-09-19 17:15:03 +08:00
Jiang Jiang Jian
35535a6b6e Merge branch 'bugfix/suppress_compiler_warning_silent_reboot_is_enabled_v5.1' into 'release/v5.1'
fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled(backport v5.1)

See merge request espressif/esp-idf!26036
2023-09-19 17:13:30 +08:00
LiPeng
20219b8ee6 fix(vfs): Fix event_write may not exit critical section
This commit fixes the event_write() function where the critical section
was unbalanced.

Merges https://github.com/espressif/esp-idf/pull/12258
2023-09-19 08:52:36 +02:00
Song Ruo Jing
b7ed76110c fix(uart): Add 8/16-bit register field access workaround to ESP32C2 2023-09-19 12:12:05 +08:00
Eduardo Lacerda Campos
9cd0aee51b fix(uart): Fix uart_ll_set_baudrate div-by-zero crash due to uint32_t overflow
Merges https://github.com/espressif/esp-idf/pull/12179
2023-09-19 12:12:05 +08:00
Wang Meng Yang
c7132d3f15 Merge branch 'bugfix/error_param_in_BTA_AG_WBS_EVT_v5.1' into 'release/v5.1'
Bugfix/error param in bta ag wbs evt (v5.1)

See merge request espressif/esp-idf!26001
2023-09-19 12:01:11 +08:00
hongshuqing
bb33a2bf6b fix cpu switches freq bug s2s3 to v5.1 2023-09-19 11:27:08 +08:00
Lou Tianhao
86e5252d63 feat(pm): add internal pull-up/downs option for gpio used for deepsleep wakeup 2023-09-19 10:59:57 +08:00
wuzhenghui
a96f2c7674 fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled 2023-09-19 10:37:23 +08:00
Marius Vikhammer
5badfeefac Merge branch 'bugfix/pthread_cond_var_link_hook_v5.1' into 'release/v5.1'
bugfix(pthread): fixed pthread_condvar linker hook (v5.1)

See merge request espressif/esp-idf!26004
2023-09-19 10:35:57 +08:00
Euripedes Rocha
80307247aa feat(mqtt): Stop cmake process if submodule is missing
Closes https://github.com/espressif/esp-idf/issues/12202
2023-09-18 14:34:02 +02:00
Rahul Tank
7fc23046e2 Merge branch 'feat/add_sbom_manifest_file_v5.1' into 'release/v5.1'
feat(nimble): Update nimble submodule pointer for SPDX manifest addition for SBOM tool (v5.1)

See merge request espressif/esp-idf!25994
2023-09-18 15:35:29 +08:00
Shu Chen
66c9fb087d Merge branch 'feature/extenal_coexist_slave_support_v5.1' into 'release/v5.1'
feat(esp_coex): add external coex slave support (backport v5.1)

See merge request espressif/esp-idf!25976
2023-09-18 15:06:11 +08:00
Jakob Hasse
62ad7658ed fix(pthread): fixed pthread_condvar linker hook 2023-09-18 12:31:25 +08:00
Jiang Jiang Jian
8ce86c32d0 Merge branch 'bugfix/fix_some_wifi_bugs_230913_v5.1' into 'release/v5.1'
fix(wifi): fix some wifi bugs 20230913(Backport v5.1)

See merge request espressif/esp-idf!25960
2023-09-18 12:09:31 +08:00
Marius Vikhammer
d41661be42 Merge branch 'bugfix/freertos_private_critical_section_macro_v5.1' into 'release/v5.1'
fix(freertos): Fixed bug with prvENTER/EXIT_CRITICAL_OR_MASK_ISR() macro (v5.1)

See merge request espressif/esp-idf!25706
2023-09-18 11:05:21 +08:00
Shu Chen
a99bb2e32f Merge branch 'backport/suppport_ot_message_pool_using_PSRAM' into 'release/v5.1'
feat(openthread): support to allocate message pool from PSRAM(backport v5.1)

See merge request espressif/esp-idf!25990
2023-09-18 10:55:41 +08:00
morris
7698a413bc Merge branch 'bugfix/fix_120_ddr_pll_cali_issue_5.1' into 'release/v5.1'
mspi: fixed bbpll calibration issue (v5.1)

See merge request espressif/esp-idf!25980
2023-09-16 00:44:04 +08:00
Rahul Tank
c546540ef1 feat(nimble): Added SBOM manifest file for SPDX file generation 2023-09-15 17:37:28 +05:30
zhangwenxu
331cc97d01 feat(openthread): Add support to allocate message pool from PSRAM 2023-09-15 18:30:42 +08:00
Jiang Jiang Jian
7275ae17bd Merge branch 'backport_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix set periodic advertising data error(backport v5.1)

See merge request espressif/esp-idf!25956
2023-09-15 11:59:02 +08:00
morris
0b9748f096 Merge branch 'bugfix/usb/host/urb_check_revert_v5.1' into 'release/v5.1'
[USB Host] Fix transfer determination during argument checking for regular EP transfer (backport v5.1)

See merge request espressif/esp-idf!25965
2023-09-15 11:38:13 +08:00
Shu Chen
85dd7ed731 Merge branch 'bugfix/esp32h2_sleep_current_issue_v5.1' into 'release/v5.1'
fix(esp_phy): fix esp32h2 tx-power incorrect issue after wakeup (backport v5.1)

See merge request espressif/esp-idf!25977
2023-09-15 10:45:26 +08:00
Armando
cd193469f2 fix(mspi): fixed bbpll calibration issue 2023-09-15 10:38:44 +08:00
Jiang Jiang Jian
9e756359cc Merge branch 'bugfix/use_xtal_for_c3_wdt_v5.1' into 'release/v5.1'
fix(wdt): changed ESP32-C3 WDT to use XTAL as clock (v5.1)

See merge request espressif/esp-idf!25946
2023-09-15 10:27:38 +08:00
Marius Vikhammer
6609e5e785 Merge branch 'bugfix/ulp_i2c_fail_opt_v5.1' into 'release/v5.1'
fix(ulp-i2c): fixed ulp i2c not working from main cpu if compiled with 0S or O2 (v5.1)

See merge request espressif/esp-idf!25947
2023-09-15 08:09:03 +08:00
David Čermák
667b83db0e Merge branch 'mqtt/update_submodule_05b3476_v5.1' into 'release/v5.1'
feat(mqtt): Update submodule to 05b3476(v5.1)

See merge request espressif/esp-idf!25768
2023-09-14 19:56:04 +08:00
xiaqilin
e7cf51ebec fix(esp_phy): fix esp32h2 tx-power incorrect issue after wakeup 2023-09-14 18:09:30 +08:00
xiaqilin
ca37e4dee6 feat(esp_coex): add external coex slave support 2023-09-14 17:59:30 +08:00
Jiang Jiang Jian
b2b9b904f1 Merge branch 'bugfix/set_eir_when_no_eir_data_v5.1' into 'release/v5.1'
change(bt/bluedroid): Send a name tag with zero length when there is no EIR data

See merge request espressif/esp-idf!25949
2023-09-14 15:55:43 +08:00
muhaidong
a28f50d062 fix(wifi): fix ccmp and gcmp PN became large issue 2023-09-14 11:12:48 +08:00
Jiang Jiang Jian
1c7b1b8db0 Merge branch 'bugfix/bugfix_for_esp32c2_esp32c6_esp32h2_v5.1' into 'release/v5.1'
Bugfix/bugfix for esp32c2 esp32c6 esp32h2 v5.1

See merge request espressif/esp-idf!25836
2023-09-14 10:44:12 +08:00
Jiang Jiang Jian
8f9c2c6891 Merge branch 'bugfix/fix_dhcp_server_address_pool_issue_5.1' into 'release/v5.1'
fix(dhcp server): Fix dhcp server address pool issue 5.1

See merge request espressif/esp-idf!25817
2023-09-14 10:39:21 +08:00
Shyamal Khachane
ae6fdffcd7 fix(esp_wifi): WPA3 enterprise 192 bit fix and config modification
1. Added SOC caps dependency for enabling 192 bit security in wifi enterprise example
2. Fixed authmode in log and connected event for WPA3 enterprise 192 bit security
2023-09-14 10:14:13 +08:00
David Čermák
45b22c5ef0 Apply 1 suggestion(s) to 1 file(s) 2023-09-14 10:14:13 +08:00
xuxiao
b74c293505 feat(wifi): optimize esp32c6 iperf performance 2023-09-14 10:14:13 +08:00
Shyamal Khachane
71c201617e fix(esp_wifi): Skip PMK cache usage if configured password is incorrect 2023-09-14 10:14:13 +08:00
Shreyas Sheth
05915fee6e docs(wifi): Update wifi and wifi security documentation
1. Update documentation for WPA3 Enterprise and WPA3 Enterprise 192-bit
mode
2. Update documentation for WPA3 OWE and OWE transition mode
3. Update documentation related to SAE PK, SAE PWE and Transition Disable
4. Update documnetation for wifi connect API
5. Fix config paramter information for wifi scan start
6. Fix documentation related to scan threshold config setting
7. Replace ESP_ERR_WIFI_ARG error code as ESP_ERR_INVALID_ARG
8. Update documentation for 802.11R Fast transition
2023-09-14 10:14:13 +08:00
zhangyanjiao
554e6880bc fix(wifi): fix some bugs in LR and bandwidth
1. Fix the LR rate set fail for espnow and 80211 tx
2. Check phy bandwidth when setting espnow peer rate

Closes https://github.com/espressif/esp-idf/issues/11751
2023-09-14 10:14:13 +08:00
Roman Leonov
75b1a135ad bugfix(usb/host): Fix transfer direction determination during argument checking for regular EP transfer 2023-09-13 21:51:24 +02:00
zhanghaipeng
5438cfa49f fix(bt/bluedroid): Fix set periodic advertising data error 2023-09-13 17:28:15 +08:00
Kapil Gupta
fc9ce3b5f4 ci(esp_wifi): unit test for fast PBKDF2 validation 2023-09-13 16:33:19 +08:00
Kapil Gupta
4756c22ffa change(esp_wifi): Port fast_pbkdf2 implementation for mbedlts
Add changes to use fast_pbkdf2 as default for PMK calculations.
fast_pbkdf2 is significantly faster than current implementations
for esp chips.

Also removes unnecessary code for pbkdf-sha256 and pbkdf-sha512.
2023-09-13 16:33:19 +08:00
Kapil Gupta
e62d11ef41 change(esp_wifi): Copy fastpbkdf2 implementation
Copy pbkdf2 implementation from https://github.com/ctz/fastpbkdf2(3c56895)
2023-09-13 16:33:19 +08:00
Wang Meng Yang
8f05165284 Merge branch 'test/bqb_test_bt_classic_sdp_v5.1' into 'release/v5.1'
feat(bt/bluedroid): Add language base attr list to SDP record for BQB test (backport v5.1)

See merge request espressif/esp-idf!25929
2023-09-13 14:48:41 +08:00
morris
6e1b968d0a Merge branch 'fix/vtaskdelay_caused_etm_test_failure_v5.1' into 'release/v5.1'
fix(test_etm): fix vTaskDelay caused ci failure (v5.1)

See merge request espressif/esp-idf!25945
2023-09-13 14:39:24 +08:00
baohongde
a79ba4f1bf change(bt/bluedroid): Send a name tag with zero length when there is no EIR data 2023-09-13 14:09:11 +08:00
Euripedes Rocha
da33cd2170 feat(mqtt): Update submodule to 05b3476
* Update submodule:
git log --oneline dffabb067fb3c39f486033d2e47eb4b1416f0c82..05b347643f6679cc60a50a9664b86a24ebf3ae10

Detailed description of the changes:
* Fix: Mock test should include idf_additions.h
  - See merge request espressif/esp-mqtt!191
  - fix: Mock tests include idf_additions.h (espressif/esp-mqtt@f35aaa1)
* Adds missing documentation to outbox configuration.
  - See merge request espressif/esp-mqtt!190
  - docs: Adds missing documentation to outbox configuration. (espressif/esp-mqtt@c355e0b)
* fix: Added missing update to message data
  - See merge request espressif/esp-mqtt!189
  - See commit https://github.com/espressif/esp-mqtt/commit/cc41d1b
* PR: fixing typos in `mqtt5_error_reason_code`
  - See merge request espressif/esp-mqtt!188
  - feat: Add enum definition with typo to keep backwards compatibility (espressif/esp-mqtt@90b4a45)
  - fixing typos in `mqtt5_error_reason_code` (espressif/esp-mqtt@dc775bb)
* docs: Clarify keepalive timeout
  - See merge request espressif/esp-mqtt!186
  - See commit https://github.com/espressif/esp-mqtt/commit/cb1e6cf
* fix: LOG format strings
  - See merge request espressif/esp-mqtt!187
  - See commit https://github.com/espressif/esp-mqtt/commit/a3b04f2
* Fix: Stop client only if it's running.
  - See merge request espressif/esp-mqtt!183
  - See commit https://github.com/espressif/esp-mqtt/commit/36eec6f
* fix: Error on publish message creation was ignored.
  - See merge request espressif/esp-mqtt!185
  - See commit https://github.com/espressif/esp-mqtt/commit/585e3ba
* Fix: Allocation for connection buffer was incorrectly done.
  - See merge request espressif/esp-mqtt!182
  - See commit https://github.com/espressif/esp-mqtt/commit/6c849c6
* Adds mqtt host tests to Ci
  - See merge request espressif/esp-mqtt!181
  - See commit https://github.com/espressif/esp-mqtt/commit/4050df4
* Fix: Outbox was leaked in case of initialization failure
  - See merge request espressif/esp-mqtt!180
  - See commit https://github.com/espressif/esp-mqtt/commit/5d491a4
* feat: Add option to bind interface of use
  - See merge request espressif/esp-mqtt!179
  - Closes https://github.com/espressif/esp-mqtt/issues/253
  - See commit https://github.com/espressif/esp-mqtt/commit/363fbf7
* Add outbox size control feature
  - See merge request espressif/esp-mqtt!141
  - feat: Introduces outbox limit (espressif/esp-mqtt@372ab7b)
  - Removes unused outbox functions. (espressif/esp-mqtt@21a5491)
  - refactor: Group access to output buffer in mqtt_connection_t (espressif/esp-mqtt@122875b)
* Add custom transport configuration
  - See merge request espressif/esp-mqtt!169
  - feat: Add custom transport configuration (espressif/esp-mqtt@a5c1b44)
* Removes leftover calls to event_handler
  - See merge request espressif/esp-mqtt!178
  - See commit https://github.com/espressif/esp-mqtt/commit/a492935
* PR: Added support to set server common name.
  - See merge request espressif/esp-mqtt!173
  - Added support to set server common name. (espressif/esp-mqtt@6195762)
* Merge branch 'bugfix/return_on_qos0_disconnected' into 'master'
  - See merge request espressif/esp-mqtt!175
  - See commit https://github.com/espressif/esp-mqtt/commit/5bd9724
* Merge branch 'bugfix/cpp_compilation' into 'master'
  - See merge request espressif/esp-mqtt!174
  - See commit https://github.com/espressif/esp-mqtt/commit/70cbaca
* bug: Incorrect return on disconnect qos0 publish
  - See merge request espressif/esp-mqtt!172
* Fix: Compilation in C++ with multiple subscribe
  - See merge request espressif/esp-mqtt!171
* ci: Fix qemu build against 5.1
  - See merge request espressif/esp-mqtt!170
  - See commit https://github.com/espressif/esp-mqtt/commit/94defb8
* Minor cleanups on mqtt client
  - See merge request espressif/esp-mqtt!168
  - Removes pending message count (espressif/esp-mqtt@da6d38a)
  - Bugfix: Dispatch transport error on all write operations (espressif/esp-mqtt@5729048)
  - Merge enqueue functions (espressif/esp-mqtt@72833c7)
* Adds a configuration for outbox data destination
  - See merge request espressif/esp-mqtt!166
  - feat: Adds a configuration for outbox data destination (espressif/esp-mqtt@2c71f9e)
* CI: Add configuration for ttfw
  - See merge request espressif/esp-mqtt!167
  - See commit https://github.com/espressif/esp-mqtt/commit/d71dcf3
* mqtt5: Fix flow control will increase count when send fragmented packet
  - See merge request espressif/esp-mqtt!164
  - Closes https://github.com/espressif/esp-mqtt/issues/255
  - See commit https://github.com/espressif/esp-mqtt/commit/5cce2c4
* Add license information to queue
  - See merge request espressif/esp-mqtt!163
  - See commit https://github.com/espressif/esp-mqtt/commit/36f0faa
* MQTTv5: Fixes and additions from GitHub PRs
  - See merge request espressif/esp-mqtt!162
  - Merges https://github.com/espressif/esp-mqtt/pull/250
  - fix: Allow MQTT v5 zero length payload (espressif/esp-mqtt@65a4fda)
  - feature: Include subscribe_id in esp_mqtt5_event_property_t (espressif/esp-mqtt@1011e63)
* Feature:  Enable SUBSCRIBE to multiple topics
  - See merge request espressif/esp-mqtt!156
  - See commit https://github.com/espressif/esp-mqtt/commit/3210255
* Adds Kconfig option to configure poll read timeout
  - See merge request espressif/esp-mqtt!159
  - Closes: https://github.com/espressif/esp-mqtt/issues/245
  - See commit https://github.com/espressif/esp-mqtt/commit/2fa945d
* Fix formatting when using printf nano
  - See merge request espressif/esp-mqtt!160
  - See commit https://github.com/espressif/esp-mqtt/commit/e9b865e
* mqtt5: Fix flow control will regard the DUP packet and not consider PUBCOMP packet
  - See merge request espressif/esp-mqtt!158
  - Closes https://github.com/espressif/esp-mqtt/issues/243
  - See commit https://github.com/espressif/esp-mqtt/commit/ed76036
* Remove possible null pointer dereferences
  - See merge request espressif/esp-mqtt!157
  - Bugfix: Remove Remove possible null pointer dereferences (espressif/esp-mqtt@f80772b)
2023-09-13 06:08:13 +00:00
Rahul Tank
9d8af9748b Merge branch 'bugfix/fix_compilation_issue_enc_adv_v5.1' into 'release/v5.1'
fix(nimble): Fix compilation issue of unknown MYNEWT_VAL(v5.1)

See merge request espressif/esp-idf!25856
2023-09-13 13:31:36 +08:00
Marius Vikhammer
c7532e27fa fix(ulp-i2c): fixed ulp i2c not working from main cpu if compiled with 0S or O2
Compiler would optimize register write to use s8i which do not work for IO registers

Closes https://github.com/espressif/esp-idf/issues/12214
2023-09-13 11:47:36 +08:00
xueyunfei
e29d4bd428 fix(dhcp server):fix set dhcp server poll fail issue 2023-09-13 10:49:21 +08:00
Marius Vikhammer
41a291fee0 fix(wdt): changed WDT clock source to XTAL for C6/H2
Previously it used PLL, but PLL could potentially be powered down by power-management
when CPU frequency changed.
2023-09-13 10:45:51 +08:00
Marius Vikhammer
c192ea478e fix(wdt): changed ESP32-C3 WDT to use XTAL as clock
This clock is unchanged even when CPU/APB frequency changes (e.g. due to esp_pm),
which means timeout period is correct even after such a change.
2023-09-13 10:45:49 +08:00
Jiang Jiang Jian
111779db5a Merge branch 'feature/configurable_wpa2_ent_v5.1' into 'release/v5.1'
Make enterprise support configurable to save binary size.(v5.1)

See merge request espressif/esp-idf!25558
2023-09-13 10:18:05 +08:00
Planck (Lu Zeyu)
25922444a6 fix(test_etm): fix vTaskDelay caused ci failure 2023-09-13 10:04:30 +08:00
Wang Meng Yang
09c1bfe6b3 Merge branch 'bugfix/fix_hidd_send_rpt_without_connection_v5.1' into 'release/v5.1'
Change(bt/bluedroid): Optimize HIDD sending interrupt report behavior[backport 5.1]

See merge request espressif/esp-idf!25917
2023-09-13 09:13:33 +08:00
Jiang Jiang Jian
5d7bcdcf82 Merge branch 'bugfix/esp32c6_udp_bc_mc_short_time_cause_packet_loss_v5.1' into 'release/v5.1'
backport v5.1: optimize the retention step of the APM and TEE modules to set only the critical parts to level 2 priority

See merge request espressif/esp-idf!25837
2023-09-12 20:50:12 +08:00
Darian Leung
8088c7216e fix(freertos): Fixed bug with prvENTER/EXIT_CRITICAL_OR_MASK_ISR() macro
Fixed an undiscovered bug with prvENTER_CRITICAL_OR_MASK_ISR() and
prvEXIT_CRITICAL_OR_MASK_ISR() where the `uxInterruptStatus` argument was not
used.

However, all calls of this macro provide a local `uxSavedInterruptStatus`
variable, leading to this bug being hidden.
2023-09-12 20:18:23 +08:00
Rahul Tank
a86522d614 fix(nimble): Fix compilation issue of unknown MYNEWT_VAL 2023-09-12 16:49:57 +05:30
luomanruo
2c1334ef1c change(ble): update controller log print interface 2023-09-12 15:50:54 +08:00
wanglai@espressif.com
393530fb56 feat(bt/bluedroid): Add language base attr list to SDP record for BQB test 2023-09-12 13:04:23 +08:00
darshan
fc8d7e7f89 fix(nimble): added log for extended advertisement 2023-09-12 10:26:36 +05:30
morris
5baf0197f0 Merge branch 'feature/modify_mcpwm_clock_pre_scale_v5.1' into 'release/v5.1'
feat(mcpwm): Make the MCPWM capture timer's resolution configurable (v5.1)

See merge request espressif/esp-idf!25904
2023-09-12 11:30:39 +08:00
liqigan
1963f75fa7 change(bt/bluedroid): Optimize HIDD sending interrupt report behavior
HID device is allowed to trigger reconnection by sending an interrupt
report. When reconnection is in progress, no more interrupt report can
be sent until the procedure is accomplished.
2023-09-11 20:12:35 +08:00
Shu Chen
649b8bc6d5 Merge branch 'feature/support_ot_bugfixing' into 'release/v5.1'
Feature/support ot bugfixing(backport v5.1)

See merge request espressif/esp-idf!25676
2023-09-11 20:07:28 +08:00
Jin Cheng
a8790378e9 fix(bt/bluedroid): Fixed incorrect arrangement in type esp_hf_dial_type_t 2023-09-11 19:45:30 +08:00
Jin Cheng
36ba902bfe change(bt/bluedroid): Added line information printing when error occurs CHECK_HF_IDX 2023-09-11 19:45:30 +08:00
Jin Cheng
ca1ef30aa7 fix(bt/bluedroid): Fixed the issue of uninitialized parameters in event BTA_AG_WBS_EVT 2023-09-11 19:45:29 +08:00
Jiang Jiang Jian
a432b1459e Merge branch 'feature/lp_wdt_h2_5.1' into 'release/v5.1'
LP-WDT: add support for H2 (v5.1)

See merge request espressif/esp-idf!25863
2023-09-11 19:04:00 +08:00
Mahavir Jain
31aa471af8 Merge branch 'contrib/github_pr_11869_v5.1' into 'release/v5.1'
bugfix: avoid warning in espcoredump when log disabled (GitHub PR) (v5.1)

See merge request espressif/esp-idf!25143
2023-09-11 14:42:10 +08:00
Mahavir Jain
be9d8ef709 Merge branch 'feature/freertos_add_sbom_file_v5.1' into 'release/v5.1'
feat(freertos): Added SBOM manifest file for SPDX file generation (v5.1)

See merge request espressif/esp-idf!25891
2023-09-11 13:48:28 +08:00
Jiang Jiang Jian
0c27d2467d Merge branch 'bugfix/pbc_overlap_in_wps_pin_method_v5.1' into 'release/v5.1'
Fix for issue of wps-pbc overlap in wps-pin method(v5.1)

See merge request espressif/esp-idf!25695
2023-09-11 12:12:29 +08:00
Chen Jichang
d8e5b2ac41 feat(mcpwm): Set group clock prescale dynamically
MCPWM group clock pre scale was originally fixed to 2, which is
inconvenient. Set group clock prescale dynamically. Now the maximum
resolution of the MCPWM timer is up to 160MHz(when the prescale set
to 1). And add a resulotion config for MCPWM capture.
2023-09-11 11:29:28 +08:00
Jiang Jiang Jian
1d91310e0f Merge branch 'bugfix/wps_wpa3_passphrase_v5.1' into 'release/v5.1'
WiFi: get passphrase in WPS if AP support SAE (v5.1)

See merge request espressif/esp-idf!25885
2023-09-11 10:54:18 +08:00
Jiang Jiang Jian
680a254b18 Merge branch 'bugfix/hf_ag_report_event_with_null_bdaddr_v5.1' into 'release/v5.1'
Bugfix/fixed bugs of HFP in BlueDroid (v5.1)

See merge request espressif/esp-idf!25827
2023-09-11 10:54:09 +08:00
Jiang Jiang Jian
123fcbbf36 Merge branch 'fix/spiffs_log_errors_v5.1' into 'release/v5.1'
fix(spiffs): SPIFFS print formatter errors out (v5.1)

See merge request espressif/esp-idf!25392
2023-09-11 10:10:23 +08:00
Jiang Jiang Jian
79cd68f969 Merge branch 'fix/nvs_tool_invalid_entry_none_check_v5.1' into 'release/v5.1'
NVS: nvs_tool.py entry.data None check fix (v5.1)

See merge request espressif/esp-idf!24495
2023-09-11 10:09:08 +08:00
Wang Meng Yang
da07a096d0 Merge branch 'test/bqb_test_bt_classic_hid_v5.1' into 'release/v5.1'
feat(bt/bqb): Add setting local di record function for specific hid case of bqb auto test (backport v5.1)

See merge request espressif/esp-idf!25833
2023-09-11 07:36:25 +08:00
Island
4afb2a86e2 Merge branch 'backport_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh(backport v5.1)

See merge request espressif/esp-idf!25859
2023-09-08 20:39:49 +08:00
Jiang Jiang Jian
b717333177 Merge branch 'bugfix/reduce_bss_logging_v5.1' into 'release/v5.1'
wifi: Reduce BSS logging in wpa_supplicant

See merge request espressif/esp-idf!25825
2023-09-08 19:19:43 +08:00
Sudeep Mohanty
4d8644bfa8 feat(freertos): Added SBOM manifest file for SPDX file generation
This commit adds the SBOM manifest file for the FreeRTOS-Kernel to aid
SPDX file generation.
2023-09-08 12:55:47 +02:00
Kapil Gupta
797ec25a3f fix(wifi): Get passphrase in WPS if AP support SAE
Also add changes to send NACK if WPS message received twice.
2023-09-08 15:21:56 +05:30
Jiang Jiang Jian
9eceef649b Merge branch 'bugfix/esp32h2_update_desc_ecdsa_workmode_v5.1' into 'release/v5.1'
fix(soc/esp32h2): Update the description of the ECDSA_WORK_MODE (backport v5.1)

See merge request espressif/esp-idf!25818
2023-09-08 16:09:42 +08:00
cjin
27f84d88dc ble: support esp32c2 wakeup overhead 2023-09-08 15:52:23 +08:00
luomanruo
9896ee353b ble: update esp32h2 and esp32c6 libble to a9fa2002 2023-09-08 14:27:48 +08:00
zhangwenxu
5f55496f51 feat(openthread): support BR deinit 2023-09-08 12:24:36 +08:00
Marius Vikhammer
0a6d6c085a feat(wdt): add LL functions for WDT on H2 2023-09-08 11:01:25 +08:00
zhanghaipeng
03be63636a fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh 2023-09-08 10:33:42 +08:00
Jiang Jiang Jian
ab7ad8a848 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!25776
2023-09-08 10:19:40 +08:00
Jiang Jiang Jian
8d0858060a Merge branch 'feature/management_modem_etm_clock_indepently_v5.1' into 'release/v5.1'
feat(esp_hw_support): manage modem_etm clock in modem_clock for bt/154 indepently (backport v5.1)

See merge request espressif/esp-idf!25793
2023-09-08 10:16:59 +08:00
Jiang Jiang Jian
ef451cab0f Merge branch 'bugfix/sntp_cpp_compat_v5.1' into 'release/v5.1'
esp_netif: Fix invalid conversion from int to enumeration in c++ build (GitHub PR) (v5.1)

See merge request espressif/esp-idf!25041
2023-09-08 10:16:21 +08:00
chenqingqing
7e406acb95 feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent 2023-09-08 00:52:07 +00:00
Jin Cheng
26600a8fcf fix(bt/bluedroid): Deleted the redundant 'memset' in btc_hf_cb_handler 2023-09-08 00:52:07 +00:00
Jin Cheng
c6e62a9817 docs(bt/bluedroid): Changed the description of esp_hf_client_reject_call 2023-09-08 00:52:07 +00:00
Jin Cheng
eed85adaeb fix(bt/bluedroid): Fixed wrong indexes of HF-AG indicators 2023-09-08 00:52:07 +00:00
Jin Cheng
71ec923e55 fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters 2023-09-08 00:52:07 +00:00
Jin Cheng
7037ee47f9 fix(bt/bluedroid): Changed log level from WARNING to DEBUG in bta_ag_sco_read_cback 2023-09-08 00:52:07 +00:00
Jin Cheng
0167b14411 fix(bt/bluedroid): Fixed wrong code logic in 'AT+CIND?' of HFP 2023-09-08 00:52:07 +00:00
Jin Cheng
17d1b66d47 fix(bt/bluedroid): Fixed errors in parsing ATD command in HFP AG 2023-09-08 00:52:07 +00:00
Jin Cheng
19185a65fd fix(bt/bluedroid): Fixed NULL Bluetooth device address in HF-AG events was reported to application layer 2023-09-08 00:52:07 +00:00
Chen Jian Xing
c1d8013330 Merge branch 'bugfix/backport_phy_v5.1' into 'release/v5.1'
fix(phy): backport some phy fix(v5.1)

See merge request espressif/esp-idf!25734
2023-09-08 06:18:58 +08:00
aditi_lonkar
8254175931 wpa_supplicant: Fix for issue of wps-pbc overlap in wps-pin method 2023-09-07 15:14:35 +05:30
morris
fefa61a7c7 Merge branch 'feature/esp_lcd_st7789_rgb_data_endian_config_v5.1' into 'release/v5.1'
feat(st7789): add data endian config (v5.1)

See merge request espressif/esp-idf!25802
2023-09-07 16:33:49 +08:00
zwl
325bf39c89 feat(ble): enable adv report flow control on esp32c2 2023-09-07 16:27:50 +08:00
zwl
615f9bd602 fix(ble): fixed crash when memory is insufficient on esp32c2 2023-09-07 16:27:42 +08:00
Li Shuai
cbb2a3f8fa fix(esp32c6/power save): optimize the retention step of the APM and TEE modules to set only the critical parts that affect wifi data frame receipt to level 2 priority 2023-09-07 14:31:12 +08:00
wanglai@espressif.com
648bc35612 feat(bt/bluedroid): Add setting local di record function for bt classic hid device bqb test 2023-09-07 14:18:03 +08:00
wanglai@espressif.com
e29b67c02a fix(bt/bluedroid): Changed HID related copyright automatically 2023-09-07 14:17:42 +08:00
Kapil Gupta
397206d050 change(wifi): Reduce BSS logging in wpa_supplicant 2023-09-07 10:19:02 +05:30
chenjianhua
3874281107 update esp32 bt-lib (7b24543)
- Support BLE RX error packet count record
- Fixed instant setting for LLC procedures with instants
- Fixed adv random delay when adv interval is less than 20ms
2023-09-07 11:05:10 +08:00
chenjianhua
c315a246e6 Update bt lib for ESP32-C3 and ESP32-S3(59725b5)
- Support BLE RX error packet count record
- Fixed adv random delay when adv interval is less than 20ms
- Fixed adv random address setting when owner address type is public
2023-09-07 11:05:10 +08:00
chenjianhua
5b7fcd80d2 Update bt lib for ESP32-C3 and ESP32-S3(ff6efe7)
- fix(bt/controller): Fixed PHY enable and disable
- feat(bt/controller): Support DAA and LBT mode for BLE CCA
2023-09-07 11:05:10 +08:00
zhanghaipeng
0f6a7ac7b1 fix(bt): Fix bugs about updating connect param 2023-09-07 11:05:10 +08:00
zhanghaipeng
e3c5c4fb7b fix(bt): Fix bug while calculating block cipher using aes-128 2023-09-07 11:05:10 +08:00
zhanghaipeng
98f59569b0 docs(bt): Update comment in ble 2023-09-07 11:05:10 +08:00
zhanghaipeng
cc9c5b78b9 feat(bt/bluedroid): Support periodic adv adi feature 2023-09-07 11:05:09 +08:00
chenjianhua
985f6a4892 fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting 2023-09-07 11:05:09 +08:00
chenjianhua
9df464d7bb fix(bt/bluedroid): Fixed GATTC cache address save when list is full 2023-09-07 11:05:09 +08:00
chenjianhua
35af1c03e2 feat(bt/bluedroid): Support high duty adv interval setting 2023-09-07 11:05:09 +08:00
chenjianhua
52a0a10ef4 fix(bt/bluedroid): Fix address check when using NRPA as random device address 2023-09-07 11:05:09 +08:00
xueyunfei
9aeafb006e fix(dhcp server): Fix dhcp server address pool issue 2023-09-07 10:35:52 +08:00
Jiang Guang Ming
9ed6944c0d fix(soc/esp32h2): Update the description of the ECDSA_WORK_MODE 2023-09-07 10:34:36 +08:00
Jiang Jiang Jian
4a221b0346 Merge branch 'feature/ble_lib_update_h2_c6_v5.1' into 'release/v5.1'
ble: update h2 c6 libble to 5d7af429

See merge request espressif/esp-idf!25692
2023-09-07 10:25:18 +08:00
Jiang Jiang Jian
d22e640579 Merge branch 'bugfix/aes_dma_descriptor_setup_issue_v5.1' into 'release/v5.1'
fix(aes): correct the linking of the DMA descriptors (v5.1)

See merge request espressif/esp-idf!25784
2023-09-07 10:24:09 +08:00
alanmaxwell
9331e240fc fix(phy): backport some phy fix
1. WIFI RX multipath optimization for all chips
2. BLE TX sideband optimization for C3/S3
3. Optimize ht40 tx side band issue
2023-09-07 02:23:06 +00:00
Wang Meng Yang
98f4ce2011 Merge branch 'bugfix/fix_some_hci_cmd_param_check_v5.1' into 'release/v5.1'
fix(bt/controller): Fixed some HCI commands parameter check (Backport v5.1)

See merge request espressif/esp-idf!25712
2023-09-07 07:41:15 +08:00
Rahul Tank
94ad8f1a6a Merge branch 'feature/dynamic_services_v5.1' into 'release/v5.1'
Nimble: Add support for dynamic service addition / deletion (v5.1)

See merge request espressif/esp-idf!25742
2023-09-06 17:18:27 +08:00
Planck (Lu Zeyu)
9d535c05f7 feat(st7789): add data endian config
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-06 16:59:13 +08:00
wuzhenghui
d3bfaf8f5f feat(esp_hw_support): manage modem_etm clock in modem_clock for bt/154 indepently 2023-09-06 15:48:37 +08:00
Michael (XIAO Xufeng)
8ff8486735 Merge branch 'fix/spi_polling_api_buslock_logic_v5.1' into 'release/v5.1'
fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed (v5.1)

See merge request espressif/esp-idf!25576
2023-09-06 14:01:25 +08:00
Mahavir Jain
5605189398
fix(aes): correct the linking of the DMA descriptors
For certain data lengths, the last input descriptor was not getting appended
correctly and hence the EOF flag in the DMA descriptor link list was
set at incorrect location. This was resulting in the peripheral being
stalled expecting more data and eventually the code used to timeout
waiting for the AES completion interrupt.

Required configs for this issue:

CONFIG_MBEDTLS_HARDWARE_AES
CONFIG_SOC_AES_SUPPORT_DMA

This observation is similar to the issue reported in:
https://github.com/espressif/esp-idf/issues/10647

To recreate this issue, start the AES-GCM DMA operation with data length
12280 bytes and this should stall the operation forever.

In this fix, we are tracing the entire descriptor list and then appending the
extra bytes descriptor at correct position (as the last node).
2023-09-06 08:28:43 +05:30
Mahavir Jain
2fbe919e4c
fix(aes-gcm): correct the DMA completion wait condition for hardware GCM case
DMA operation completion must wait until the last DMA descriptor
ownership has been changed to hardware, that is hardware is completed
the write operation for entire data. Earlier for the hardware GCM case,
the first DMA descriptor was checked and it could have resulted in some
race condition for non interrupt (MBEDTLS_AES_USE_INTERRUPT disabled) case.
2023-09-06 08:28:43 +05:30
morris
1efe80af9b Merge branch 'feature/esp_lcd_panel_add_data_and_type_v5.1' into 'release/v5.1'
feat(esp_lcd): add user data and init cmd (v5.1)

See merge request espressif/esp-idf!25721
2023-09-05 16:09:39 +08:00
luomanruo
90da6ebfec change: print assert info before dump log 2023-09-05 15:10:54 +08:00
cjin
6f89300764 change: changed ble msys init for controller 2023-09-05 15:10:38 +08:00
cjin
d94c9d141b feat: added ble wake up overhead support 2023-09-05 15:10:38 +08:00
luomanruo
56894b1bca ble: update h2 c6 libble to 5d7af429 2023-09-05 15:10:38 +08:00
Roshan Bangar
1520984157 feat(nimble): Added support for dynamic services
Added support for dynamic services
2023-09-05 11:52:17 +05:30
Rahul Tank
bf204d4150 Merge branch 'feature/adv_queue_congestion_v5.1' into 'release/v5.1'
feat(nimble): Added adv queue congestion check (v5.1)

See merge request espressif/esp-idf!25726
2023-09-05 14:14:35 +08:00