Commit Graph

18558 Commits

Author SHA1 Message Date
Jiang Jiang Jian
f1efc6223e Merge branch 'bugfix/authmode_log_192_bit_v5.0' into 'release/v5.0'
WPA3 enterprise 192 bit fix and config modification (Backport v5.0)

See merge request espressif/esp-idf!26163
2023-10-12 10:36:10 +08:00
luomanruo
26fbfe7d94 ble: update tx power level index of ESP32-C2 2023-10-11 21:05:21 +08:00
luomanruo
b7f17f7531 ble:update c2 libble to 6a8d1f3d 2023-10-11 20:55:26 +08:00
Island
6a33321693 Merge branch 'bugfix/deepfree_v50' into 'release/v5.0'
fix(ble_mesh): fix compilation failure on using scene model. (v5.0)

See merge request espressif/esp-idf!26358
2023-10-11 19:28:53 +08:00
Wu Meng Shi
d9af38524b fix(ble_mesh): fix compilation failure on using scene model. (v5.0) 2023-10-11 19:28:53 +08:00
xuxiao
d2b82b47c7 feat(wifi): optimize iperf performance (Backport V5.0) 2023-10-11 17:14:52 +08:00
David Čermák
82ccd61c06 Merge branch 'bugfix/napt_updatesV5.0' into 'release/v5.0'
feat(lwip): Fixes and Improvements for NAPT and SBOM Support (v5.0)

See merge request espressif/esp-idf!26336
2023-10-11 15:28:16 +08:00
David Čermák
fd10813b41 Merge branch 'bugfix/ksz8041_model_number_0x13_v5.0' into 'release/v5.0'
fix(esp_eth): Add model number 0x13 to list of suported models (v5.0)

See merge request espressif/esp-idf!26381
2023-10-11 15:22:06 +08:00
Roland Dobai
c08f099361 Merge branch 'fix/bp_wp_in_panic_v5.0' into 'release/v5.0'
fix(breakpoint): fix bp/wp logic when debugger is connected (v5.0)

See merge request espressif/esp-idf!25634
2023-10-10 17:57:51 +08:00
Aditya Patwardhan
bcd5292435 Merge branch 'bugfix/security_check_order_in_startup_v5.0' into 'release/v5.0'
fix(startup): flip the security configuration check order (v5.0)

See merge request espressif/esp-idf!26362
2023-10-10 17:10:28 +08:00
Island
3df12b0c7d Merge branch 'bugfix/BLEQABR23-414_v50' into 'release/v5.0'
bugfix(mesh): Fix PB-GATT adv is reported to the app layer too frequently(v5.0)

See merge request espressif/esp-idf!25896
2023-10-10 12:01:42 +08:00
Wu Meng Shi
f3f0917166 bugfix(mesh): Fix PB-GATT adv is reported to the app layer too frequently(v5.0) 2023-10-10 12:01:41 +08:00
zwx
7d6b70c48e feat(openthread): update upstream manually. 2023-10-10 11:37:53 +08:00
Shyamal Khachane
437fbbc518 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-10-09 16:34:14 +05:30
Bogdan Kolendovskyy
2cb11f7698 fix(esp_eth): Add model number 0x13 to list of suported models
Add model number 0x13 to KSZ80xx driver's list of supported models
corresonding to KSZ8041RLNI.
2023-10-09 12:47:38 +02:00
Mahavir Jain
ae5cbbf656 Merge branch 'feat/add_support_to_add_auth_data_v5.0' into 'release/v5.0'
fix(esp_http_client): Call event_handler after header value is received (v5.0)

See merge request espressif/esp-idf!26322
2023-10-09 16:24:26 +08:00
Mahavir Jain
67a1fe6373 fix(startup): flip the security configuration check order
For cases where the bootloader is not enabled with the security features
ends up receiving an incorrect application with flash encryption enabled
should not really program any security efuses.

In the startup sequence, we first used to program the ROM DL mode
configuration but now we check for the flash encryption related checks
first. If the flash encryption related checks finds that flash
encryption is not enabled on the device then it aborts the boot process.
This is the case with `CONFIG_SECURE_FLASH_CHECK_ENC_EN_IN_APP` enabled.

This would at-least ensure that accidental program of security enabled
application does not really program any ROM DL mode efuses and there is
chance to recover the device.
2023-10-09 03:30:11 +00:00
Jiang Jiang Jian
0f3eb4f5a6 Merge branch 'bugfix/pbc_overlap_in_wps_pin_method_v5.0' into 'release/v5.0'
wpa_supplicant: Fix for issue of wps-pbc overlap in wps-pin method(v5.0)

See merge request espressif/esp-idf!25738
2023-10-08 14:09:22 +08:00
morris
8093ef885e Merge branch 'fix/spi_polling_api_buslock_logic_v5.0' into 'release/v5.0'
fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed (v5.0)

See merge request espressif/esp-idf!25577
2023-10-08 11:41:50 +08:00
morris
52342cda83 Merge branch 'change/remove_s3_120_sdr_warning_v5.0' into 'release/v5.0'
mspi: remove s3 120mhz sdr warning (v5.0)

See merge request espressif/esp-idf!26255
2023-10-08 10:52:41 +08:00
Jiang Jiang Jian
1b5a9a9420 Merge branch 'bugfix/check_mapping_target_conflict_v5.0' into 'release/v5.0'
fix(ldgen): check target conflict for entries with section aliases (v5.0)

See merge request espressif/esp-idf!26124
2023-10-07 14:38:01 +08:00
Jiang Jiang Jian
1f870c8102 Merge branch 'feature/rename_wpa2_ent_to_eap_client_v5.0' into 'release/v5.0'
WiFi: Rename WPA2 enterprise APIs to EAP Client. (v5.0)

See merge request espressif/esp-idf!26098
2023-10-07 14:33:17 +08:00
Jiang Jiang Jian
f2dbd880ee Merge branch 'bugfix/set_eir_when_no_eir_data_v5.0' into 'release/v5.0'
change(bt/bluedroid): Send a name tag with zero length when there is no EIR data

See merge request espressif/esp-idf!25950
2023-10-07 14:31:11 +08:00
Jiang Jiang Jian
32dcb1abd9 Merge branch 'bugfix/BLEQABR23-632v50' into 'release/v5.0'
fix(ble_mesh): avoid executing bt_mesh_host_init() more than once when using nimble (v5.0)

See merge request espressif/esp-idf!26242
2023-10-07 14:29:17 +08:00
Wu Meng Shi
9dc12cb8c2 fix(ble_mesh): avoid executing bt_mesh_host_init() more than once when using nimble (v5.0) 2023-10-07 14:29:16 +08:00
Jiang Jiang Jian
ffae14ac1d Merge branch 'bugfix/suppress_compiler_warning_silent_reboot_is_enabled_v5.0' into 'release/v5.0'
fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled (backport v5.0)

See merge request espressif/esp-idf!26037
2023-10-07 14:28:52 +08:00
Jiang Jiang Jian
64639bb296 Merge branch 'test/bqb_test_bt_classic_hfp_v5.0' into 'release/v5.0'
feat(bt/hfp): Add support for HFP BQB auto test (backport v5.0)

See merge request espressif/esp-idf!26223
2023-10-07 14:28:28 +08:00
Jiang Jiang Jian
d4b9cb7e63 Merge branch 'test/bqb_test_bt_classic_l2cap_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Add flags for BQB auto test of L2CAP (backport v5.0)

See merge request espressif/esp-idf!26219
2023-10-07 14:27:06 +08:00
Jiang Jiang Jian
ef2a051313 Merge branch 'bugfix/hfp_api_pkt_stat_nums_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics (backport v5.0)

See merge request espressif/esp-idf!26170
2023-10-07 14:25:13 +08:00
Jiang Jiang Jian
7b786f7716 Merge branch 'bugfix/reduce_bss_logging_v5.0' into 'release/v5.0'
wifi: Reduce BSS logging in wpa_supplicant

See merge request espressif/esp-idf!25824
2023-10-07 14:22:58 +08:00
Jiang Jiang Jian
acfe0474dd Merge branch 'ci/connect_at_different_phase_v5.0' into 'release/v5.0'
ci(wifi): Test connect api at different phase (backport v5.0)

See merge request espressif/esp-idf!25673
2023-10-07 14:21:54 +08:00
Abhik Roy
08a83bbea5 feat(lwip): Fixes and Improvements for NAPT and SBOM Support
- napt: restore to the initial state in deinit (espressif/esp-lwip@5c4f899f)
- napt: Fix ip_portmap_add() to keep only one port mapping (espressif/esp-lwip@d65ad241)
- napt: Fix clean compilation (espressif/esp-lwip@7033e26f)
- napt: Fix IP forwarding when forward netif enable NAPT (espressif/esp-lwip@bc78df87)
- napt/stats: Move some napt counters to stats module (espressif/esp-lwip@b55e64ae)
- ip_napt_maint: Fix timestamp overflow handling (2.1.3) (espressif/esp-lwip@a7e0a50c)
- napt: Fixes and improvements (2.1.3) (espressif/esp-lwip@fadb9109)
- Add sbom descripton file for Software BOM (espressif/esp-lwip@f07097d7)
2023-10-06 19:46:18 +11:00
Harshit Malpani
1f93358d4e
fix(esp_http_client): Call event_handler after header value is received 2023-10-05 10:24:18 +05:30
harshal.patil
6fdbd027c5
feat(esp_hw_support): Add locking layer for the ECC peripheral 2023-09-29 11:24:34 +05:30
Rahul Tank
782a60a11d fix(nimble): Add event for reattempt connection count information 2023-09-28 20:05:46 +05:30
Rahul Tank
2007f2f4cc Merge branch 'bugfix/remove_unused_coex_header_v5.0' into 'release/v5.0'
remove(nimble): Removed unused coex header inclusion (v5.0)

See merge request espressif/esp-idf!26180
2023-09-28 22:30:55 +08:00
Mahavir Jain
817f8ef669 Merge branch 'bugfix/http_client_tcp_config_v5.0' into 'release/v5.0'
http_client: Set common tcp config to both TCP and SSL transport (v5.0)

See merge request espressif/esp-idf!26206
2023-09-28 17:36:24 +08:00
morris
b07b08d9eb Merge branch 'bugfix/shared_intr_memory_location_v5.0' into 'release/v5.0'
fix(intr): always allocate memory from internal ram (v5.0)

See merge request espressif/esp-idf!26188
2023-09-28 16:44:14 +08:00
morris
821f6f117a Merge branch 'bugfix/rmt_pm_lock_type_v5.0' into 'release/v5.0'
fix(rmt): use ESP_PM_CPU_FREQ_MAX for RMT for non-dma channel (v5.0)

See merge request espressif/esp-idf!26259
2023-09-28 16:43:34 +08:00
Wang Meng Yang
284d6d235b Merge branch 'bugfix/add_params_check_for_hci_v5.0' into 'release/v5.0'
Fixed some HCI commands parameter (backport v5.0)

See merge request espressif/esp-idf!26150
2023-09-28 16:18:00 +08:00
hongshuqing
6ae027eb8b s2s3 cpu sw freq 2023-09-28 15:02:30 +08:00
Rahul Tank
f4e6510852 remove(nimble): Removed unused coex header inclusion 2023-09-28 10:47:06 +05:30
Rahul Tank
6d7c58516b Merge branch 'bugfix/ext_adv_log_v5.0' into 'release/v5.0'
fix(nimble): added log for extended advertisement (v5.0)

See merge request espressif/esp-idf!25940
2023-09-28 13:08:34 +08:00
wuzhenghui
49bd0ca8fd fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled 2023-09-28 02:53:07 +00:00
Mahavir Jain
012f13366a Merge branch 'feature/add_support_for_ds_peripheral_on_ota_v5.0' into 'release/v5.0'
feat(esp_http_client): Added support for OTA using ds peripheral for TLS (v5.0)

See merge request espressif/esp-idf!26092
2023-09-28 02:35:37 +08:00
David Čermák
d801c78081 Merge branch 'feature/eth_iram_optimization_v5.0' into 'release/v5.0'
feat(esp_eth): added IRAM optimization option for internal EMAC (v5.0)

See merge request espressif/esp-idf!25843
2023-09-27 20:58:06 +08:00
Mahavir Jain
f2077b13fb Merge branch 'bugfix/fix_condition_to_verify_when_no_SB_v5.0' into 'release/v5.0'
fix(bootloader_support): Fix condition for checking signature in the application (v5.0)

See merge request espressif/esp-idf!26226
2023-09-27 18:14:46 +08:00
morris
36392368f4 fix(rmt): fixed unstable transfer during DFS
Closes https://github.com/espressif/esp-idf/issues/12292
2023-09-27 17:33:18 +08:00
Wang Meng Yang
6c9b6207b2 Merge branch 'bugfix/fix_hid_congestion_v5.0' into 'release/v5.0'
Fix(bt/bluedroid): Fix the issue for HID congestion checking[backport 5.0]

See merge request espressif/esp-idf!26232
2023-09-27 16:26:38 +08:00
Armando
30fda7f5c2 change(mspi): remove s3 120mhz sdr warning 2023-09-27 15:00:26 +08:00
gongyantao
1b6cfd828d fix(bt/bluedroid): ble fails to load bonded device info after reboot
1: add a quantity check in bt when writing paired device info into nvs.
2: delete the exceeded device info from NVS when get bonded list during
bluedroid initialization.
3: unify the process of bt and ble to load bonded list during bluedroid
initialization.
2023-09-27 10:44:19 +08:00
morris
fcfb16050f fix(intr): always allocate memory from internal ram
Closes https://github.com/espressif/esp-idf/issues/12271
2023-09-27 02:36:01 +00:00
Ondrej Kosta
8d4ae2014b feat(esp_eth): added IRAM optimization option for internal EMAC 2023-09-26 13:29:37 +00:00
Mahavir Jain
b089f6e038 Merge branch 'update/micro-ecc_submodule_v5.0' into 'release/v5.0'
feat(bootloader): Update micro-ecc version to v1.1 (v5.0)

See merge request espressif/esp-idf!26140
2023-09-26 18:34:27 +08:00
Harshit Malpani
c71801f9fa
fix(bootloader): Update kconfig option 2023-09-26 13:31:58 +05:30
Harshit Malpani
3ea86d53b1
fix(bootloader_support): Fix condition for SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
Fix the condition to verify the image when SECURE_SIGNED_APPS_ECDSA_V2_SCHEME and
SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT are selected.
2023-09-26 13:31:58 +05:30
wanglai@espressif.com
261a2618b9 fix(bt/bluedroid): Revise the description for index in esp_hf_ag_clcc_response and correct the error return in btc_hf_indchange_notification
1: modify the description of param index in function
esp_hf_ag_clcc_response.
2: fix the error code return of function btc_hf_indchange_notification.
2023-09-26 15:10:15 +08:00
wanglai@espressif.com
f4170d127e feat(bt/bluedroid): Add flag to control whether to send AT+CLIP cmd for BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
7e1af63bfc feat(bt/bluedroid): Add flag to change HFP client features for BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
9897df3647 feat(bt/bluedroid): Add eSCO S1 support for hfp client BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
23e3279a84 feat(bt/bluedroid): Add flag to send BRSF features for hfp ag BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
4f332026e6 feat(bt/bluedroid): Modify the btc hf features for AT+NREC cmd in BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
ce41d2c0a8 fix(bt/bluedroid): Fix the process of sending OK in ATD and COPS cmds 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
9a11ce19ea feat(bt/bluedroid): Add supprot for specific indicator sending from AG to Client 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
2a747a3058 feat(bt/bluedroid): Modify AT+CNUM response api and HFP AG example 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
0687fad3d6 feat(bt/bluedroid): Add HFP config for BQB test 2023-09-26 15:10:14 +08:00
liqigan
833d3226c5 fix(bt/bluedroid): Fix the issue for HID congestion checking 2023-09-26 14:15:44 +08:00
wanglai@espressif.com
6c1d11ad7e 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:24 +08:00
David Cermak
0c379e6663 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:57:25 +02:00
darshan
0ae59943e2 fix(nimble): added log for extended advertisement (v5.0) 2023-09-25 17:41:33 +05:30
Rahul Tank
840d8a2aee Merge branch 'feature/adv_queue_congestion_v5.0' into 'release/v5.0'
feat(nimble): Added adv queue congestion check (v5.0)

See merge request espressif/esp-idf!25731
2023-09-25 19:18:39 +08:00
baohongde
7620ff11b5 change(bt/bluedroid): Send a name tag with zero length when there is no EIR data 2023-09-25 06:28:42 +00:00
Kapil Gupta
32c6d13001 change(wifi): Rename ESP_WIFI_MBEDTLS_CRYPTO to WPA_MBEDTLS_CRYPTO 2023-09-25 10:58:06 +05:30
Kapil Gupta
9562935813 change(wifi): Add dependency of group 19 for MbedTLS crypto 2023-09-25 10:57:57 +05:30
Kapil Gupta
3f0800ef66 change(wifi): Add supplicant's public API header files to doc 2023-09-25 10:57:11 +05:30
shangke
5d3d6bf7c0 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-25 11:42:36 +08:00
chenqingqing
af72846e92 fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics 2023-09-25 10:50:52 +08:00
zhanghaipeng
a921a2dfd7 fix(bt/bluedroid): Fix set periodic advertising data error 2023-09-23 20:23:49 +08:00
harshal.patil
9bf94cb7e1
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:50:00 +05:30
You Wei
82f26d48a3 fix(ldgen): check target conflict for entries with section alias 2023-09-21 19:41:24 +08:00
Sudeep Mohanty
e53e0c553f fix(freertos): Updated IDLE task names for each core to have the coreID as a suffix
This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the names.

Closes https://github.com/espressif/esp-idf/issues/12204
2023-09-21 13:11:36 +02:00
Jiang Jiang Jian
5b2404af4b Merge branch 'feat/add_internal_pull_up_or_pull_down_option_for_deepsleep_wakeup_prepare_v5.0' into 'release/v5.0'
feat(pm): add internal pull-up/downs option for gpio used for deepsleep wakeup (backport v5.0)

See merge request espressif/esp-idf!26041
2023-09-21 15:36:50 +08:00
Kapil Gupta
5cc7d3741d change(esp_wifi): Rename WiFi enterprise connection APIs 2023-09-21 11:54:32 +05:30
Aditya Patwardhan
1e95e18576 feat(esp_http_client): Added support for OTA using ds peripheral for TLS 2023-09-21 10:22:41 +05:30
Jiang Jiang Jian
11091e654a Merge branch 'bugfix/pthread_cond_var_link_hook_v5.0' into 'release/v5.0'
bugfix(pthread): fixed pthread_condvar linker hook (v5.0)

See merge request espressif/esp-idf!26005
2023-09-21 10:56:50 +08:00
Kapil Gupta
c853492e1c change(wifi): Reduce BSS logging in wpa_supplicant 2023-09-21 02:55:35 +00:00
Jiang Jiang Jian
c4d7be43ed Merge branch 'bugfix/wps_wpa3_passphrase_v5.0' into 'release/v5.0'
WiFi: get passphrase in WPS if AP support SAE (v5.0)

See merge request espressif/esp-idf!25886
2023-09-21 10:54:06 +08:00
aditi_lonkar
9f0d0e27ef wpa_supplicant: Fix for issue of wps-pbc overlap in wps-pin method 2023-09-21 02:52:49 +00:00
Jiang Jiang Jian
92b4e5c15b Merge branch 'bugfix/skip_using_cache_in_wrong_passwd_cfg_v5.0' into 'release/v5.0'
Skip PMK cache usage if configured password is incorrect (Backport v5.0)

See merge request espressif/esp-idf!25707
2023-09-21 10:52:10 +08:00
Jiang Jiang Jian
0b4adebda5 Merge branch 'feature/configurable_wpa2_ent_v5.0' into 'release/v5.0'
Make enterprise support configurable to save binary size.(v5.0)

See merge request espressif/esp-idf!25557
2023-09-21 10:37:20 +08:00
Wang Meng Yang
3ab19cc298 Merge branch 'origin/test/bqb_test_bt_classic_avdtp_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Add avdt abort function for BQB test(backport v5.0)

See merge request espressif/esp-idf!26046
2023-09-21 09:47:36 +08:00
Lou Tianhao
0c09543d65 feat(pm): add internal pull-up/downs option for gpio used for deepsleep wakeup 2023-09-20 17:30:18 +08:00
Wang Meng Yang
a48a845cfa Merge branch 'change/optimize_sniff_request_v5.0' into 'release/v5.0'
Change(bt/bluedroid): Limit sniff request when pending mode change event[backport 5.0]

See merge request espressif/esp-idf!26054
2023-09-20 16:50:50 +08:00
Aditya Patwardhan
d2109f0527 Merge branch 'bugfix/aes_dma_descriptor_setup_issue_v5.0' into 'release/v5.0'
fix(aes): correct the linking of the DMA descriptors (v5.0)

See merge request espressif/esp-idf!25785
2023-09-20 13:52:03 +08:00
liqigan
0016eb028c change(bt/bluedroid): Limit sniff request when pending mode change event 2023-09-19 20:10:37 +08:00
LiPeng
a431bb4579 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:51 +02:00
Island
caf6660080 Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
Fixed some BLE bugs (backport v5.0)

See merge request espressif/esp-idf!26031
2023-09-19 14:51:03 +08:00
morris
69b0a57777 Merge branch 'contrib/github_pr_12179_v5.0' into 'release/v5.0'
fix(uart): Fix uart_ll_set_baudrate div-by-zero crash due to uint32_t overflow (backport v5.0)

See merge request espressif/esp-idf!26017
2023-09-19 13:15:17 +08:00
Wang Meng Yang
185ed100fd Merge branch 'bugfix/error_param_in_BTA_AG_WBS_EVT_v5.0' into 'release/v5.0'
Bugfix/error param in bta ag wbs evt (v5.0)

See merge request espressif/esp-idf!26002
2023-09-19 12:01:01 +08:00
wanglai@espressif.com
40b99b513c feat(bt/bluedroid): Add avdt abort function for BQB test
1: add new AVDTP abort function for BQB test
2023-09-19 11:55:58 +08:00
morris
711477d354 Merge branch 'feature/specify_rmt_intr_priority_v5.0' into 'release/v5.0'
feat(rmt): specify interrupt priority (v5.0)

See merge request espressif/esp-idf!25719
2023-09-19 11:49:18 +08:00
morris
2bec2de36e Merge branch 'feature/mcpwm_interrupt_priority_v5.0' into 'release/v5.0'
feat(MCPWM): Support set interrupt priority(v5.0)

See merge request espressif/esp-idf!25522
2023-09-19 10:41:58 +08:00
morris
d86397aca4 Merge branch 'feature/pcnt_interrupt_priority_v5.0' into 'release/v5.0'
feat(pcnt): support set interrupt priority(v5.0)

See merge request espressif/esp-idf!25520
2023-09-19 10:27:28 +08:00
morris
d6df3b7758 Merge branch 'feature/add_mcpwm_carrier_clk_source_v5.0' into 'release/v5.0'
feat(MCPWM): Add mcpwm carrier clk source(v5.0)

See merge request espressif/esp-idf!25523
2023-09-19 10:24:25 +08:00
chenjianhua
9af8a1e7a7 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-18 19:39:41 +08:00
chenjianhua
9fce08c5d2 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-18 19:39:27 +08:00
chenjianhua
19a07ffb96 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-18 19:38:38 +08:00
zhanghaipeng
c85c755ec6 fix(bt): Fix bugs about updating connect param 2023-09-18 19:38:20 +08:00
zhanghaipeng
4e6a831d57 fix(bt): Fix bug while calculating block cipher using aes-128 2023-09-18 19:38:13 +08:00
zhanghaipeng
ed1a83a93f docs(bt): Update comment in ble 2023-09-18 19:38:04 +08:00
zhanghaipeng
debcf93282 feat(bt/bluedroid): Support periodic adv adi feature 2023-09-18 19:37:55 +08:00
chenjianhua
559368ba77 fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting 2023-09-18 19:37:45 +08:00
chenjianhua
c75ffd7de1 fix(bt/bluedroid): Fixed GATTC cache address save when list is full 2023-09-18 19:37:38 +08:00
chenjianhua
fc57ae154d feat(bt/bluedroid): Support high duty adv interval setting 2023-09-18 19:37:28 +08:00
chenjianhua
3115bd17b5 fix(bt/bluedroid): Fix address check when using NRPA as random device address 2023-09-18 19:37:18 +08:00
Wang Meng Yang
ae3029cad8 Merge branch 'bugfix/fix_some_hci_cmd_param_check_v5.0' into 'release/v5.0'
fix(bt/controller): Fixed some HCI commands parameter check  (Backport v5.0)

See merge request espressif/esp-idf!25714
2023-09-18 19:07:35 +08:00
Song Ruo Jing
6fd9a50c17 fix(uart): Add 8/16-bit register field access workaround to ESP32C2 2023-09-18 16:34:18 +08:00
Eduardo Lacerda Campos
5a1d9da84f 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-18 16:34:05 +08:00
morris
2fd9ca6554 Merge branch 'feature/esp_lcd_st7789_rgb_data_endian_config_v5.0' into 'release/v5.0'
feat(st7789): add data endian config (v5.0)

See merge request espressif/esp-idf!25803
2023-09-18 15:50:23 +08:00
Island
87aeb49cff Merge branch 'feature/support_ble_53_host_feat_v5.0' into 'release/v5.0'
Support BLE host feature for PTS (backport v5.0)

See merge request espressif/esp-idf!25646
2023-09-18 15:23:06 +08:00
Wang Meng Yang
5a98ae1a52 Merge branch 'bugfix/fix_hidd_send_rpt_without_connection_v5.0' into 'release/v5.0'
Change(bt/bluedroid): Optimize HIDD sending interrupt report behavior[backport 5.0]

See merge request espressif/esp-idf!25919
2023-09-18 14:07:20 +08:00
Jakob Hasse
83b9a7e2a5 fix(pthread): fixed pthread_condvar linker hook 2023-09-18 12:31:34 +08:00
darshan
4c118e23ca feat(nimble): Added adv queue congestion check 2023-09-18 09:15:51 +05:30
Island
d1d4519f96 Merge branch 'feature/esp32c2_add_trace_function_v5.0' into 'release/v5.0'
ble: supported trace function and adv report flow control on esp32c2

See merge request espressif/esp-idf!25641
2023-09-18 11:44:27 +08:00
Rahul Tank
e3f05d0972 Merge branch 'feat/add_high_duty_adv_interval_v5.0' into 'release/v5.0'
feat(nimble): Added support for high duty adv interval (v5.0)

See merge request espressif/esp-idf!25554
2023-09-18 11:40:24 +08:00
morris
42a703f287 Merge branch 'feature/esp_lcd_spi_support_quad_mode_v5.0' into 'release/v5.0'
esp_lcd: spi support quad mode (v5.0)

See merge request espressif/esp-idf!25562
2023-09-18 11:28:59 +08:00
Wang Meng Yang
a6abcfb990 Merge branch 'test/bqb_test_bt_classic_sdp_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Add language base attr list to SDP record for BQB test (backport v5.0)

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

See merge request espressif/esp-idf!25834
2023-09-18 11:05:35 +08:00
Jin Cheng
11ecd9e5cf fix(bt/bluedroid): Fixed incorrect arrangement in type esp_hf_dial_type_t 2023-09-18 11:04:19 +08:00
Jin Cheng
89bfe3e352 change(bt/bluedroid): Added line information printing when error occurs CHECK_HF_IDX 2023-09-18 11:04:19 +08:00
Jin Cheng
03d9d39ec7 fix(bt/bluedroid): Fixed the issue of uninitialized parameters in event BTA_AG_WBS_EVT 2023-09-18 11:04:19 +08:00
morris
8276854072 Merge branch 'feature/esp_lcd_panel_add_data_and_type_v5.0' into 'release/v5.0'
feat(esp_lcd): add user data and init cmd (v5.0)

See merge request espressif/esp-idf!25722
2023-09-18 11:03:35 +08:00
Wang Meng Yang
1b4464a6be Merge branch 'test/bqb_test_bt_classic_a2dp_v5.0' into 'release/v5.0'
feat(bt/bqb): Add setting SBC encoder and reject invalid codec type support for a2dp BQB test (backport v5.0)

See merge request espressif/esp-idf!25685
2023-09-18 11:02:56 +08:00
Planck (Lu Zeyu)
f089f0d83b feat(rmt): specify interrupt priority 2023-09-18 03:02:49 +00:00
Wang Meng Yang
6314d3540b Merge branch 'bugfix/hf_ag_report_event_with_null_bdaddr_v5.0' into 'release/v5.0'
Bugfix/fixed bugs of HFP in BlueDroid (v5.0)

See merge request espressif/esp-idf!25828
2023-09-18 10:52:01 +08:00
Jiang Jiang Jian
21a6d5b4cd Merge branch 'docs/update_wakeup_gpio_esp32s2_esp32s3_esp32c6_esp32h2_v5.0' into 'release/v5.0'
docs: Updated wakeup GPIOs for ESP32-S2, ESP32-S3, ESP32-C6 and ESP32-H2

See merge request espressif/esp-idf!25617
2023-09-18 10:46:14 +08:00
Marius Vikhammer
1bdc5dedc1 Merge branch 'bugfix/freertos_vTaskSuspendAll_test_flakiness_v5.0' into 'release/v5.0'
FreeRTOS: Fix vTaskSuspendAll unit test flakiness (v5.0)

See merge request espressif/esp-idf!25609
2023-09-18 10:20:39 +08:00
Mahavir Jain
833970b783 Merge branch 'feature/freertos_add_sbom_file_v5.0' into 'release/v5.0'
feat(freertos): Added SBOM manifest file for SPDX file generation (v5.0)

See merge request espressif/esp-idf!25892
2023-09-16 21:35:15 +08:00
Roland Dobai
7ce55ea9fe Merge branch 'feature/configurable_gcov_task_size_v5.0' into 'release/v5.0'
feat(gcov): make gcov dump task size configurable (v5.0)

See merge request espressif/esp-idf!25601
2023-09-15 23:59:55 +08:00
Kapil Gupta
a869c484d0 fix(wifi): Get passphrase in WPS if AP support SAE
Also add changes to send NACK if WPS message received twice.
2023-09-15 10:28:48 +00:00
Island
3da1684b4a Merge branch 'backport_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh(backport v5.0)

See merge request espressif/esp-idf!25957
2023-09-15 14:21:25 +08:00
Roman Leonov
8fbf4ba605 bugfix(usb/host): Fix transfer direction determination during argument checking for regular EP transfer 2023-09-13 21:53:28 +02:00
zhanghaipeng
b0d4fb3b35 fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh 2023-09-13 18:17:56 +08:00
luomanruo
79b2773102 change(ble): update controller log print interface 2023-09-12 17:40:50 +08:00
wanglai@espressif.com
a02cb1ebc0 feat(bt/bluedroid): Add language base attr list to SDP record for BQB test 2023-09-12 13:04:33 +08:00
Linda
9fb3f19e3a docs: Updated wakeup GPIOs for ESP32-S2, ESP32-S3, ESP32-C6 and ESP32-H2 2023-09-12 11:17:07 +08:00
liqigan
4b7f77a769 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:14:25 +08:00
Aditya Patwardhan
a4223c75a6 versions: Update version to 5.0.4 2023-09-11 10:38:15 +05:50
Sudeep Mohanty
9fe0fa3455 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:56:04 +02:00
cjin
e741807b5a ble: support esp32c2 wakeup overhead 2023-09-08 17:03:06 +08:00
zwl
dc417eeab9 feat(ble): enable adv report flow control on esp32c2 2023-09-07 16:38:03 +08:00
zwl
99197d4a02 feat(ble): supported trace function and adv report flow control on esp32c2 2023-09-07 16:30:20 +08:00
wanglai@espressif.com
60b4e1f998 feat(bt/bluedroid): Add setting local di record function for bt classic hid device bqb test 2023-09-07 14:20:56 +08:00
wanglai@espressif.com
5f243e9b95 fix(bt/bluedroid): Changed HID related copyright automatically 2023-09-07 14:20:36 +08:00
chenqingqing
fbf196a7f9 feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent 2023-09-07 11:37:09 +08:00
Jin Cheng
54fecc5561 fix(bt/bluedroid): Deleted the redundant 'memset' in btc_hf_cb_handler 2023-09-07 10:59:06 +08:00
Jin Cheng
5dc39ebf5a docs(bt/bluedroid): Changed the description of esp_hf_client_reject_call 2023-09-07 10:56:11 +08:00
Jin Cheng
fbf2d5d5d9 fix(bt/bluedroid): Fixed wrong indexes of HF-AG indicators 2023-09-07 10:56:11 +08:00
Jin Cheng
774056bf62 fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters 2023-09-07 10:56:11 +08:00
Jin Cheng
e1864ca1e8 fix(bt/bluedroid): Changed log level from WARNING to DEBUG in bta_ag_sco_read_cback 2023-09-07 10:56:11 +08:00
Jin Cheng
e36e0f5233 fix(bt/bluedroid): Fixed wrong code logic in 'AT+CIND?' of HFP 2023-09-07 10:56:11 +08:00
Jin Cheng
f0ed003d91 fix(bt/bluedroid): Fixed errors in parsing ATD command in HFP AG 2023-09-07 10:56:11 +08:00
Jin Cheng
fb14ef7c24 fix(bt/bluedroid): Fixed NULL Bluetooth device address in HF-AG events was reported to application layer 2023-09-07 10:56:11 +08:00
Planck (Lu Zeyu)
9ab9e05639 feat(st7789): add data endian config
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-06 17:04:34 +08:00
Mahavir Jain
aba35cd526
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:30:00 +05:30
Mahavir Jain
29be69d797
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:29:57 +05:30
wanglai@espressif.com
c95c3ba38e feat(bt/bluedroid): Set SBC encoder as PTS required for BQB test.
1: set SBC encoder as PTS required. The encoder is effective first.
But it changes to default after media start.
2023-09-05 01:55:37 +00:00
wanglai@espressif.com
14b1290a20 fix(bt/bluedroid): Reject SET CONFIGURATION command with error code INVALID_CODEC_TYPE.
1: reset p_scb->avdt_handle in cleanup function.
2: cancel comparing p_scb->codec_type and p_scb->seps[xx].codec_type to
   send the error INVALID_CODEC_TYPE.
2023-09-05 01:55:37 +00:00
Liu Zhong Wei
8668c55512 feat(esp_lcd): add user data and init cmd 2023-09-04 13:26:18 +08:00
linruihao
7e4a64a9ab fix(bt/controller): Fixed some HCI commands parameter check
Fixed HCI_Change_Connection_Packet_Type Command parameter check
Fixed HCI_Accpet_Synchronous_Connection_Request Command parameter check
Fixed HCI_Set_Connectionless_Peripheral_Broadcast_Data Command parameter check
2023-09-04 11:36:29 +08:00
ding huan
1eae9ce61c ci(wifi): Test connect api at different phase 2023-09-02 21:48:59 +08:00
Shyamal Khachane
7a3d12316a fix(esp_wifi): Skip PMK cache usage if configured password is incorrect 2023-09-01 18:48:11 +05:30
wanlei
bf1a67362e fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed
Close https://github.com/espressif/esp-idf/issues/11845
2023-09-01 17:30:26 +08:00
chenjianhua
11e8970a45 bluedroid: add GATT read multi variable API and evt 2023-08-30 15:17:56 +08:00
chenjianhua
0315b24514 bluedroid: add periodic adv sync transfer API and EVT 2023-08-30 15:17:47 +08:00
chenjianhua
630154ed2d bluedroid: support gatts show local database 2023-08-30 15:17:38 +08:00
chenjianhua
3100841f64 bluedroid: fixed GATT multi notify and robust caching 2023-08-30 15:17:30 +08:00
chenjianhua
285e86ad04 bluedroid: add config for GAP service and periodic adv sync transfer 2023-08-30 15:17:14 +08:00
chenjianhua
0b76c3615e bluedroid: add internal GATT API for PTS 2023-08-30 15:15:23 +08:00
chenjianhua
69b8b587c9 bluedroid: add config for robust caching and RPA timeout 2023-08-30 15:15:09 +08:00
chenjianhua
42a1d94830 bluedroid: support GATT robust caching feature 2023-08-30 15:13:03 +08:00
chenjianhua
1ce00f01ca bluedroid: support GATT services database hash calculate 2023-08-30 15:12:52 +08:00
chenjianhua
ed34a2b500 bluedroid: support periodic advertising sync transfer cmd 2023-08-30 15:12:41 +08:00
chenjianhua
52e3e684e0 bluedroid: support LE L2CAP credit based connection 2023-08-30 15:12:12 +08:00
chenjianhua
4145099bdc bluedroid: support oob pairing for smp secure connection 2023-08-30 15:11:34 +08:00
Erhan Kurubas
5577f709b0 fix(breakpoint): fix bp/wp logic when debugger is connected 2023-08-29 12:37:33 +02:00
Chen Jichang
03ec7a0c5d feat(pcnt): support set interrupt priority(v5.0) 2023-08-29 07:48:30 +00:00
Island
7065c87963 Merge branch 'bugfix/ble_hci_issues_chain_mbuf_v5.0' into 'release/v5.0'
fix hci issues when chain mbuf exists

See merge request espressif/esp-idf!25533
2023-08-29 10:27:40 +08:00
Darian Leung
715ff1e432 freertos: Fix vTaskSuspendAll unit test falkiness
This commit fixes falkey unit tests (due to memory leaks) by adding a short
delay at the end of the test to allow the idle task to free task memory.
2023-08-28 19:09:53 +08:00
Erhan Kurubas
a9f039e56f feat(gcov): make gcov dump task size configurable 2023-08-28 12:02:58 +02:00
Jiang Jiang Jian
a78ad034f5 Merge branch 'bugfix/fix_mem_map_issue_v5.0' into 'release/v5.0'
flash_mmap: fix range issue (v5.0)

See merge request espressif/esp-idf!24529
2023-08-26 10:28:44 +08:00
Jiang Jiang Jian
45e1b89efe Merge branch 'feature/default_clock_source_can_leave_empty_v5.0' into 'release/v5.0'
feat(mcpwm): default clock source setting can leave empty (v5.0)

See merge request espressif/esp-idf!25549
2023-08-26 10:15:28 +08:00
Jiang Jiang Jian
62e6999279 Merge branch 'bugfix/fix_adc_continuous_driver_isr_flag_issue_v5.0' into 'release/v5.0'
adc: fix continuous hal func not in iram when gdma isr iram (v5.0)

See merge request espressif/esp-idf!25506
2023-08-26 09:59:54 +08:00
Jiang Jiang Jian
3d99ce2d1a Merge branch 'bugfix/supplicant_osi_violation_v5.0' into 'release/v5.0'
Fix abstraction violation in wpa_supplicant (Backport v5.0)

See merge request espressif/esp-idf!25566
2023-08-26 07:24:11 +08:00
Jiang Jiang Jian
8797a92844 Merge branch 'bugfix/fixed_esp32_psram_2t_mode_cannot_detect_issue_v5.0' into 'release/v5.0'
psram: fixed esp32 2t mode fail issue (v5.0)

See merge request espressif/esp-idf!23028
2023-08-25 15:07:35 +08:00
Nachiket Kukade
304d6164ae fix(supplicant): Fix abstraction violation in wpa_supplicant 2023-08-25 12:33:29 +05:30
Rahul Tank
4095399436 feat(nimble): Added support for high duty adv interval 2023-08-25 12:06:50 +05:30
Liu Zhongwei
a6958aa142 feat(esp_lcd): spi add support for quad mode 2023-08-25 14:18:41 +08:00
Liu Zhongwei
c6992fa8b8 feat(esp_lcd): rgb add callback when bounce buffer finish 2023-08-25 14:18:41 +08:00
aditi_lonkar
ff523686b5 esp_wifi: Make enterprise support configurable to save binary size. 2023-08-25 11:14:49 +05:30