Commit Graph

18091 Commits

Author SHA1 Message Date
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
morris
8b1efb68fd Merge branch 'bugfix/add_len_check_per_spi_master_transaction_v5.0' into 'release/v5.0'
spi master: added transaction length check to refuse longer than hardware supported length (v5.0)

See merge request espressif/esp-idf!23748
2023-07-11 22:09:14 +08:00
Island
10c1004629 Merge branch 'feature/update_ble_libs_5.0' into 'release/v5.0'
ble: Updated the libbt for ESP32-C2

See merge request espressif/esp-idf!24652
2023-07-11 21:40:05 +08:00
xiongweichao
d666536a21 change(bt/Bluedroid): Update AVRCP version to 1.5 2023-07-11 11:43:59 +00:00
xiongweichao
1c5619b738 bt: Fixed some bluetooth bugs
1. Fixed LC_AFH_UPDATE_IND  has not benn processed causing memory exhaustion
2. Fixed no free elt in prog push
3. Fixed disconnect due to sniff with error Dsniff
4. Fixed the problem that the host continued to send ACL data to the controller after disconnection, which caused the connection to fail again
2023-07-11 19:37:21 +08:00
chenjianhua
5d7b60ec5c Update bt-lib for esp32
- Fixed memory leak when setting adv data
2023-07-11 19:37:17 +08:00
xiongweichao
2cf7834db5 components/bt: Fix crash due to NULL point 2023-07-11 19:37:12 +08:00
morris
73551a70cc Merge branch 'bugfix/fix_mmap_reserved_irom_drom_size_5.0' into 'release/v5.0'
fix(mm): correct mmap reserved irom and drom size (v5.0)

See merge request espressif/esp-idf!24603
2023-07-11 18:11:00 +08:00
morris
a6d8a331d9 Merge branch 'bugfix/vfs_uart_outof_bounds_read_v5.0' into 'release/v5.0'
vfs_uart: fix out-of-bounds read (v5.0)

See merge request espressif/esp-idf!24313
2023-07-11 18:02:57 +08:00
morris
43fa7e2e4a Merge branch 'bugfix/mcpwm_legacy_typo_v5.0' into 'release/v5.0'
mcpwm: fix typo in backward compatible macro name (v5.0)

See merge request espressif/esp-idf!24228
2023-07-11 18:02:33 +08:00
morris
74e032eb49 Merge branch 'bugfix/rgb_pixel_copy_bpp8_v5.0' into 'release/v5.0'
rgb_lcd: Support LCD rotation for LCD whose pixel size is one byte (v5.0)

See merge request espressif/esp-idf!24209
2023-07-11 18:02:13 +08:00
IhorNehrutsa
fb81668aab fix(ledc): fix frequency calculation
ledc.c: Fix frequency calculation.
Round int instead of truncate.

Merges https://github.com/espressif/esp-idf/pull/11810
2023-07-11 15:28:19 +08:00
Cao Sen Miao
e2925cde68 brownout: Disable the hardware BOD when BOD interrupt is enabled 2023-07-11 14:46:30 +08:00
Rahul Tank
55559c3b5b Nimble:Added change to expose addr resolution API outside stack 2023-07-11 11:36:06 +05:30
David Cermak
12d09e0b3b esp_netif: Make esp_netif_receive() return value configurable 2023-07-11 06:51:49 +02:00
Rahul Tank
67f6b668bd Merge branch 'bufix/fix_assert_while_stack_deinit_v5.0' into 'release/v5.0'
fix(nimble): Fix assert due to controller event while stack deinit (v5.0)

See merge request espressif/esp-idf!24621
2023-07-11 12:50:48 +08:00
Rahul Tank
007ae93913 Merge branch 'bugfix/expose_clear_all_wl_api_v5.0' into 'release/v5.0'
fix(Nimble): Expose API to clear all addresses in whitelist out of stack (v5.0)

See merge request espressif/esp-idf!24308
2023-07-11 12:24:35 +08:00
Jiang Jiang Jian
afe026f318 Merge branch 'bugfix/increase_pm_dump_time_field_length_v5.0' into 'release/v5.0'
Power Management: increase pm_dump time field width (backport v5.0)

See merge request espressif/esp-idf!24449
2023-07-11 12:24:23 +08:00
Jiang Jiang Jian
095bb9f015 Merge branch 'bugfix/sdp_32_and_128_bit_UUID_v5.0' into 'release/v5.0'
bt:Fixed SDP not being able to configure 32-bit and 128-bit UUID(v5.0)

See merge request espressif/esp-idf!24443
2023-07-11 12:24:07 +08:00
Jiang Jiang Jian
12d9bafc37 Merge branch 'docs/update_esp_hid_host_v5.0' into 'release/v5.0'
[docs] fix documents for Bluetooth HID Host API reference (backport v5.0)

See merge request espressif/esp-idf!24390
2023-07-11 12:23:54 +08:00
Jiang Jiang Jian
5cb2736de6 Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit_v5.0' into 'release/v5.0'
bugfix/Fixed the issue of alarm leak (v5.0)

See merge request espressif/esp-idf!24352
2023-07-11 12:23:33 +08:00
Jiang Jiang Jian
10ee73839f Merge branch 'bugfix/hfp_packet_type_err_v5.0' into 'release/v5.0'
Revised (e)SCO configuration parameter sets (v5.0)

See merge request espressif/esp-idf!24347
2023-07-11 12:23:16 +08:00
Jiang Jiang Jian
e99b7835fa Merge branch 'bugfix/update_esp_rom_layout_v5.0' into 'release/v5.0'
esp_rom: fix rom layout issues (backport v5.0)

See merge request espressif/esp-idf!24640
2023-07-11 12:22:40 +08:00
Jiang Jiang Jian
40aac8601b Merge branch 'bugfix/fix_some_ble_bugs_v5.0' into 'release/v5.0'
Fixed some BLE bugs (backport v5.0)

See merge request espressif/esp-idf!24276
2023-07-11 12:21:07 +08:00
Jiang Jiang Jian
44cdf1d6e7 Merge branch 'bugfix/fix_Cache_Count_Flash_bug_v5.0' into 'release/v5.0'
cache: patch some rom cache api, rename those apis in ld (backport v5.0)

See merge request espressif/esp-idf!24292
2023-07-11 12:20:04 +08:00
Jiang Jiang Jian
c10505f939 Merge branch 'bugfix/fix_esp32s3_psram_access_failed_in_dfs_v5.0' into 'release/v5.0'
esp_pm: fix esp32s3 psram access failed when dfs is enabled (backport v5.0)

See merge request espressif/esp-idf!24199
2023-07-11 12:19:43 +08:00
Mahavir Jain
f0de10e43c Merge branch 'support/esp_coredump_logs_config_v5.0' into 'release/v5.0'
Optionally disable logs in espcoredump component (v5.0)

See merge request espressif/esp-idf!24483
2023-07-11 12:08:12 +08:00
Mahavir Jain
1c0887b363 Merge branch 'fix/mbedtls_ecdsa_veriy_restartable_v5.0' into 'release/v5.0'
mbedtls: update submodule (v5.0)

See merge request espressif/esp-idf!24637
2023-07-11 12:07:41 +08:00
Mahavir Jain
8f7d8fb3f5 Merge branch 'protobuf-c/update_submodule_to_v5.0' into 'release/v5.0'
protobuf-c: Update submodule to v1.4.1 (v5.0)

See merge request espressif/esp-idf!24421
2023-07-11 12:06:57 +08:00
Shen Weilong
9e0bd6f7aa ble: Update the libbt for ESP32-C2 2023-07-11 11:41:48 +08:00
Island
0f44414ce0 Merge branch 'bugfix/added_chip_based_cca_config_v5.0' into 'release/v5.0'
ble: fix cca for esp32c2

See merge request espressif/esp-idf!24256
2023-07-11 11:36:03 +08:00
Marius Vikhammer
29b1115485 fix(core-system/esp event): Fixed missing error return documentation for esp_event_loop_create_default
ESP_ERR_INVALID_STATE was not listed as a possible return error code.

Closes https://github.com/espressif/esp-idf/issues/11745
2023-07-11 03:17:05 +00:00
Marius Vikhammer
e004907bd5 versions: Update version to 5.0.3 2023-07-10 17:23:26 +08:00
Armando
a3ed59744b spi: added an API to get max transaction length and use in spi lcd driver 2023-07-10 07:17:00 +00:00
Armando
2bc999db7b spi: added transaction length check to refuse longer than hardware supported length 2023-07-10 07:17:00 +00:00
Jin Cheng
f0a53601e0 Fixed the issue of alarm leak in hf-ag 2023-07-10 06:08:22 +00:00
Jin Cheng
3061770e7b Fixed the issue of alarm leak in A2DP 2023-07-10 06:08:22 +00:00
Jin Cheng
1b7e47d3d3 Revised (e)SCO configuration parameter sets 2023-07-10 06:07:55 +00:00
Zim Kalinowski
e1b37bfa66 esp_event: fix build error related to format
Closes https://github.com/espressif/esp-idf/issues/11428

See merge request !23833
2023-07-10 11:39:17 +08:00
wuyuanyi135
5689db1ddf Fix incorrect invocation of the hook LWIP_HOOK_DHCPS_POST_APPEND_OPTS
Fix https://github.com/espressif/esp-idf/issues/11373
2023-07-07 14:14:15 +02:00
David Cermak
8ce037e99f esp_netif: Report error if esp_netif_receive() fails
Closes https://github.com/espressif/esp-idf/issues/10770
2023-07-07 13:56:25 +02:00
Armando
757f58c3ba fix(mm): correct mmap reserved irom and drom size
Prior to this commit, we don't consider the offset of the irom vaddr
start.

If the offset + size is bigger than the MMU page size, for example:
MMU page size: 0x10000
irom vaddr: 0x4200_0800, so offset = 0x800
irom size: 0xF900
offset + size = 0x10100

Under this condition, the 0x4200_0000 ~ 0x4202_0000, two MMU pages are
used.

With this commit, when reserving the irom and drom, we take the offset
into consideration as well.

Closes https://github.com/espressif/esp-idf/issues/2561
2023-07-07 10:45:26 +00:00
Jiang Guang Ming
ce1042a267 esp_rom: fix rom layout issues 2023-07-07 01:25:17 -07:00
harshal.patil
e858c2c1e0 mbedtls: update submodule to include:
fix: mbedtls_ecdsa_can_do was not being defined when ECDSA_SIGN_ALT is defined but ECDSA_VERIFY_ALT is not defined causing mbedtls_ecdsa_verify_restartable to always fail.
feature: initial version of the sbom.yml file
2023-07-07 10:30:33 +05:30
Armando
bf5e10dd23 fix(adc): fix s_adc_tsen_enabled not set issue 2023-07-06 16:48:59 +08:00
laokaiyao
bd70b44144 adc_oneshot: move power acquire back to adc_oneshot_new_unit
Revert and fix of d197c59eaa in !23575
2023-07-06 16:46:24 +08:00
Roshan Bangar
b4c8d92d94 fix(nimble): Fix assert due to controller event while stack deinit 2023-07-06 11:49:09 +05:30
Darian Leung
52589aca08 ringbuf: Fix ordering of StaticRingbuffer_t
When building on linux/host compilers (e.g., GCC), the compiler may add padding
depending on the size and order of the member types.

This commit fixes the ordering or the StaticRingbuffer_t such that it matches
the internal Ringbuffer_t. The "_Static_assert" is always enabled for all
compilers.

Note: Removed all usage configSUPPORT_STATIC_ALLOCATION preprocessor conditions
as the macro is always set to 1.

Closes https://github.com/espressif/esp-idf/issues/11726
2023-07-04 21:42:12 +01:00
jgujarathi
181666c4a7 fix(esp_wifi) : Fix collection of issues in sta roam and scan.
1) Fix issue during split scan to allow for data tx.
2) Fix issue when parsing wpa_ie to set correct authmode when AP
   supports both WPA_EAP and WPA_EAP_SHA256 authmode.
   Closes https://github.com/espressif/esp-idf/issues/11202
3) Fix an occasional crash during sta roam.
4) Add home_channel_dwell_time to wifi_scan_config_t. This allows
   configuration of the time spent between scanning consecutive
   channels for tx.
5) Adds a obss scan timer disarm when a sta disconnects from an AP
2023-07-04 11:59:26 +05:30
Shreyas Sheth
5714d6d324 esp_wifi: Bugfix concurrency observed while doing eloop register 2023-07-04 09:42:39 +05:30
Jiang Jiang Jian
4c775e3eb8 Merge branch 'bugfix/fix_bleqabr23_338_v5.0' into 'release/v5.0'
bluedroid: fixed gatt tcb free when disconnecting (backport v5.0)

See merge request espressif/esp-idf!24499
2023-06-30 11:05:49 +08:00
Jiang Jiang Jian
2558d4c46d Merge branch 'bugfix/fix_esp32s3_tsens_v5.0' into 'release/v5.0'
fix(esp_wifi): Fix crash caused by tx_pwctrl_background call in ESP32S3(v5.0)

See merge request espressif/esp-idf!24477
2023-06-30 10:18:02 +08:00
chenjianhua
64a2778d5f bluedroid: fixed gatt tcb free when disconnecting 2023-06-29 20:55:37 +08:00
cjin
75bd131a54 ble: fix cca for esp32c2 2023-06-29 20:02:34 +08:00
chenjianxing
af44033b5a esp_wifi: fix timer callback crash after wifi deinit on esp32c2. 2023-06-29 15:09:07 +08:00
chenjianxing
ef3fe14b5f esp_wifi: decouple softap for esp32c2. 2023-06-29 15:09:07 +08:00
Jiang Jiang Jian
b1e79dbcf5 Merge branch 'bugfix/temperature_weak_link_phy_xpd_v5.0' into 'release/v5.0'
temperature_sensor: only link phy_xpd_tsens function in phy_lib ( backport v5.0)

See merge request espressif/esp-idf!24473
2023-06-29 15:07:06 +08:00
Vikram
7c766af407 Optionally disable logs in espcoredump component
Early log strings used by this component are placed in DRAM.
Disabling these logs saves ~5KB of internal memory

Signed-off-by: Vikram <vikram.dattu@espressif.com>
2023-06-29 11:51:03 +05:30
chenjianxing
0f91ea5369 fix(esp_wifi): Fix crash caused by tx_pwctrl_background call in ESP32S3. 2023-06-29 11:08:09 +08:00
Cao Sen Miao
045467e439 temperature_sensor: only link phy_xpd_tsens function in phy_lib 2023-06-29 10:27:38 +08:00
wuzhenghui
3eae74e966 bugfix: increase pm_dump time field width
Closes https://github.com/espressif/esp-idf/issues/11704
2023-06-28 14:35:20 +08:00
Ilia Lutchenko
837a46b5a7 btc_sdp: add_raw_sdp: fix 32 and 128-bit uuid configuration
Added proper conversion of 4 and 16-byte UUIDs values to binary streams.
UUIDs now set with SDP_AddAttribute() instead of
SDP_AddServiceClassIdList().
2023-06-28 14:18:20 +08:00
harshal.patil
ff28efe5be protobuf-c: Update submodule to v1.4.1 2023-06-27 11:17:43 +05:30
laokaiyao
a2cf3ae4df i2s: fixed i2s_ll compiling failure under C++ evironment
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-27 10:39:43 +08:00
morris
e43622d1df touch_element: fix unintended integer division 2023-06-26 07:08:04 +00:00
morris
92ca847730 usbh: fix invalid assert on desc_status 2023-06-26 07:08:04 +00:00
morris
93ce0714fd vfs_uart: fix out-of-bounds read
when open uart device "/2" on chips only have 2 UART peripherals
2023-06-26 07:08:04 +00:00
wangmengyang
49bb1e85b7 component/docs: enable generation of API-reference documents for Bluetooth HID host 2023-06-25 15:37:54 +08:00
gongyantao
df68489f15 resolve the conflicts 2023-06-25 15:37:54 +08:00
KonstantinKondrashov
2bdbcf12a9 freertos: Fix Systick stuck when systimer was not reset
Relates to OTA update for S3/C3 chips from IDF version 4.3 to v5.0 and above
2023-06-21 14:42:34 +00:00
Rahul Tank
da223dd790 Nimble: Expose API to clear all addresses in whitelist out of stack 2023-06-21 15:55:58 +05:30
wuzhenghui
f030c92d05 bugfix: fix adc current leakage by sar_adc on v5.0 2023-06-21 17:43:53 +08:00
wanglei
861e6a4ef8 cache: patch some rom cache api, rename those apis in ld
1. Cache_Count_Flash_Pages, fix this api return enexpected + 1
2. Cache_Suspend_I/DCache, add wait cache idle after suspend cache
3. Cache_Freeze_I/DCache_Enable, add wait cache idle after freeze
2023-06-19 15:15:32 +08:00
chenjianhua
da7cbbfb7f Update bt-lib for esp32
1 Fixed disconnection delay on peripheral when slave latency is not zero
2 Fixed LLCP info init for central and peripheral
3 Fixed sent cmd status evt twice when process disconnect cmd
2023-06-16 11:41:24 +08:00
chenjianhua
2be8e6e086 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed crash when controller initialization fails due to insufficient memory
2023-06-16 11:41:19 +08:00
chenjianhua
2dea457d9a bluedroid: fixed default extended connection params 2023-06-16 11:41:06 +08:00
chenjianhua
21cc277c3d esp_hid: fixed ble hid battery level setting 2023-06-16 11:40:59 +08:00
boarchuz
8600761adf fix ULP FSM reg ops with addr > 0xFF 2023-06-15 14:00:57 +02:00
wuzhenghui
3ee8a59d59 bugfix: use avaliable gpio for esp32s3 pm_trace 2023-06-15 14:14:25 +08:00
wuzhenghui
65e8cb55eb bugfix: fix esp32s3 psram access failed when dfs is enabled 2023-06-15 14:14:21 +08:00
morris
9795444f6c mcpwm: fix typo in backward compatible macro name 2023-06-15 10:58:50 +08:00
Jiang Jiang Jian
24b9d38a24 Merge branch 'bugfix/fix_esp32s2_tsenor_v5.0' into 'release/v5.0'
esp_phy: fix esp32s2 tsensor issue(v5.0)

See merge request espressif/esp-idf!24226
2023-06-15 01:22:02 +08:00
Jiang Jiang Jian
bd90408cc1 Merge branch 'feature/esp_ipc_isr_fix_v5.0' into 'release/v5.0'
esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env) (v5.0)

See merge request espressif/esp-idf!23992
2023-06-15 00:56:24 +08:00
alanmaxwell
d6017a32bd esp_phy: fix esp32s2 tsensor issue 2023-06-14 21:42:07 +08:00
Jiang Jiang Jian
2798527b0b Merge branch 'bugfix/fix_some_wifi_bugs_230612_v5.0' into 'release/v5.0'
Fixed some wifi bugs 230612 v5.0 (Backport v5.0)

See merge request espressif/esp-idf!24172
2023-06-14 01:10:29 +08:00
Jiang Jiang Jian
7684bd5cdb Merge branch 'bugfix/memory_cleanup_optimization_v5.0' into 'release/v5.0'
Nimble: Fixes for memory leak / optimization (v5.0)

See merge request espressif/esp-idf!24140
2023-06-13 23:43:08 +08:00
Jiang Jiang Jian
fa17fc83cb Merge branch 'bugfix/fix_adc_continuous_driver_conv_frame_issue_v5.0' into 'release/v5.0'
adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue / pr 11500, use circular dma descriptors in adc continuous mode (v5.0)

See merge request espressif/esp-idf!24189
2023-06-13 20:20:25 +08:00
Jiang Jiang Jian
d20884cecb Merge branch 'bugfix/fix_multicast_example_map_wrong_address_issue_5.0' into 'release/v5.0'
Lwip:Backport some lwip bugs to 5.0

See merge request espressif/esp-idf!24193
2023-06-13 20:18:43 +08:00
Jiang Jiang Jian
d994b97c92 Merge branch 'bugfix/init_wpsreg_in_APSTA_mode_v5.0' into 'release/v5.0'
esp_wifi:Enable wpsreg to initialize in APSTA mode

See merge request espressif/esp-idf!24198
2023-06-13 20:13:47 +08:00
morris
8704ff0b55 rgb_lcd: support pixel copy for 8bpp
Closes https://github.com/espressif/esp-idf/issues/11581
2023-06-13 18:21:32 +08:00
Jiang Jiang Jian
da24d50bb9 Merge branch 'bugfix/fix_bleqabr23_222_v5.0' into 'release/v5.0'
Revert "bluedroid: report disconnect event after BLE link closed" (backport 5.0)

See merge request espressif/esp-idf!24191
2023-06-13 18:00:19 +08:00
Michael (XIAO Xufeng)
1b04acf68f Merge branch 'bugfix/fix_chip_broken_bug_in_monitor_mode_c2c3s2s3_to_v5.0' into 'release/v5.0'
ESP32S2/C3/C2: fixed S2 dangerous power parameters in sleep modes and support S2/C3/C2 different sleep mode(v5.0)

See merge request espressif/esp-idf!23754
2023-06-13 17:50:21 +08:00
muhaidong
0f09901e30 esp_wifi: fix some wifi bugs
1. mesh: layer2 node will scan all channels when root leave in fixed root network
2. show warning infomation when setting softAP's max connection number
3. update pairwise cipher in softAP
4. overwrite pairwise cipher when softAP auth mode is WPA2 WPA2_WPA3 WAP3
5. fix sta receive csa issue
2023-06-13 16:47:07 +08:00
Shreyas Sheth
cb963c5cb5 esp_wifi:Enable wpsreg to initialize in APSTA mode 2023-06-13 12:22:50 +05:30
xueyunfei
b85dad9e68 esp_phy:update comments in esp_phy_init.h 2023-06-13 11:57:07 +08:00
xueyunfei
64911ed444 Lwip:Backport some lwip bugs to 5.0
* Update submodule: git log --oneline d5e56d06658ae11292be1baea56204f7120b6fa7..57c29648ff40e2a19a51683717928aaf766a0495

Detailed description of the changes:
- ip6: add a hook for ip6 source address selection(esp-lwip@57c29648)
- netdb:fixed bug for getaddrinfo returns null when IPV4 mapped address (esp-lwip@dafc8225)
2023-06-13 11:55:49 +08:00
muhaidong
153f34cf74 esp_supplicant: When the softAP authentication mode is set to WPA2_PSK, WPA2_WPA3_PSK, or WPA3_PSK, the pairwise cipher will be overwritten with WIFI_CIPHER_TYPE_CCMP 2023-06-13 11:54:26 +08:00
Rahul Tank
13f62f9d4b Nimble: Fixes for memory leak / optimization 2023-06-13 09:20:28 +05:30
muhaidong
5caf842f72 esp_supplicant: wpa pmf should be disabled 2023-06-13 11:43:11 +08:00
Jiang Jiang Jian
1c07880c34 Merge branch 'bugfix/add_event_cb_for_pcl_v5.0' into 'release/v5.0'
Nimble: Add support to send power control event in registered callback(v5.0)

See merge request espressif/esp-idf!23584
2023-06-13 11:20:34 +08:00
Jiang Jiang Jian
9f99495cb2 Merge branch 'feature/add_log_when_mspi_timing_tuning_is_enabled_v5.0' into 'release/v5.0'
mspi: added timing tuning start, and success log (v5.0)

See merge request espressif/esp-idf!24054
2023-06-13 10:51:49 +08:00
Jiang Jiang Jian
a591730d29 Merge branch 'bugfix/tempsensor_wifi_conflict_v5.0' into 'release/v5.0'
temperature_sensor: Fix issue that have conflict with phy / Fix phy pwdet and tsens power cannot be set twice issue (v5.0)

See merge request espressif/esp-idf!24066
2023-06-13 10:47:32 +08:00
chenjianhua
187d77d702 Revert "bluedroid: report disconnect event after BLE link closed"
This reverts commit 0cb5a90663.
2023-06-13 10:33:17 +08:00
Armando
9bec4233a4 adc: port gh pr to current adc continuous mode driver
DMA EOF may happens per multiple dma descriptors, instead of only one.

Closes https://github.com/espressif/esp-idf/pull/11500
2023-06-13 10:28:46 +08:00
Niklas Gürtler
82c055bac9 Fix #10804 by running continuous ADC DMA in endless loop instead of restarting after each run (descriptor chain) to avoid losing samples. Use descriptor error callback for GDMA to check for DMA buffer overrun.
Signed-off-by: Armando <douyiwen@espressif.com>
2023-06-13 10:28:46 +08:00
Armando
ac3f74ecb6 adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue
Closes https://github.com/espressif/esp-idf/issues/11385
2023-06-13 10:28:46 +08:00
Jiang Jiang Jian
c82d9ca887 Merge branch 'bugfix/bod_glitch_reset_c6_v5.0' into 'release/v5.0'
bootloader: fix BOD and glitch reset on C6 and H2 (v5.0)

See merge request espressif/esp-idf!23407
2023-06-13 10:25:47 +08:00
hongshuqing
d82af7f54a fix chip broken bug in monitor mode for c2 c3 s2 s3 to v5.0 2023-06-13 10:22:40 +08:00
Jiang Jiang Jian
c0f55d9a53 Merge branch 'feat/improve_wifi_rx_in_high_interference_v5.0' into 'release/v5.0'
esp_phy: update esp32c2 phy lib to fix some issues(v5.0)

See merge request espressif/esp-idf!24162
2023-06-13 10:20:36 +08:00
Jiang Jiang Jian
899925e66b Merge branch 'feature/usb_host_interface_claim_debug_info_v5.0' into 'release/v5.0'
USB Host: better debugging information during usb_host_interface_claim() (backport v5.0)

See merge request espressif/esp-idf!23446
2023-06-13 10:15:42 +08:00
Jiang Jiang Jian
faf54ca1d6 Merge branch 'bugfix/aes_dma_align_issue_v5.0' into 'release/v5.0'
aes: fix DMA descriptor calculation for the alignment case (v5.0)

See merge request espressif/esp-idf!24094
2023-06-13 10:09:16 +08:00
morris
e37618cda7 Merge branch 'bugfix/adc_outof_bound_read_v5.0' into 'release/v5.0'
adc: fix out of bound read

See merge request espressif/esp-idf!24170
2023-06-13 10:05:39 +08:00
Armando
6602cfa760 phy: fix phy pwdet and tsens power cannot be set twice issue
Closes https://github.com/espressif/esp-idf/issues/11627
2023-06-12 19:42:05 +08:00
Jiang Jiang Jian
6012986e2a Merge branch 'bugfix/delete_node_during_list_traverse_5.0' into 'release/v5.0'
bugfix: Fixed the crash of LoadProhibited caused by invalid operation on list node in handling hci_hardware_error event (v5.0)

See merge request espressif/esp-idf!23117
2023-06-12 18:16:25 +08:00
Jiang Jiang Jian
a40fc4035d Merge branch 'bugfix/a2dp_source_crash_connect_to_Bose_speaker_v5.0' into 'release/v5.0'
Bugfix/a2dp source crash connect to bose speaker (v5.0)

See merge request espressif/esp-idf!23349
2023-06-12 18:16:12 +08:00
Jiang Jiang Jian
c098c0b6fa Merge branch 'bugfix/dpp_retry_start_listening_issue_v5.0' into 'release/v5.0'
esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure (v5.0)

See merge request espressif/esp-idf!23595
2023-06-12 18:15:55 +08:00
Armando
75bd7008a5 mspi: added timing tuning start, and success log 2023-06-12 16:14:13 +08:00
muhaidong
25b40c9d5e esp_wifi: fix some wifi bugs
1.pm: mesh sleep support phy ref
2.pm: send wake null after scan if txq isn't idle
3.fix esp32 wifi schm interrupted by ble act
4.fix the bug that ble scan start impacts wifi in some coex scenarios
5.fix softAP qos null issue
6.fix the tx data error when change phymode from LR to 11N
7.fix the heap corrupt issue in MTXON task
8.add new api for supplicant to get softAP's max connection
9.owe: reject pmf incapable ciphers for owe connections
10.fix nvs store softap pmk not match ssid&password
11.install keys after successful transmission of eapol 4/4 message
12.add apis to get assoc id and negotiated phymode
13.softAP pmf: handle SA Query bug in AP-STA concurrent mode when both connections are pmf enabled
14.softAP pmf: merge softAP and station SA Query handlers
15.add wpa_sta_connected callback
16.softAP: validate softAP interface when sending beacon
17.ftm: send ftm frames immediately
18.fix ftm procedure with peer failed status 4 issue
19.fix set inactive time crash issue
2023-06-12 15:40:19 +08:00
Sarvesh Bodakhe
b678fa1290 esp_wifi: Combine bugfixes for softAP PMF, beacon tx process and add wpa_sta_connected callback
1. Handle SA-Query bug in AP-STA concurrent mode when both connections are PMF enabled
2. Add wpa_sta_connected callback
3. Validate softAP interface when sending beacon frame
2023-06-12 15:24:07 +08:00
aditi_lonkar
ded3169aa5 esp_wifi: Add APIs to get Assoc id and negotiated phymode. 2023-06-12 15:23:55 +08:00
Shreyas Sheth
70e3d8f511 esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message 2023-06-12 15:23:40 +08:00
zhangyanjiao
273f36829a wpa_supplicant: Fix max sta num error for softAP 2023-06-12 15:23:26 +08:00
morris
6849be6397 adc: fix out of bound read
when SOC_ADC_PERIPH_NUM==1, the adc_unit should only be assigned with 0
2023-06-12 15:21:19 +08:00
Chen Jian Xing
f0b1869ceb Merge branch 'bugfix/fix_some_txop_issues_v5.0' into 'release/v5.0'
esp_wifi: fix some txop issues(Backport v5.0)

See merge request espressif/esp-idf!24160
2023-06-12 15:04:24 +08:00
chenjianxing
cdb11885f5 esp_phy: update esp32c2 phy lib to fix some issues
1. improve Wi-Fi rx 11b pkts for AC-DC power supply modules.
2. fix Wi-Fi disconnect in low temperature.
3. fix RTC_SW_CPU_RST occur in Wi-Fi start and stop process.
2023-06-12 11:54:11 +08:00
jasta
9325029d87 esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure
This fixes a subtle bug in which ESP_ERR_DPP_TX_FAILURE errors would
call esp_supp_dpp_stop_listen which sets the s_dpp_stop_listening flag
to true.  Subsequent attempts to restart listening with
esp_supp_dpp_start_listen then only attempt to listen once more for
500ms before reading the s_dpp_stop_listening flag again and giving up.

This contributes greatly to #10615, but the fix here is still largely
a work-around as it sometimes requires manually retrying a couple times
before it works.  Without this fix, any number of retries by
deinit/init again will seemingly not work as the retries for currently
unknown reasons.

Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/10865
2023-06-12 03:26:10 +00:00
Jin Cheng
7e810cd65c fix a2dp source crash when connect to Bose speaker 2023-06-12 03:24:15 +00:00
Jin Cheng
95b363aa91 fixed the crash of LoadProhibited caused by taht
the nodes are deleted during the traversal of the linked list
2023-06-12 03:23:18 +00:00
Jiang Jiang Jian
e6ad0a4fa2 Merge branch 'bugfix/fix_wps_with_sae_enabled_ap_v5.0' into 'release/v5.0'
esp_wifi: Fix WPS issue for WPA3+WPA2 mode(v5.0)

See merge request espressif/esp-idf!24154
2023-06-12 11:20:51 +08:00
Jiang Jiang Jian
838850abab Merge branch 'feature/example_deep_sleep_wake_stub_backport_v5.0' into 'release/v5.0'
example: add deepsleep_wake stub example (backport v5.0)

See merge request espressif/esp-idf!23414
2023-06-12 11:07:59 +08:00
Jiang Jiang Jian
34d6805465 Merge branch 'bugfix/mbo_ie_absent_prob_req_v50' into 'release/v5.0'
wpa_supplicant : Add MBO ie in probe request(backport v5.0)

See merge request espressif/esp-idf!24098
2023-06-12 11:02:14 +08:00
muhaidong
398403e251 esp_wifi: fix some txop issues 2023-06-09 23:24:02 +08:00
Kapil Gupta
a66d93a75f esp_wifi: Fix WPS issue for WPA3+WPA2 mode 2023-06-09 17:58:34 +05:30