Commit Graph

18430 Commits

Author SHA1 Message Date
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
luomanruo
eb8a741be2 ble: Assert when getting memory fail 2023-08-25 12:27:05 +08:00
Jiang Jiang Jian
1baf1055bd Merge branch 'feature/config_device_name_in_eir_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Add option whether to include device name in extended inquiry response

See merge request espressif/esp-idf!25542
2023-08-25 12:27:03 +08:00
luomanruo
0861bf4c55 ble: Fix hci issues when chain mbuf exists 2023-08-25 12:26:50 +08:00
Jiang Jiang Jian
e8507d1380 Merge branch 'contrib/github_pr_11923_v5.0' into 'release/v5.0'
fix(esp-tls): fix pointer cast and condition for CONFIG_ATECC608A_TCUSTOM (GitHub PR) (v5.0)

See merge request espressif/esp-idf!25501
2023-08-25 12:11:12 +08:00
Jiang Jiang Jian
8e3b112c74 Merge branch 'bugfix/fix_legacy_adc_continuous_driver_dma_descriptor_not_internal_issue_v5.0' into 'release/v5.0'
adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue (v5.0)

See merge request espressif/esp-idf!25509
2023-08-25 12:08:15 +08:00
Jiang Jiang Jian
328f592e9d Merge branch 'bugfix/esp_timer_prevents_delay_for_isr_dispatch_callbacks_v5.0' into 'release/v5.0'
fix(esp_timer): Fix delay in ISR dispatch callbacks (v5.0)

See merge request espressif/esp-idf!25473
2023-08-25 12:08:02 +08:00
Jiang Jiang Jian
1b580186f2 Merge branch 'bugfix/sdmmc_host_cclk_lp_v5.0' into 'release/v5.0'
sdmmc: keep clock enabled for the duration of ACMD41 (v5.0)

See merge request espressif/esp-idf!24334
2023-08-25 12:07:24 +08:00
Armando
d90cb866f1 test(adc): continuous driver iram test with gdma iram safe option only 2023-08-25 10:56:20 +08:00
Armando
53b1c2a2e6 test(flash_mmap): test flash mmap pages 2023-08-25 10:37:48 +08:00
Armando
6183b555aa fix(flash_mmap): fixed limited free I/D pages on ESP32S3, C2, C3 2023-08-25 10:37:48 +08:00
morris
358b408753 feat(mcpwm): default clock source setting can leave empty 2023-08-25 10:26:36 +08:00
morris
676553f432 fix(adc): invalid assertion on the adc_unit 2023-08-25 10:21:46 +08:00
Chen Jichang
615222f1c2 feat(MCPWM): Support set interrupt priority(v5.0) 2023-08-24 19:56:42 +08:00
baohongde
d82a2e2eec feat(bt/bluedroid): Add option whether to include device name in extended inquiry response 2023-08-24 19:36:26 +08:00
Armando
9d6809bc99 psram: fixed esp32 2t mode fail issue 2023-08-24 15:30:07 +08:00
liuning
484f4cce31 fix(esp_wifi): fix no mac retention at wifi start 2023-08-24 06:36:34 +00:00
Jiang Jiang Jian
61ef154a60 Merge branch 'bugfix/v5.0_ble_issues_bugfix_c2' into 'release/v5.0'
Bugfix/v5.0 ble issues bugfix c2

See merge request espressif/esp-idf!25437
2023-08-24 14:13:26 +08:00
Alex
97bdb74766 fix(esp-tls): fix pointer cast and condition for CONFIG_ATECC608A_TCUSTOM
Closes https://github.com/espressif/esp-idf/pull/11923
2023-08-24 04:17:56 +00:00
Chen Jichang
2a88fb9e81 feat(MCPWM): Add mcpwm carrier clk source
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-24 11:45:28 +08:00
Armando
d2fb10008e fix(adc): fix adc continuous hal func not in iram when gdma isr iram 2023-08-24 10:50:33 +08:00
Ivan Grokhotkov
f82d97216a sdmmc: keep clock enabled for the duration of ACMD41
SD specification requires that card clock is not disabled until the
card is idle, following ACMD41 command.
2023-08-24 02:16:37 +00:00
Armando
5a90dfb776 adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue 2023-08-23 19:45:56 +08:00
Marius Vikhammer
6bb1e32782 Merge branch 'bugfix/usb/host/urb_compliance_verification_add_v5.0' into 'release/v5.0'
[USB Host] added URB check args and transfer check compliance for regular EP transfer submit (v5.0)

See merge request espressif/esp-idf!25469
2023-08-23 19:09:17 +08:00
KonstantinKondrashov
453e0c784d refactor(esp_timer): Remove duplicate code and move it to a common file 2023-08-23 17:12:45 +08:00
Alan Fisher
41dc26f5bd fix(esp_timer): Fix delay in ISR dispatch callbacks
Set the following alarm before calling the alarm handler.

Closes https://github.com/espressif/esp-idf/pull/11637
Closes https://github.com/espressif/esp-idf/issues/11636
2023-08-23 17:10:45 +08:00
Jiang Jiang Jian
46f5638847 Merge branch 'bugfix/incorrect_time_after_ota_v5.0' into 'release/v5.0'
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around (v5.0)

See merge request espressif/esp-idf!24410
2023-08-23 16:34:43 +08:00
Jiang Jiang Jian
29cd791cd9 Merge branch 'bugfix/fix_pmf_set_race_v5.0' into 'release/v5.0'
fix(wifi): Prevent PMF config overwritten by tx_cb(v5.0)

See merge request espressif/esp-idf!25416
2023-08-23 14:57:34 +08:00
Marius Vikhammer
b01f0fee50 Merge branch 'bugfix/usb_hcd_interrupt_alloc_error_return_v5.0' into 'release/v5.0'
USB Host: Fix coverity issues with hcd_install() (v5.0)

See merge request espressif/esp-idf!25464
2023-08-23 14:03:58 +08:00
Marius Vikhammer
6c6a55ef91 Merge branch 'bugfix/intr_flags_to_level_v5.0' into 'release/v5.0'
fix(intr_flags_to_level): fix value returned one more than correct value (v5.0)

See merge request espressif/esp-idf!25425
2023-08-23 13:55:30 +08:00
Shreyas Sheth
711279c36f fix(wifi): Prevent PMF config overwritten by tx_cb 2023-08-23 03:44:47 +00:00
Jiang Jiang Jian
186b5b4d55 Merge branch 'bugfix/ignore_eapol_nonkey_v5.0' into 'release/v5.0'
Ignore EAPOL non-key frames in EAPOL txdone callback (Backport v5.0)

See merge request espressif/esp-idf!25455
2023-08-23 10:37:44 +08:00
luomanruo
ee1c3119a7 ble: update btlib to f9db7b90, some esp32c2 issues bugfixed 2023-08-23 10:23:02 +08:00
Roman Leonov
af45a6d40d usb_host: added URB check args and transfer check compliance for regular EP transfer submit 2023-08-22 16:31:37 +08:00
Darian Leung
a4fa0019ec usb_host: Fix coverity issues with hcd_install()
- Use single "err_ret" variable for returning errors
- Simplify bail out procedure by using more labels
2023-08-22 15:31:40 +08:00
Mahavir Jain
8b692dd0ca Merge branch 'contrib/github_pr_11869_v5.0' into 'release/v5.0'
bugfix: avoid warning in espcoredump when log disabled (GitHub PR) (v5.0)

See merge request espressif/esp-idf!25144
2023-08-22 14:51:41 +08:00
Jiang Jiang Jian
d52c033574 Merge branch 'fix/wifi_wps_pbc_overlap_v5.0' into 'release/v5.0'
fix(wpa_supplicant): Add support to detect PBC overlap in wps registrar mode (Backport v5.0)

See merge request espressif/esp-idf!25441
2023-08-22 10:41:01 +08:00
Jiang Jiang Jian
85b69db02d Merge branch 'bugfix/fix_dhcp_server_address_pool_issue_5.0' into 'release/v5.0'
fix(dhcp server): Fix dhcp server address pool issue 5.0

See merge request espressif/esp-idf!25435
2023-08-22 10:38:55 +08:00
Jiang Jiang Jian
80231a8c58 Merge branch 'bugfix/optimize_beacon_rx_v5.0' into 'release/v5.0'
fix(phy): fix some phy issue(v5.0)

See merge request espressif/esp-idf!25436
2023-08-22 10:25:20 +08:00
Nachiket Kukade
9489c588bc fix(supplicant): Ignore EAPOL non-key frames in EAPOL txdone callback 2023-08-21 19:01:45 +05:30
Jiang Jiang Jian
87d429fb57 Merge branch 'bugfix/incr_sdp_max_conns_v5.0' into 'release/v5.0'
fix(bt): Increased SDP maximum connections to avoid connection exhausted (v5.0)

See merge request espressif/esp-idf!25430
2023-08-21 20:20:12 +08:00
Jiang Jiang Jian
478022104a Merge branch 'bugfix/fix_espnow_set_lr_rate_fail_v5.0' into 'release/v5.0'
fix(wifi/vendor): fix some bugs in LR and ESP-NOW (backport v5.0)

See merge request espressif/esp-idf!25414
2023-08-21 15:48:37 +08:00
Sarvesh Bodakhe
8c22b81949 fix(wpa_supplicant): Add support to detect PBC overlap in wps registrar mode 2023-08-21 12:34:17 +05:30
morris
9aefeb6dcb Merge branch 'bugfix/twai_install_returns_error_on_intr_alloc_fail_v5.0' into 'release/v5.0'
TWAI: twai_driver_install() returns error on interrupt allocation failure (GitHub PR) (v5.0)

See merge request espressif/esp-idf!24824
2023-08-21 13:26:43 +08:00
Jiang Jiang Jian
98c2bc85bb Merge branch 'bugfix/neighbour_report_crash_v50' into 'release/v5.0'
Fix crash in RRM neighbour report requests.(v5.0)

See merge request espressif/esp-idf!25408
2023-08-21 12:30:22 +08:00
alanmaxwell
cf4c628ef3 fix(phy): fix some phy issue
1. WIFI RX multipath optimization
2. BLE TX sideband optimization for C3/S3
3. Optimize ht40 tx side band issue
2023-08-21 12:00:38 +08:00
xueyunfei
bc003fc6d4 fix(dhcp server): Fix dhcp server address pool issue 2023-08-21 11:54:30 +08:00
luomanruo
9806a1e7e2 update btlib to f9db7b90, some esp32c2 issues bugfixed 2023-08-21 11:52:56 +08:00
Jin Cheng
849ab66f5f fix(bt): Increased SDP maximum connections to avoid connection exhausted 2023-08-21 11:20:48 +08:00
Jiang Jiang Jian
d811f7c1f0 Merge branch 'docs/fatfs_add_api_reference_v5.0' into 'release/v5.0'
docs(fatfs): Move mentioned APIs to a separate API reference section (v5.0)

See merge request espressif/esp-idf!25350
2023-08-21 10:42:51 +08:00
Jiang Jiang Jian
f9816801a9 Merge branch 'bugfix/secure_ota_without_padding_v5.0' into 'release/v5.0'
fix(secure_ota): secure app verification issue without padding bytes (v5.0)

See merge request espressif/esp-idf!25213
2023-08-21 10:42:05 +08:00
Jiang Jiang Jian
095f1f259b Merge branch 'bugfix/sha_dma_mode_incorrect_result_v5.0' into 'release/v5.0'
fix(sha): DMA mode iteration calculation issue for certain data lengths (v5.0)

See merge request espressif/esp-idf!25128
2023-08-21 10:40:15 +08:00
Jiang Jiang Jian
52e2f9b0ad Merge branch 'refactor/usb_host_usbh_interface_v5.0' into 'release/v5.0'
USB Host: Refactor USBH interface (v5.0)

See merge request espressif/esp-idf!24212
2023-08-21 10:39:28 +08:00
Jiang Jiang Jian
38bd8d3044 Merge branch 'bugfix/esp32s3_usb_otg_console_v5.0' into 'release/v5.0'
system: support USB_OTG CDC console on ESP32-S3 (v5.0)

See merge request espressif/esp-idf!24338
2023-08-21 10:37:29 +08:00
Jiang Jiang Jian
7c91c8f78d Merge branch 'feature/freertos_iram_optimization_5.0' into 'release/v5.0'
freertos: Update linker fragment files to optimise IRAM utilisation (v5.0)

See merge request espressif/esp-idf!24222
2023-08-21 10:33:23 +08:00
Planck (Lu Zeyu)
5a5fae5f1e fix(intr_flags_to_level): fix value returned one more than correct value 2023-08-21 10:09:00 +08:00
Jiang Jiang Jian
4efb3d7a7a Merge branch 'lwip/dhcp_client_fix_forwardportV5.0' into 'release/v5.0'
Fix: Added check to ensure safe restart of dhcp fine timer (v5.0)

See merge request espressif/esp-idf!24707
2023-08-18 17:22:54 +08:00
Jiang Jiang Jian
80d3e7a0b2 Merge branch 'bugfix/temperature_get_value_negative_v5.0' into 'release/v5.0'
bugfix(temperature_sensor): Fix issue that get the value is negative (backport v5.0)

See merge request espressif/esp-idf!25252
2023-08-18 17:21:32 +08:00
zhangyanjiao
8157b2606b fix(wifi/vendor): fix some bugs in LR and ESP-NOW
1. Fix the LR rate set fail for espnow and 80211 tx
2. Fixed the RX error when softAP/station and ESP-NOW both encrypted,
   and the ESP-NOW peer address is equal to the connection peer address
2023-08-18 17:13:47 +08:00
Jiang Jiang Jian
273928f14d Merge branch 'bugfix/netif_default_sta_init_v5.0' into 'release/v5.0'
wifi: Fix default wifi-netif creation to assert if no event loop (v5.0)

See merge request espressif/esp-idf!25345
2023-08-18 16:22:23 +08:00
jgujarathi
673a3b9b80 fix(rrm) : Fix crash in RRM neighbour report requests.
Fix crash in sending new RRM neighbour report requests by removing
the call to neighbour report request timeout callback in case of
already ongoing neighbour report request timer.
2023-08-18 12:53:07 +05:30
Mahavir Jain
958dae0c21 Merge branch 'feature/update_mbedtls_v5.0' into 'release/v5.0'
feat(mbedtls): Update to release/v3.4.1 (v5.0)

See merge request espressif/esp-idf!25395
2023-08-18 15:04:23 +08:00
Nebojsa Cvetkovic
222190f08d twai: twai_driver_install() returns error on interrupt allocation failure
This commit updates twai_driver_install() so that an error is returned when
esp_intr_alloc() fails, instead of aborting.

Closes https://github.com/espressif/esp-idf/pull/11494

[darian@espressif.com: Refactored object allocation and free procedures]
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2023-08-18 11:20:13 +08:00
jgujarathi
7e45bf4573 fix(esp_wifi) : Trigger null data frame TX before offchan channel switch
1. Triggers null data frame TX to before channel switch during
   offchannel action frame TX req.
2. revert send wake up and sleep null between scaning
2023-08-17 17:35:10 +05:30
Harshit Malpani
53408df990
feat(mbedtls): Update to release/v3.4.1 2023-08-17 17:31:10 +05:30
Abhik Roy
73d238cdfb fix: Added check to ensure safe restart of dhcp fine timer 2023-08-17 19:04:33 +10:00
Nachiket Kukade
b7a28abd2c fix(wifi): Fix EAPOL Key TxDone callback implementation
Fix issues arising due to not distinguishing between M2 and M4
TxDone during 4-way handshake. Also fix EAPOL frame rate to lowest
possible rate.
2023-08-17 13:58:08 +08:00
Nachiket Kukade
de2df68585 fix(wifi): Fix error propagation while initiating FTM 2023-08-16 12:36:14 +05:30
Jiang Jiang Jian
7a0e39d5f0 Merge branch 'feature/improve_pd_vddsido_help_doc_v5.0' into 'release/v5.0'
docs(esp_hw_support): improve ESP_SLEEP_PSRAM/FLASH_LEAKAGE_WORKAROUND help doc in Kconfig (backport v5.0)

See merge request espressif/esp-idf!25235
2023-08-15 21:04:23 +08:00
David Cermak
fdbb885964 fix(wifi): Fix default wifi-netif creation to assert if no event loop
- Added ESP_ERROR_CHECK() checks to `esp_wifi_set_default_wifi_..._handlers()` calls
- Added ESP_ERROR_CHECH() to `esp_netif_attach_wifi_...()` calls
- Updated documentation to reflect the changes

Closes https://github.com/espressif/esp-idf/issues/11580
2023-08-15 11:06:38 +02:00
Jiang Jiang Jian
cce8fa3781 Merge branch 'bugfix/allow_owe_traffic_after_eapol_v5.0' into 'release/v5.0'
Fix some OWE issues (Backport v5.0)

See merge request espressif/esp-idf!25238
2023-08-15 13:59:42 +08:00
Jiang Jiang Jian
0508821a68 Merge branch 'bugfix/minor_enterprise_fixes_v5.0' into 'release/v5.0'
Drop Eapol msg if EAP success is not processed (Backport v5.0)

See merge request espressif/esp-idf!25067
2023-08-15 13:59:30 +08:00
Jiang Jiang Jian
01871aa91b Merge branch 'backport_v5.0' into 'release/v5.0'
fix(bt): Fix ble periodic advertising data length 0 error(backport v5.0)

See merge request espressif/esp-idf!25007
2023-08-15 11:04:47 +08:00
Jiang Jiang Jian
402a8f90d7 Merge branch 'bugfix/ccmp_decrypt_log_v5.0' into 'release/v5.0'
esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose (v5.0)

See merge request espressif/esp-idf!25169
2023-08-15 11:04:05 +08:00
Adam Múdry
556816423c docs(fatfs): Move mentioned APIs to a separate API reference section 2023-08-14 12:59:08 +02:00
Wang Meng Yang
16aef4bbee Merge branch 'bugfix/remove_deprecated_err_code_v5.0' into 'release/v5.0'
fix(bt): Removed an incorrectly defined HCI error code (5.0)

See merge request espressif/esp-idf!25289
2023-08-14 14:56:10 +08:00
Island
9523b57c8d Merge branch 'bugfix/fix_current_issue_after_ble_init_5.0' into 'release/v5.0'
ble: move phy enabled/disable to controller enable/disable

See merge request espressif/esp-idf!25082
2023-08-14 13:11:36 +08:00
satish.solanke
c7cda1c489 Fix the mem corruption 2023-08-10 14:30:32 +00:00
Mahavir Jain
baa90a6177 Merge branch 'feature/support_mbedtls_ecp_fixed_point_configurable_v5.0' into 'release/v5.0'
feat(mbedtls): support ecp fixed-point multiplication configurable (backport v5.0)

See merge request espressif/esp-idf!25287
2023-08-10 11:44:14 +08:00
Rahul Tank
52890aeb22 Merge branch 'bugix/nimble_port_run_crash_v5.0' into 'release/v5.0'
fix(nimble): Added checks before accessing event pointers (v5.0)

See merge request espressif/esp-idf!25267
2023-08-09 22:57:20 +08:00
Wang Meng Yang
e6c1c5cf6d Merge branch 'bugfix/role_switch_enc_mode_lmp_timeout_v5.0' into 'release/v5.0'
fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides(v5.0)

See merge request espressif/esp-idf!25203
2023-08-09 19:20:02 +08:00
Jin Cheng
48a31a8a51 fix(bt): Removed an incorrectly defined HCI error code 2023-08-09 17:32:41 +08:00
Jiang Guang Ming
b554ee475c feat(mbedtls): support ecp fixed-point multiplication configurable 2023-08-09 16:54:28 +08:00
Roland Dobai
cf90dc98f5 Merge branch 'bugfix/link_gcov_rtio_v5.0' into 'release/v5.0'
gcov: Fix not linked gcov rtio functions

See merge request espressif/esp-idf!24502
2023-08-09 00:13:13 +08:00
Roland Dobai
2ab2d8dce7 Merge branch 'fix/esp32s3_sysview_trace_corrupt_v5.0' into 'release/v5.0'
fix(app_trace): Fix apptrace data corruption on ESP32-S3 (v5.0)

See merge request espressif/esp-idf!24681
2023-08-09 00:05:20 +08:00
isha.pardikar@espressif.com
b412b1f2c9 fix(nimble): Added checks before accessing event pointers 2023-08-08 15:47:40 +05:30
cjin
42677134dc ble: move phy enabled/disable to controller enable/disable 2023-08-08 14:10:10 +08:00
Rahul Tank
60acb3239d Merge branch 'feature/add_duplicate_excep_list_vsc_v5.0' into 'release/v5.0'
feat(mesh): Add support for Duplicate Exception list update VSC for Nimble (v5.0)

See merge request espressif/esp-idf!25133
2023-08-08 13:56:35 +08:00
morris
c7a5b3c948 Merge branch 'bugfix/i80_lcd_reset_gpio_config_v5.0' into 'release/v5.0'
fix(i80_lcd): reset cs gpio on exit (v5.0)

See merge request espressif/esp-idf!25244
2023-08-08 10:16:19 +08:00
morris
a55ab7cb5d Merge branch 'feature/usb_host_restrict_ahb_errata_workaround_to_esp32s2_eco0_v5.0' into 'release/v5.0'
USB Host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips (v5.0)

See merge request espressif/esp-idf!25053
2023-08-08 10:12:42 +08:00
Rahul Tank
b9c34e83f8 feat(mesh): Add support for Duplicate Exception list update VSC for
Nimble
2023-08-07 20:00:14 +05:30
Cao Sen Miao
4f67fe7d3f bugfix(temperature_sensor): Fix issue that get the value is negative 2023-08-07 19:05:59 +08:00
morris
38c8db565f fix(i80_lcd): reset cs gpio on exit 2023-08-07 15:54:21 +08:00
Shyamal Khachane
63b32f4dda fix(esp_wifi): Fix some OWE issues
1. Allow flow of traffic after 4 way handshake is completed
2. Fix beacon timeout issue in transition mode
2023-08-07 11:11:00 +05:30
wuzhenghui
cb139b4386 change(esp_hw_support): improve ESP_SLEEP_PSRAM/FLASH_LEAKAGE_WORKAROUND help doc in Kconfig 2023-08-07 11:35:49 +08:00
Wang Meng Yang
bd23db594b Merge branch 'test/bqb_test_bt_classic_spp_rfcomm_v5.0' into 'release/v5.0'
feat(bt/bqb): Add BQB enabling and rfcomm msc command sending support (backport v5.0)

See merge request espressif/esp-idf!25098
2023-08-07 11:35:28 +08:00
morris
5e933a8fc5 Merge branch 'feature/gptimer_interrupt_priority_v5.0' into 'release/v5.0'
feat(gptimer): support set interrupt priority (v5.0)

See merge request espressif/esp-idf!25200
2023-08-07 11:14:30 +08:00
Michael (XIAO Xufeng)
116f343115 Merge branch 'feat/psram_support_d2wd_single_clk_u4wdh_v5.0' into 'release/v5.0'
spiram: Add support for U4WDH, and fixed D0WD/D2WD cannot share CLK pins (v5.0)

See merge request espressif/esp-idf!25172
2023-08-05 03:28:31 +08:00
Mahavir Jain
52c9c342bd
fix(secure_ota): secure app verification issue without padding bytes
For the following configuration case:

 - CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME
 - CONFIG_SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
 - CONFIG_SECURE_BOOT_ALLOW_SHORT_APP_PARTITION

verification of the application was failing because the externally
padded bytes were not considered in the hash (checksum) process.

This commit fixes the problem by enabling relevant code for secure OTA
without secure boot case.

Closes https://github.com/espressif/esp-idf/issues/11995
2023-08-04 12:25:20 +05:30
morris
f5154364ac feat(gptimer): support set interrupt priority
Related forum post: https://esp32.com/viewtopic.php?f=13&t=34959
2023-08-04 12:55:16 +08:00
xiongweichao
4fd3eb28d6 fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides
The master sent lmp_enc_mode_req, and the slave sent lmp_switch_req.
However, both sides failed to handle the LMP message, resulting in LMP timeout.
2023-08-04 11:04:46 +08:00
Rahul Tank
f34f4272a0 fix (nimble): Add check to set length only if data is valid in periodic adv 2023-08-03 14:45:47 +05:30
Jiang Jiang Jian
5eddb9e016 Merge branch 'bugfix/esp_netif_ppp_backport_regression' into 'release/v5.0'
esp_netif: Fix regression from 12d09e0b when PPP enabled (v5.0)

See merge request espressif/esp-idf!24920
2023-08-03 16:35:43 +08:00
Michael (XIAO Xufeng)
f168e9f174 spiram: Support configure CLK onto the same pin as flash for ESP32-D0WD
When using PSRAM of rev0, the Flash and PSRAM should use different clock pins. But if using newer PSRAM, this is not necesary. This MR fixed the issue that allocating CLK of PSRAM to the same pin as Flash may crash.
2023-08-03 15:44:59 +08:00
Kapil Gupta
4b29d8340b esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose 2023-08-03 10:58:53 +05:30
Mahavir Jain
ca087a174d Merge branch 'feat/update_cjson_submodule_v5.0' into 'release/v5.0'
feat: Update cJSON version to v1.7.16 (v5.0)

See merge request espressif/esp-idf!25138
2023-08-03 13:10:05 +08:00
Jiang Jiang Jian
cbb4126f71 Merge branch 'bugfix/fix_cache_data_mem_corrupt_after_sleep_v5.0' into 'release/v5.0'
fix(lightsleep): Suspend cache before goto sleep to avoid cache load wrong data (backport v5.0)

See merge request espressif/esp-idf!25089
2023-08-03 11:39:05 +08:00
Island
6531a415f2 Merge branch 'ble_mesh/esp32c6_BLEQABR23-266v5.0' into 'release/v5.0'
ble mesh: stack: return error when scanning failed to be enabled(v5.0)

See merge request espressif/esp-idf!24774
2023-08-02 21:07:21 +08:00
Wu Meng Shi
e81d8f8329 ble mesh: stack: return error when scanning failed to be enabled(v5.0) 2023-08-02 21:07:20 +08:00
Christoph Baechler
34efd5af6f
bugfix: avoid warning in espcoredump when log disabled 2023-08-02 15:04:34 +05:30
Harshit Malpani
c6caa80d4c
feat: Update cJSON version to v1.7.16
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16
2023-08-02 13:54:33 +05:30
Mahavir Jain
080214b31a ci(test): add SHA DMA mode test for large data in PSRAM
Covers a test scenario described in following issue:
https://github.com/espressif/esp-idf/issues/11915
2023-08-02 04:48:48 +00:00
Mahavir Jain
66b718ac82 fix(sha): DMA mode iteration calculation issue for certain data lengths
SHA hardware DMA mode calculation had off-by-one error for specific
input lengths. This was causing last chunk of the input data not being
fed to the hardware accelerator and hence resulting in an incorrect
final result.

Closes: https://github.com/espressif/esp-idf/issues/11915
2023-08-02 04:48:48 +00:00
Island
6db7b11d7e Merge branch 'doc/c2_5.0' into 'release/v5.0'
c2 5.0 doc, header files re-organized

See merge request espressif/esp-idf!25112
2023-08-01 23:11:33 +08:00
Rahul Tank
339dff07f3 Merge branch 'bugfix/remove_52_feature_macro' into 'release/v5.0'
fix(nimble): Update Menuconfig option to remove separate 5.2 feature option

See merge request espressif/esp-idf!24954
2023-08-01 21:42:47 +08:00
luomanruo
3fd6493ade c2 5.0 doc, header files re-organized 2023-08-01 14:43:11 +08:00
wuzhenghui
652bc76354 fix(lightsleep): fix access pu_cfg after sleep wakeup which is linked to flash 2023-07-31 21:36:27 +08:00
wanglai@espressif.com
f5ad81e04a fix(bt/bqb): Modify BQB related configurations 2023-07-31 18:18:29 +08:00
wanglai@espressif.com
543a0aaa25 feat(bt): Add BQB enabling and rfcomm msc command sending support
1: add the CONFIG_BT_BQB_ENABLED for some functions of bqb test.
2: add bqb_rfc_send_msc_cmd function to send rfcomm msc command with
   only address arg input.
2023-07-31 17:58:01 +08:00
Alexey Gerenkov
ea3f68824f fix(app_trace): Fix apptrace data corruption on ESP32-S3
Close https://github.com/espressif/esp-idf/issues/10604
diff --git a/components/soc/esp32s3/include/soc/tracemem_config.h b/components/soc/esp32s3/include/soc/tracemem_config.h
index 55c9b907dd..75fd87419b 100644
--- a/components/soc/esp32s3/include/soc/tracemem_config.h
+++ b/components/soc/esp32s3/include/soc/tracemem_config.h
@@ -10,7 +10,7 @@ extern "C" {
 #endif

 #define TRACEMEM_MUX_BLK0_NUM                   22
-#define TRACEMEM_MUX_BLK1_NUM                   23
+#define TRACEMEM_MUX_BLK1_NUM                   26

 #if (TRACEMEM_MUX_BLK0_NUM < 6) || (TRACEMEM_MUX_BLK0_NUM > 29)
 #error Invalid TRAX block 0 num!
2023-07-31 11:20:44 +03:00
wuzhenghui
2236c2fd34 fix(lightsleep): suspend cache before goto sleep to avoid cache load wrong data after spi io isolation 2023-07-31 15:35:00 +08:00
wanlei
1283619767 cache: refactor cache_utils into cache_hal instade 2023-07-31 15:34:56 +08:00
wanlei
68e07d90ba cache: fix cache suspended/resumed twice on S3 2023-07-31 15:08:18 +08:00
Shyamal Khachane
29777aaa51 fix(esp_wifi): Drop Eapol msg if EAP success is not processed 2023-07-28 15:26:20 +05:30
Darian Leung
70dde52e91 soc: Move revision MAX/MIN static assert to esp_hw_support
Previously, "soc/chip_revision.h" contained a static assert to check that the
CONFIG_ESP_REV_MIN_FULL <= CONFIG_ESP_REV_MAX_FULL. There are two issues with
this assert:

- Contained in a header file, so it is only compiled if the "chip_revision.h"
is included somewhere
- CONFIG_ESP_REV_MIN_FULL and CONFIG_ESP_REV_MAX_FULL are defined in
"esp_hw_support", which is a G0 component. This creates a reverse dependency
of G0 on G1.

This commit moves the static assert "revision.c" in "esp_hw_support".
2023-07-28 11:36:20 +02:00
Darian Leung
9935a17b1d usb_host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips 2023-07-28 11:34:54 +02:00
Jiang Jiang Jian
f572b91024 Merge branch 'bugfix/fix_wifi_espnow_coexist_API_doc_v5.0' into 'release/v5.0'
bugfix: fix wifi espnow coexist api doc v5.0

See merge request espressif/esp-idf!25023
2023-07-28 17:19:27 +08:00
Darian Leung
aeef81cde7 usb_host: Run formatting script 2023-07-28 10:39:37 +02:00
Darian Leung
3c7776cd58 usb_host: Fix spelling errors 2023-07-28 10:36:41 +02:00
Darian Leung
f5f3196c01 usb_host: Refactor USBH and USB Host Library calls to HCD
This commit refactors the USBH and the USB Host Library in the following ways:

- USBH now presents an abstraction of an endpoint (via usbh_ep_handle_t)
    - Added separate functions to enqueue/dequeue URBs to a particular endpoint
    - USB Host Library no longer calls HCD API directly. Calls USBH endpoint API
      instead.
- Renamed "notif_cb" to "proc_req_cb" (Processing Request Callback)
    - This is to avoid confusion with FreerTOS task notifications and Host
      Library client event notifications.
    - The processing functions of each layer (i.e., "xxx_process()") request
      calls via the "proc_req_cb"
    - The main handling function (i.e., usb_host_lib_handle_events()) is
      responsible for calling the required "xxx_process()" of each layer
2023-07-28 10:36:41 +02:00
morris
8e5718fd0c Merge branch 'bugfix/bod_intr_v5.0' into 'release/v5.0'
brownout: Disable the hardware BOD when BOD interrupt is enabled(backport v5.0)

See merge request espressif/esp-idf!24693
2023-07-28 10:32:19 +08:00
liuning
57335c9051 fix(esp_wifi): fix ret when setting channel at wifi not started 2023-07-27 19:09:07 +08:00
darshan.dobariya
9fa4ff5300 fix(nimble): Update Menuconfig option to remove separate 5.2 feature option 2023-07-27 14:38:53 +05:30
muhaidong
8b59c17ef0 fix(wifi): fix some wifi bugs 230726
1. process association request verify ssid
2. fix ftm timer macro issue
3. lower the dhcp discover and request retry backoff time
2023-07-26 16:52:13 +08:00
zhanghaipeng
cb85b7b7a7 fix(bt): Fix bug with address resolution enabling during non-connected activities 2023-07-26 16:39:06 +08:00
zhanghaipeng
aff7ff1a9f docs(bt): Organize header files for esp32c3 and esp32s3 2023-07-26 16:39:06 +08:00
zhanghaipeng
0e9974a918 fix(bt): Fix ble periodic advertising data length 0 error
- Fixed issues about data length 0 when set ext adv data,ext scan rsp data and periodic adv data
2023-07-26 16:39:06 +08:00
muhaidong
210ffa0475 fix(wifi): missed annotate ld function from txop fix 2023-07-26 11:54:10 +08:00
Jiang Jiang Jian
b4b4306677 Merge branch 'bugfix/sae_and_nvs_fixes_v5.0' into 'release/v5.0'
Fix SAE and SAE related NVS issues (Backport v5.0)

See merge request espressif/esp-idf!24956
2023-07-26 11:06:29 +08:00
Jiang Jiang Jian
ba0ab6687d Merge branch 'change/rewrite_all_low_to_any_low_when_not_esp32' into 'release/v5.0'
Change: rewrite EXT1 triggle mode all_low to any_low when not esp32(backport v5.0)

See merge request espressif/esp-idf!24988
2023-07-26 10:17:43 +08:00
Lou Tianhao
3727d56c82 Change: rewrite EXT1 triggle mode all_low to any_low when not esp32 2023-07-25 17:53:33 +08:00
Shyamal Khachane
585cbec17b fix(wifi): Fix SAE and SAE related NVS issues
1. Discard commit frame received at confirmed state in SAE STA
2. Bugfix NVS get values for sae pwe
3. Bugfix memory leak caused by assoc retry timer and assoc IE
4. Bugfix store nvs authmode security values
2023-07-25 13:53:42 +05:30
morris
c36f5fb77a Merge branch 'contrib/github_pr_11810_v5.0' into 'release/v5.0'
ledc.c: Fix frequency calculation. (GitHub PR) (v5.0)

See merge request espressif/esp-idf!24698
2023-07-25 16:15:05 +08:00
morris
3fba3425f1 Merge branch 'bugfix/fix_spi_flash_api_concurrency_issue_v5.0' into 'release/v5.0'
spi_flash: fix concurrency issue when concurrently calling esp_flash apis (v5.0)

See merge request espressif/esp-idf!24512
2023-07-25 11:04:57 +08:00
morris
598c1fa7e2 Merge branch 'bugfix/fix_gpio_driver_calloc_v5.0' into 'release/v5.0'
fix(gpio): fix potential crash when processing gpio isr (v5.0)

See merge request espressif/esp-idf!24902
2023-07-25 11:03:09 +08:00
Jiang Jiang Jian
000450504d Merge branch 'bugfix/cache_writeback_bug_v5.0' into 'release/v5.0'
esp_rom: patch Cache_WriteBack_Addr (backport v5.0)

See merge request espressif/esp-idf!24940
2023-07-24 15:41:32 +08:00
Armando
38de42bd26 feat(spi_flash): add common test_flash_utils component 2023-07-24 15:28:18 +08:00
Armando
403cdb03ec spi_flash: rename spi_flash_os_func_app: spi_start, spi_end
spi_start -> s_acquire_spi_bus_lock
spi_end -> s_release_spi_bus_lock
2023-07-24 15:28:18 +08:00
Armando
c56ff93007 spiflash: added esp_flash API concurrency pressure test 2023-07-24 15:28:18 +08:00
Armando
5a59c50951 spi_flash: fix concurrency issue when calling esp_flash apis under xip_psram or auto_suspen 2023-07-24 15:28:18 +08:00
Armando
0c2cd2dfa6 spiflash: fix not calling on_spi_acquired when CONFIG_SPI_FLASH_SHARE_SPI1_BUS issue 2023-07-24 15:28:18 +08:00
Rahul Tank
5fb0d557a4 Merge branch 'bugfix/handle_conn_type_and_array_reset_v5.0' into 'release/v5.0'
fix(nimble): Update connection type in reattempt connection code (v5.0)

See merge request espressif/esp-idf!24916
2023-07-24 12:21:45 +08:00
gaoxiaojie
805f3bc557 fix(cache): add lock to protect cache sync operation 2023-07-24 10:51:23 +08:00
Nachiket Kukade
0148546df3 fix(esp_wifi): Enable FTM for ESP32C2, fix other FTM issues
Enable FTM for ESP32C2 and update wifi libs with below fixes -

1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3, C3 and C2
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
   than (number_of_brusts * FTMs per brust).

Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2023-07-21 16:30:47 +05:30
Jiang Jiang Jian
264c807f3a Merge branch 'bugfix/fix_some_wifi_bugs_230720_v5.0' into 'release/v5.0'
fix(wifi): fix some wifi bugs 230720 (backport v5.0)

See merge request espressif/esp-idf!24912
2023-07-21 18:59:42 +08:00
gaoxiaojie
4a2f38930b fix(esp32s3): patch Cache_WriteBack_Addr api
Need to ensure that the cacheline being written back will not be
accessed during the write back process.
2023-07-21 11:46:45 +08:00
David Cermak
cc5d5c8d79 esp_netif: Fix regression from 12d09e0b when PPP enabled 2023-07-20 07:18:13 +02:00
Rahul Tank
4d301ef3a2 fix(nimble): Update connection type in reattempt connection code
Added change to set connection type correctly and clear array when it is
    full in reattempt connection flow
2023-07-20 09:37:34 +05:30
zhangyanjiao
368dca0d84 fix(wifi): Add bugfixes and improvements
1. Update wifi security mode
2. Fix association refused temporarily comeback time set to zero issue
3. Vnd ie callback can be set to null
2023-07-20 11:39:41 +08:00
Li Shuai
0b42747d0a Wi-Fi/power save: fix the some mac issues of wifi power save
Some APs are configured to hide the SSID, the length field of the SSID element
in the Beacon frame is set to 0. This can cause incorrect parsing of the Beacon
by the Wi-Fi MAC hardware.

Some APs send two beacon frames with different BSSID in a TBTT cycle. After
correctly parsing the beacon of the associated AP, it continue to receive the
other beacon frame, which will cause the MAC to remain in a wait RX/TXING
state, blocking the Wi-Fi go to sleep.
2023-07-20 11:39:41 +08:00
david zuhn
b2134caf0d spelling correction in documentation
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-20 11:22:09 +08:00
zhangyanjiao
7dddb468f4 feat(wifi): Add API to get RSSI info after station connects to AP
- Add esp_wifi_sta_get_rssi() function to retrieve RSSI info after station connects to AP
2023-07-20 11:21:38 +08:00
morris
acec0ef0ce Merge branch 'contrib/github_pr_11878_v5.0' into 'release/v5.0'
feat(mcpwm): Allow for pull up/down to be configurable on generators (GitHub PR) (v5.0)

See merge request espressif/esp-idf!24894
2023-07-20 11:19:30 +08:00
Song Ruo Jing
1da5dbf899 fix(gpio): fix potential crash when processing gpio isr
If CONFIG_SPIRAM_USE_MALLOC is enabled, and cache is disabled when GPIO ISR is triggered,
it would lead to Guru Meditation Error due to "Cache disabled but cached memory region accessed".

Closes https://github.com/espressif/esp-idf/issues/11876
2023-07-19 20:01:18 +08:00
Jiang Jiang Jian
55976a5bd7 Merge branch 'bugfix/fix_some_bluedroid_bugs_v5.0' into 'release/v5.0'
Fixed some bluedroid bugs (backport v5.0)

See merge request espressif/esp-idf!24861
2023-07-19 17:07:33 +08:00
morris
a87a04992e feat(mcpwm): support open drain output for generator IO
Closes https://github.com/espressif/esp-idf/issues/11877
2023-07-19 16:13:12 +08:00
Anne Brondijk
bf5c09aacd feat(mcpwm): Allow for pull up/down to be configurable on generators 2023-07-19 16:13:11 +08:00
Rahul Tank
baecf8d44f Merge branch 'feature/services_health_therm_v5.0' into 'release/v5.0'
NimBLE: Added health thermometer profile (v5.0)

See merge request espressif/esp-idf!24834
2023-07-19 15:13:20 +08:00
Ivan Grokhotkov
28e6b3565f
esp_system: usb_console support for ESP32-S3
Closes https://github.com/espressif/esp-idf/issues/8879
Closes https://github.com/espressif/esp-idf/issues/8738
2023-07-18 18:15:37 +02:00
Ivan Grokhotkov
ce8f2dc894
esp_rom: convert USB related headers to SPDX, update COPYRIGHTS.rst 2023-07-18 18:15:37 +02:00
Ivan Grokhotkov
568e5537b0
esp_rom: implement usb deinit functions added in S3 ROM for S2
This cleans up usb_console.c and prepares it for S3 support.
2023-07-18 18:15:37 +02:00
Ivan Grokhotkov
82e8d78b3b
esp_rom: add USB_OTG "port" number for S2 and S3 2023-07-18 18:15:37 +02:00
Ivan Grokhotkov
36bc9ab30c
esp_rom: sync changes for ESP32-S3 USB related files, minor fix for S2
Used esp-rom tag esp32s3-20210327 and did manual cleanup.
Rename s_usb_osglue to rom_usb_osglue like it was done for esp32s2.
Some comments in esp32s2 headers are synced from esp32s3.
2023-07-18 18:15:03 +02:00
Ivan Grokhotkov
6f14f5218d
console: minor fixes
- wrong comment
- duplicated setvbuf
2023-07-18 18:15:03 +02:00
Jiang Jiang Jian
f2973dc4c6 Merge branch 'bugfix/offchan_action_frame_tx_v50' into 'release/v5.0'
Add check to ensure memory allocation for action frame.

See merge request espressif/esp-idf!24611
2023-07-18 21:12:31 +08:00
chenjianhua
902c6973f1 fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection 2023-07-18 11:44:43 +08:00
chenjianhua
7ca9ca6f90 bluedroid: fixed compile warning when optimize for performance 2023-07-18 11:41:44 +08:00
Jiang Jiang Jian
1853b46a37 Merge branch 'backport_v5.0' into 'release/v5.0'
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32(backport v5.0)

See merge request espressif/esp-idf!24779
2023-07-18 10:52:39 +08:00
Mahavir Jain
f1d060a511 Merge branch 'bugfix/mbedtls_sha_test_fail_when_run_twice_v5.0' into 'release/v5.0'
fix(mbedtls): sha test will fail when run twice (backport v5.0)

See merge request espressif/esp-idf!24828
2023-07-17 20:07:34 +08:00
Mahavir Jain
1315845d75 Merge branch 'fix/mbedtls_internal_shaX_process_api_port_v5.0' into 'release/v5.0'
fix(mbedtls): Fix the port for mbedtls_internal_shaX_process api (v5.0)

See merge request espressif/esp-idf!24810
2023-07-17 17:00:44 +08:00
isha.pardikar@espressif.com
642aba7c03 feat (Nimble): Added Health Thermometer as a service 2023-07-17 14:20:05 +05:30
isha.pardikar@espressif.com
71f5dc4973 NimBLE: Added health thermometer profile 2023-07-17 11:24:04 +05:30
jgujarathi
5037c2ec02 fix(action_tx) : Add check to ensure memory allocation for action frame.
Add check to ensure memory allocation in tx buffers for off channel action frame.
Prints error message in case of allocation failure in esp_wifi_action_tx_req().
2023-07-17 10:57:03 +05:30
Mahavir Jain
3fc6eb9000 Merge branch 'fix/esp_aes_return_values_v5.0' into 'release/v5.0'
fix(mbedtls): fix return values of esp-aes APIs (v5.0)

See merge request espressif/esp-idf!24805
2023-07-17 12:35:24 +08:00
Mahavir Jain
befe69d152 Merge branch 'fix/esp_ptr_check_sign_compare_v5.0' into 'release/v5.0'
fix(esp_hw_support): Fix different signed comparison in `esp_ptr_in_drom` (v5.0)

See merge request espressif/esp-idf!24799
2023-07-17 12:34:22 +08:00
Jiang Jiang Jian
7f2c879d71 Merge branch 'bugfix/split_scan_tx_v50' into 'release/v5.0'
fix(esp_wifi) : Fix collection of issues in sta roam and scan.

See merge request espressif/esp-idf!24576
2023-07-17 11:17:57 +08:00
Jiang Guang Ming
f418a998a9 fix(mbedtls): sha test will fail when run twice 2023-07-17 10:54:32 +08:00
Jiang Jiang Jian
bb89a5769b Merge branch 'bugfix/multiple_btm_rrm_task_v50' into 'release/v5.0'
Fix race conditions in btm task deletion(v5.0)

See merge request espressif/esp-idf!24766
2023-07-17 10:30:15 +08:00
Jiang Jiang Jian
3d015a44d2 Merge branch 'bugfix/sae_crypto_optimization_esp32_v5.0' into 'release/v5.0'
esp_wifi: Optimize sae crypto operations for esp32 (v5.0)

See merge request espressif/esp-idf!24761
2023-07-17 10:29:49 +08:00
Jiang Jiang Jian
87f2e7e415 Merge branch 'bugfix/concurrency_while_eloop_register_v5.0' into 'release/v5.0'
esp_wifi: Bugfix concurrency observed while doing eloop register (v5.0)

See merge request espressif/esp-idf!24571
2023-07-17 10:28:36 +08:00
Jiang Jiang Jian
b0b3e0dc70 Merge branch 'bugfix/esp_netif_recieve_returns_v5.0' into 'release/v5.0'
esp_netif: Report error if esp_netif_receive() fails (v5.0)

See merge request espressif/esp-idf!24656
2023-07-17 10:28:06 +08:00
Jiang Jiang Jian
4c7e65238f Merge branch 'bugfix/lwip_dhcps_hook_types_v5.0' into 'release/v5.0'
lwip: Fix incorrect invocation of the hook `LWIP_HOOK_DHCPS_POST_APPEND_OPTS` (v5.0)

See merge request espressif/esp-idf!24659
2023-07-17 10:27:06 +08:00
Marius Vikhammer
cf83b324d3 Merge branch 'bugfix/ringbuf_static_object_size_v5.0' into 'release/v5.0'
Ringbuf: Fix ordering of StaticRingbuffer_t (v5.0)

See merge request espressif/esp-idf!24594
2023-07-17 10:12:02 +08:00
harshal.patil
f1ee3e41aa refactor(mbedtls): refactored the return values check in some esp-aes APIs 2023-07-14 21:00:16 +05:30
Rahul Tank
c68e7eab06 Merge branch 'bugfix/fix_config_option_v5.0' into 'release/v5.0'
Nimble: Fixed setting macro values based on selected configuration (v5.0)

See merge request espressif/esp-idf!24138
2023-07-14 21:23:51 +08:00
Island
168f2adc28 Merge branch 'update/ble_mesh_debug_log_level_update_v5.0' into 'release/v5.0'
update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level (v5.0)

See merge request espressif/esp-idf!24770
2023-07-14 16:56:11 +08:00
harshal.patil
3a73b1bf9b fix(mbedtls): Fix the port for the mbedtls_internal_shaX_process API
- Also added the fix to update intermediate SHA state in the mbedtls_shaX_update API
2023-07-14 14:18:10 +05:30
harshal.patil
400e220f06 fix(mbedtls): Fixed the transmission of return values of the esp-aes APIs
- Earlier, some intermediate return values were not stored and returned,
thus incorrect return values used to get transmitted to the upper layer of APIs.

- Also, zeroised the output buffer in case of error condition.
2023-07-14 13:41:13 +05:30
Rahul Tank
bc2772819d fix (nimble): Fixed setting macro values based on selected configuration 2023-07-14 11:51:14 +05:30
Rahul Tank
b541a23499 Merge branch 'bugfix/fix_pcl_enh_rsp_v5.0' into 'release/v5.0'
Nimble: Removed the extra status field in the enh read transmit power level (v5.0)

See merge request espressif/esp-idf!23884
2023-07-14 13:34:36 +08:00
Laukik Hase
38c0475616
fix(esp_hw_support): Fix different signed comparison in esp_ptr_in_drom
- Closes https://github.com/espressif/esp-idf/issues/11653
- Closes https://github.com/espressif/esp-idf/issues/11865
2023-07-14 10:52:32 +05:30
Aditya Patwardhan
18df8caaa9 Merge branch 'fix/mpi_incorrect_assert_v5.0' into 'release/v5.0'
fix(mbedtls): Fix incorrect assert for H/W MPI operations (v5.0)

See merge request espressif/esp-idf!24785
2023-07-14 12:43:10 +08:00
Marius Vikhammer
d503e1740f Merge branch 'contrib/github_pr_11652_v5.0' into 'release/v5.0'
Fix ULP FSM register macros with addr[9:0] > 0xFF (GitHub PR) (v5.0)

See merge request espressif/esp-idf!24269
2023-07-14 10:06:30 +08:00
morris
9f2fe912e4 Merge branch 'bugfix/fix_s3_adc1_wrong_clk_div_v5.0' into 'release/v5.0'
adc: fix adc oneshot mode clk div issue on esp32, esp32s2 and esp32s3 (v5.0)

See merge request espressif/esp-idf!24744
2023-07-13 21:41:16 +08:00
Laukik Hase
4da3e20855
fix(mbedtls): Fix incorrect assert for H/W MPI operations
- Closes https://github.com/espressif/esp-idf/issues/11850
2023-07-13 16:24:57 +05:30
KonstantinKondrashov
031af815da esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
The commit fixes the case:
If variables in RTC RAM have been moved around by the linker,
they will be filled with garbage data. Any reset other than OTA would work fine
because the variables would still be initialized from the initial bootup.

So now system time will be valid even after OTA.

Closes https://github.com/espressif/esp-idf/issues/9448
2023-07-13 18:30:26 +08:00
zhanghaipeng
e8810e86fc fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32
- Add a log statement to print the Bluetooth MAC address
2023-07-13 16:42:48 +08:00
zhanghaipeng
cddca1adf4 fix(bt): Fix ble advertising data length 0 error
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-07-13 16:42:48 +08:00
Liu Linyan
c6d190e568 update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level 2023-07-13 14:39:01 +08:00
Rahul Tank
aa4635e52f Nimble: Removed the extra status field in the enh read transmit power level 2023-07-13 10:48:31 +05:30
Rahul Tank
ff9b9583ab Merge branch 'bugfix/fix_exception_in_wifi_prov_v5.0' into 'release/v5.0'
Nimble: Increase the number of semaphore count for allocation (v5.0)

See merge request espressif/esp-idf!24470
2023-07-13 13:00:35 +08:00
Kapil Gupta
d2f2b952bc Fix(esp_wifi): Fix race conditions in btm task deletion 2023-07-13 10:27:25 +05:30
Kapil Gupta
4ff52a94f9 esp_wifi: Optimize sae crypto operations for esp32 2023-07-13 09:47:22 +05:30
Marius Vikhammer
03a4137fd4 Merge branch 'ci/fix_efuse_tests' into 'release/v5.0'
efuse: Do not load real efuses before some test (some chips have burned efuse blocks)

See merge request espressif/esp-idf!24149
2023-07-13 10:11:32 +08:00
Jiang Jiang Jian
7c149c9fcc Merge branch 'feature/update_avrcp_v1.5_v5.0' into 'release/v5.0'
change(bt/Bluedroid): Update AVRCP version to 1.5(v5.0)

See merge request espressif/esp-idf!24583
2023-07-13 09:48:16 +08:00
Jiang Jiang Jian
1a0dc04ae1 Merge branch 'bugfix/wps_deauth_sent_before_eap_failure_v5.0' into 'release/v5.0'
Fix for sending deauth before Eap-Failure in WPS (v5.0)

See merge request espressif/esp-idf!24367
2023-07-13 07:54:24 +08:00
Jiang Jiang Jian
9b82d9731a Merge branch 'bugfix/systick_loop_v5.0' into 'release/v5.0'
freertos: Fix Systick stuck when systimer was not reset (v5.0)

See merge request espressif/esp-idf!24323
2023-07-13 07:53:16 +08:00
Jiang Jiang Jian
a08413f3a8 Merge branch 'bugfix/btm_scan_done_crash_v50' into 'release/v5.0'
wpa_supplicant : Fix occasional crash during btm roam.

See merge request espressif/esp-idf!24732
2023-07-13 07:52:31 +08:00
Jiang Jiang Jian
d3031ddddc Merge branch 'bugfix/fix_some_bt_controller_bug_v5.0' into 'release/v5.0'
component_bt:Fixed some bluetooth bugs(v5.0)

See merge request espressif/esp-idf!24711
2023-07-13 07:52:21 +08:00
Rahul Tank
fdfe75a1fd Nimble: Increase the number of semaphore count to allow more semaphore
allocation

       Also updated the return value check for sem / mutex init to catch
allocation failure
2023-07-12 15:30:21 +05:30
Armando
abd0fca51a fix(adc): fixed esp32, esp32s2,esp32s3 adc oneshot mode clk div issue 2023-07-12 17:19:00 +08:00
Zim Kalinowski
ba6e04dff6 Merge branch 'bugfix/fix-esp-even-compile-error-v5.0' into 'release/v5.0'
esp_event: fix build error related to format (v5.0)

See merge request espressif/esp-idf!24667
2023-07-12 16:48:16 +08:00
aditi_lonkar
16d7ce0843 Fix for sending deauth before Eap-Failure in WPS 2023-07-12 05:34:46 +00:00
jgujarathi
57b365377f fix(wpa_supplicant) : Fix occasional crash during btm roam.
Fix crash due to premature deallocation of neighbour report elements
by scan_done. Post event to btm_rrm_t task to handle scan_done serially
rather than when btm_rrm_t task is processing btm request rx frame.
2023-07-12 10:37:42 +05:30
Marius Vikhammer
1f1b10aa26 Merge branch 'bugfix/esp_event_err_docs_v5.0' into 'release/v5.0'
fix(core-system/esp event): Fixed missing error return  documentation for... (v5.0)

See merge request espressif/esp-idf!24574
2023-07-12 11:21:22 +08:00
Jiang Jiang Jian
2173ff9cc0 Merge branch 'bugfix/resume_ext_scan_pti_in_time_v5.0' into 'release/v5.0'
bt: fix the issue that BLE scan uses high priority incorrectly and causes Wi-Fi unable to work normally on ESP32-C3 and ESP32-S3(backport v5.0)

See merge request espressif/esp-idf!24404
2023-07-12 10:51:54 +08:00
morris
f7b97b53c6 Merge branch 'bugfix/fix_i2s_ll_cpp_compilation_failure_v5.0' into 'release/v5.0'
i2s: fixed i2s_ll compiling failure under C++ environment (v5.0)

See merge request espressif/esp-idf!24402
2023-07-12 10:08:23 +08:00
Rahul Tank
82ce7dc165 Merge branch 'feature/expose_addr_resolv_out_stack_v5.0' into 'release/v5.0'
Nimble:Added change to expose addr resolution API outside stack_v5.0

See merge request espressif/esp-idf!23247
2023-07-12 04:21:32 +08:00
wangmengyang
9b96d5bd96 bt-coexist: fix the issue for BLE scan in using whitelist that scan PTI keeps high and not resumes after reception of ADV_EXT_IND but no AUX_ADV_IND followed on ESP32-C3 and ESP32-S3, which causes Wi-Fi unable to work normally 2023-07-11 22:11:04 +08:00