Commit Graph

23121 Commits

Author SHA1 Message Date
chenjianhua
d0e6ca913e bluedroid: add periodic adv sync transfer API and EVT 2023-09-06 20:43:31 +08:00
chenjianhua
5ae83e59a3 bluedroid: support gatts show local database 2023-09-06 20:43:31 +08:00
chenjianhua
ec08c167ff bluedroid: fixed GATT multi notify and robust caching 2023-09-06 20:43:31 +08:00
chenjianhua
a57a8d8c32 bluedroid: add config for GAP service and periodic adv sync transfer 2023-09-06 20:43:31 +08:00
chenjianhua
8aafc35201 bluedroid: add internal GATT API for PTS 2023-09-06 20:43:31 +08:00
chenjianhua
53dd9f0a31 bluedroid: add config for robust caching and RPA timeout 2023-09-06 20:43:31 +08:00
chenjianhua
7e6b085c53 bluedroid: support GATT robust caching feature 2023-09-06 20:43:31 +08:00
chenjianhua
3565b74fa5 bluedroid: support GATT services database hash calculate 2023-09-06 20:43:31 +08:00
chenjianhua
a1ffb2580d bluedroid: support periodic advertising sync transfer cmd 2023-09-06 20:43:31 +08:00
chenjianhua
33c8ffa69a bluedroid: support LE L2CAP credit based connection 2023-09-06 20:43:31 +08:00
chenjianhua
650380e717 bluedroid: support oob pairing for smp secure connection 2023-09-06 20:43:31 +08:00
Jiang Jiang Jian
d152a5bb00 Merge branch 'bugfix/usb_serial_jtag_write_return_val_v4.4' into 'release/v4.4'
fix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly(backport v4.4)

See merge request espressif/esp-idf!25711
2023-09-06 16:39:47 +08:00
Jiang Jiang Jian
0fc94b1d9f Merge branch 'bugfix/backport_phy_v4.4' into 'release/v4.4'
fix(phy): backport some phy fix(v4.4)

See merge request espressif/esp-idf!25732
2023-09-06 16:36:05 +08:00
Marius Vikhammer
9f11e6fb1f Merge branch 'bugfix/intr_flags_to_level_v4.4' into 'release/v4.4'
fix(intr_flags_to_level): fix value returned one more than correct value (v4.4)

See merge request espressif/esp-idf!25426
2023-09-06 16:35:58 +08:00
Jiang Jiang Jian
1cb288ed8b Merge branch 'bugfix/fix_some_ble_bug_v4.4' into 'release/v4.4'
Fixed some BLE bugs (backport v4.4)

See merge request espressif/esp-idf!25728
2023-09-06 16:02:07 +08:00
morris
69fbe51d28 Merge branch 'bugfix/fix_adc_continuous_driver_conv_frame_issue_v4.4' into 'release/v4.4'
adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue / pr 11500, use circular dma descriptors in adc continuous mode (v4.4)

See merge request espressif/esp-idf!24741
2023-09-06 14:19:24 +08:00
Mahavir Jain
4636443b49
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:37 +05:30
Mahavir Jain
b64670b51e
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:30:37 +05:30
alanmaxwell
ad3032c781 fix(ci): modify ble_prov example partition table 2023-09-06 10:49:58 +08:00
Rahul Tank
1f00708c84 Merge branch 'bugfix/add_nimble_50_feature_support_flag_v4.4' into 'release/v4.4'
fix(nimble): add flag to indicate 5.0 feature support(v4.4)

See merge request espressif/esp-idf!25765
2023-09-05 22:39:49 +08:00
chenjianhua
59825e3c9c 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-05 20:29:03 +08:00
chenjianhua
377501aaad 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-05 20:29:03 +08:00
chenjianhua
2792f318c3 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-05 20:29:03 +08:00
zhanghaipeng
b06db3565a fix(bt): Fix bugs about updating connect param 2023-09-05 20:29:03 +08:00
zhanghaipeng
eb449b401a fix(bt): Fix bug while calculating block cipher using aes-128 2023-09-05 20:29:03 +08:00
zhanghaipeng
76e4e6601d docs(bt): Update comment in ble 2023-09-05 20:29:03 +08:00
zhanghaipeng
571e6f0580 feat(bt/bluedroid): Support periodic adv adi feature 2023-09-05 20:29:03 +08:00
chenjianhua
4dd50e9f34 fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting 2023-09-05 20:29:03 +08:00
chenjianhua
a5da0ebd0c fix(bt/bluedroid): Fixed GATTC cache address save when list is full 2023-09-05 20:29:03 +08:00
chenjianhua
0b3ea0fcde feat(bt/bluedroid): Support high duty adv interval setting 2023-09-05 20:29:03 +08:00
chenjianhua
30609ba7f0 fix(bt/bluedroid): Fix address check when using NRPA as random device address 2023-09-05 20:29:03 +08:00
alanmaxwell
e2782777a7 fix(phy): backport some phy fix
1. Fix WiFi not working with Tsens on ESP32S2
2. WIFI RX multipath optimization for all chips
3. BLE TX sideband optimization for C3/S3
4. Optimize ht40 tx side band issue for esp32
2023-09-05 11:21:16 +00:00
Michael (XIAO Xufeng)
56bd34a980 Merge branch 'fix/spi_polling_api_buslock_logic_v4.4' into 'release/v4.4'
fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed (v4.4)

See merge request espressif/esp-idf!25699
2023-09-05 17:19:04 +08:00
morris
4b46cc06ec Merge branch 'bugfix/fix_psram_size_doc_s3_v4.4' into 'release/v4.4'
doc: update s3 psram vaddr max range size (v4.4)

See merge request espressif/esp-idf!25504
2023-09-05 14:57:40 +08:00
Rahul Tank
183eab756b fix(nimble): add flag to indicate 5.0 feature support 2023-09-05 11:21:22 +05:30
Armando
b282c244cb DMA EOF may happens per multiple dma descriptors, instead of only one.
Closes https://github.com/espressif/esp-idf/pull/11500
2023-09-05 11:18:56 +08:00
Armando
85ce6abdec 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. 2023-09-05 11:18:56 +08:00
Armando
91da3bcdc1 adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue 2023-09-05 11:18:52 +08:00
Jiang Jiang Jian
7588771b52 Merge branch 'bugfix/sdmmc_host_cclk_lp_v4.4' into 'release/v4.4'
sdmmc: keep clock enabled for the duration of ACMD41 (v4.4)

See merge request espressif/esp-idf!24335
2023-09-05 11:17:35 +08:00
Jiang Jiang Jian
4f0f7ba4b7 Merge branch 'bugfix/skip_using_cache_in_wrong_passwd_cfg_v4.4' into 'release/v4.4'
fix(esp_wifi): Skip PMK cache usage if configured password is incorrect (Backport v4.4)

See merge request espressif/esp-idf!25720
2023-09-05 10:15:01 +08:00
Shyamal Khachane
de293fbab7 fix(esp_wifi): Skip PMK cache usage if configured password is incorrect 2023-09-04 10:43:28 +05:30
Cao Sen Miao
e2eb773c30 fix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly,
Closes https://github.com/espressif/esp-idf/issues/12119,
Closes https://github.com/espressif/esp-idf/pull/11344,
Closes https://github.com/espressif/esp-idf/issues/9318
Closes https://github.com/espressif/esp-idf/issues/11192
2023-09-04 11:56:00 +08:00
Cao Sen Miao
8ce60fa50a bugfix(temperature_sensor): Fix issue that get the value is negative 2023-09-04 10:42:34 +08:00
Jiang Jiang Jian
93cb3d626d Merge branch 'bugfix/fix_pmf_set_race_v4.4' into 'release/v4.4'
fix(wifi): Prevent PMF config overwritten by tx_cb

See merge request espressif/esp-idf!25666
2023-09-04 10:33:21 +08:00
wanlei
b445b103c7 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:25:38 +08:00
Rahul Tank
d89b1e45fa Merge branch 'feat/add_high_duty_adv_interval_v4.4' into 'release/v4.4'
feat(nimble): Added support for high duty adv interval (v4.4)

See merge request espressif/esp-idf!25555
2023-09-01 15:02:24 +08:00
Cao Sen Miao
f0ca580c80 temperature_sensor: Apply new-shared interface in temperature sensor driver 2023-09-01 11:03:37 +08:00
Jiang Jiang Jian
2183fbc046 Merge branch 'feature/unicore_bootloader_can_run_multicore_app_v4.4' into 'release/v4.4'
esp_system: Fix case when multicore app can not be run if bootloader is unicore (v4.4)

See merge request espressif/esp-idf!23029
2023-09-01 10:18:49 +08:00
Jiang Jiang Jian
c2ddb5b79c Merge branch 'test/bqb_test_bt_classic_a2dp_v4.4' into 'release/v4.4'
fix(bt/avdtp): Reject SET CONFIGURATION command with error code INVALID_CODEC_TYPE(backport v4.4)

See merge request espressif/esp-idf!25687
2023-09-01 10:16:26 +08:00
Cao Sen Miao
6bb129620f temperature_sensor: Add new interface and reference counts so that phy and driver can use together 2023-09-01 10:06:31 +08:00