Shen Weilong
a8f3e33fbe
fix(ble): fixed a heap assertion issue when enabling BLE for esp32c2 v2.0
2025-04-03 09:00:03 +08:00
Jiang Jiang Jian
22789f45d6
Merge branch 'backport/backport_some_changes_to_v5.0' into 'release/v5.0'
...
fix(wifi): fix some wifi bugs(Backport v5.0)
See merge request espressif/esp-idf!38071
2025-03-28 10:02:22 +08:00
yinqingzhao
fe923b3b4b
fix(sniffer): fix channel in rx_ctrl is zero when using sniffer
2025-03-27 17:29:15 +08:00
Island
87a728c41d
Merge branch 'feature/add_vendor_ble_cmd_definitions_5.0' into 'release/v5.0'
...
Feature/add vendor ble cmd definitions (v5.0)
See merge request espressif/esp-idf!37962
2025-03-27 17:14:49 +08:00
zhangyanjiao
f41ea3257d
fix(wifi): Fixed the scan information error in LR only mode
2025-03-27 10:43:10 +08:00
Shen Weilong
8c74230b77
feat(ble/controller): Added memory boundary check for ESP32-C2
2025-03-25 14:38:00 +08:00
Zhou Xiao
d21703765b
feat(ble): add enhanced connect function on ESP32-C2
...
(cherry picked from commit 71cea01694 )
Co-authored-by: zwl <zhaoweiliang@espressif.com >
2025-03-18 12:53:39 +08:00
Island
95cafb5a32
Merge branch 'bugfix/fix_some_ble_bugs_250220_esp32c3_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs 250220 on esp32c3(b34b7d6) (v5.0)
See merge request espressif/esp-idf!37697
2025-03-13 17:34:20 +08:00
Chen Jian Hua
aaa7cb9920
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b34b7d6)
...
- Fixed enhanced TX power setting and getting for legacy adv
- Fixed BLE assert lld_con.c 2387
- Fixed compatibility issues during the encryption procedure
- Support BLE vendor hci enable CCA command
(cherry picked from commit d672f909f3 )
Co-authored-by: chenjianhua <chenjianhua@espressif.com >
2025-03-12 15:33:18 +08:00
gongyantao
9e3859f666
fix(bt): fixed some issues in bt controller
...
- fixed the issue where the NULL pointer was deferenced in lc_free state
- avoid accessing released ACL resources in SCO logic
2025-03-10 15:39:32 +08:00
morris
4ddfbf7941
Merge branch 'fix/build_when_rom_patch_disable_v5.0' into 'release/v5.0'
...
fix(spi_flash): Fix build fail when rom_patch config disabled (backport v5.0)
See merge request espressif/esp-idf!37111
2025-03-05 10:11:31 +08:00
Jiang Jiang Jian
0d92239a72
Merge branch 'bugfix/bt_ctrl_issues_v5.0' into 'release/v5.0'
...
fix(bt/controller): fixed some controller bugs on ESP32. (v5.0)
See merge request espressif/esp-idf!37400
2025-03-04 17:44:16 +08:00
Tomasz Kramkowski
bf5ce28592
fix(rom): Fix s2 and s3 Cache_Count_Flash_Pages rom function wrapper
...
The rom function on the s2 and s3 only counts one page for any pages
which are mapped to page 0 of flash as the Cache_Flash_To_SPIRAM_Copy
function attempts to map all flash page 0 mapped pages to one PSRAM
page.
As this function can be called for multiple regions, it needs to track
if a page mapped to page 0 has previously been accounted for by a
previous call. It does this using the page0_mapped in-out parameter.
This logic contains an error:
```
if (*page0_mapped == 0) {
// BUG: If page0_count is 0, 1 is still added
count = valid_flash_count + 1 - page0_count;
} else {
count = valid_flash_count - page0_count;
}
*page0_mapped += page0_count;
return count;
```
The current Cache_Count_Flash_Pages wrapper in the idf attempts to
compensate for this bug by checking if the page0_mapped parameter was
changed by a call to the function and reducing the count if it has not.
This, however, will incorrectly over-compensate in situations where the
initial value of page0_mapped was not zero as the code above only
miscounts when it was zero.
This patch addresses the issue in this wrapper function by correctly
compensating for the bug only in cases where the final page0_mapped
value is 0.
2025-03-02 17:03:16 +08:00
Jin Cheng
01dec39ed2
fix(bt/controller): fixed some controller bugs on ESP32.
...
1. added a VSC to control whether to initiate lmp_auto_rate
- Closes https://github.com/espressif/esp-idf/issues/15133
2. fixed EA resource cleanup error after SNIFF negotiation failure
- Closes https://github.com/espressif/esp-idf/issues/13605
3. removed an assertion in SCO data TX handler after disconnection
- Closes https://github.com/espressif/esp-idf/issues/15176
2025-02-28 17:36:44 +08:00
Island
0364a68eee
Merge branch 'change/ble_update_lib_20250114_v5.0' into 'release/v5.0'
...
change(ble): [AUTO_MR] 20250114 - Update ESP BLE Controller Lib (v5.0)
See merge request espressif/esp-idf!36476
2025-02-20 14:48:07 +08:00
C.S.M
d28197b74f
fix(spi_flash): Fix build fail when rom_patch config disabled,
...
Closes https://github.com/espressif/esp-idf/issues/15229
2025-02-19 17:33:33 +08:00
morris
085bf84090
Merge branch 'bugfix/gpio_rom_patch_fix_v5.0' into 'release/v5.0'
...
fix(gpio): fix esp_rom_gpio_connect_out_signal for gpio num over 31 on esp32/s2 (v5.0)
See merge request espressif/esp-idf!36869
2025-02-18 10:24:53 +08:00
Zhou Xiao
e456978606
change(ble): update esp32c2 rom ld file
...
(cherry picked from commit e5feba6ed3 )
Co-authored-by: Zhou Xiao <zhouxiao@espressif.com >
2025-02-14 14:09:25 +08:00
Zhou Xiao
f73fdaa744
fix(ble): fixed ld file for c2eco0 and c2eco4
...
(cherry picked from commit 937fe2a6e3 )
Co-authored-by: zhouxiao <zhouxiao@espressif.com >
2025-02-12 10:55:00 +08:00
Song Ruo Jing
834c9da833
fix(gpio): fix esp_rom_gpio_connect_out_signal for gpio num over 31 on esp32/s2
...
Closes https://github.com/espressif/esp-idf/issues/15209
2025-02-11 19:15:08 +08:00
morris
a7b8aed433
Merge branch 'bugfix/esp_rom_gpio_connect_out_signal_patch_v5.0' into 'release/v5.0'
...
fix(gpio): patched esp_rom_gpio_connect_out_signal for esp32 and esp32s2 (v5.0)
See merge request espressif/esp-idf!35943
2025-01-24 11:16:51 +08:00
Island
245fb725f2
Merge branch 'bugfix/fixed_ble_issues_241220_v5.0' into 'release/v5.0'
...
Bugfix/fixed ble issues 241220 (v5.0)
See merge request espressif/esp-idf!35920
2025-01-24 10:53:40 +08:00
Chen Jian Hua
01bcc85fd9
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(fd62b31)
...
- Fixed periodic adv enable params checking
- Fixed BLE assert lld_scan.c 1728 when receiving directed adv
- Support resolving RPA to identity address when creating connection
- Fixed BLE assert rwble.c 505 param 00400010
- Fixed peer address type error in HCI LE meta event
- Fixed setting random address failed when extended adv is enabled
(cherry picked from commit 326f391f9c )
Co-authored-by: chenjianhua <chenjianhua@espressif.com >
2025-01-07 14:33:16 +08:00
liuning
3e60901efe
fix some wifi issues
...
1. fix(wifi): fix sta tsf active failed
2. fix(wifi): fix double max active time
3. fix(wifi): fix coex pwr period cant been updated by ps type set
2025-01-03 16:04:46 +08:00
Song Ruo Jing
d555ea2b00
fix(gpio): patched esp_rom_gpio_connect_out_signal for esp32 and esp32s2
...
The original ROM function enabled output for the pad first, and then connected the signal
This could result in an undesired level change at the pad
Closes https://github.com/espressif/esp-idf/issues/12826
2024-12-25 13:56:46 +08:00
Zhao Wei Liang
2cc6e7c173
feat(ble): fixed some ble issues on ESP32-C2
...
(cherry picked from commit 5f9a3cdd1a )
Co-authored-by: zwl <zhaoweiliang@espressif.com >
2024-12-24 15:20:51 +08:00
wangtao@espressif.com
19c3a5a27e
fix(wifi): fix rssi and snr issue
2024-12-18 20:19:54 +08:00
Island
d0a52ca6de
Merge branch 'feat/support_some_vendor_hci_for_qa_v5.0' into 'release/v5.0'
...
fix(ble): fixed the connect issue when rx error aa on ESP32-C2 (v5.0)
See merge request espressif/esp-idf!35643
2024-12-17 16:49:20 +08:00
wangtao@espressif.com
5cbedb4df0
feat(wifi): add protect for softap send no bss deauth releated code
2024-12-16 14:24:39 +08:00
Zhao Wei Liang
cd6a69ed01
fix(ble): fixed the connect issue when rx error aa on ESP32-C2
...
(cherry picked from commit 6b01a56e09 )
Co-authored-by: zwl <zhaoweiliang@espressif.com >
2024-12-16 11:03:16 +08:00
Sarvesh Bodakhe
e769f8aa0c
refactor(wifi): Cleanup in disconnecting station path for softAP
2024-12-13 13:03:46 +05:30
wangtao@espressif.com
25143e1e4a
fix(wifi): fix ampdu to normal cause free buffer twice issue
2024-12-06 17:59:17 +08:00
Jiang Jiang Jian
3106c368eb
Merge branch 'feat/support_esp32c2_eco4_wifi_v50' into 'release/v5.0'
...
Feat/support esp32c2 eco4 wifi v50
See merge request espressif/esp-idf!34659
2024-12-04 20:43:06 +08:00
Jiang Jiang Jian
1f5789e649
Merge branch 'fix/duplicated_enc_restart_request_when_change_key_type_v5.0' into 'release/v5.0'
...
fix(bt): fixed some issues in esp32 bt controller(backport v5.0)
See merge request espressif/esp-idf!35298
2024-12-04 19:21:47 +08:00
wangtao@espressif.com
c9102147d1
fix(wifi): fix esp32c2 eco4 ci issue ld
2024-12-03 11:04:40 +08:00
gongyantao
21df54c917
fix(bt): fixed some issues in esp32 bt controller
...
1: fix duplicated lc_enc_restart_req when new lk type is semi-permanent
key
2: reset PreventEncEvt flag at the end of restart encryption procedure
2024-11-29 14:13:23 +08:00
Jin Chen
1021139898
fix(ble): change ld for ble scan coex issue
...
(cherry picked from commit dd499d7b2e )
Co-authored-by: cjin <jinchen@espressif.com >
2024-11-25 21:03:50 +08:00
Jin Chen
219244ffaa
fix(ble): fix ble light sleep error on esp32c2
...
(cherry picked from commit 23f7e33a97 )
Co-authored-by: cjin <jinchen@espressif.com >
2024-11-25 21:03:50 +08:00
Li Bo
17a8462d81
fix(esp_rom): fix esp32c3 eco7 console rom function address
2024-11-22 14:56:45 +08:00
wangtao@espressif.com
e56f427065
fix(wifi): put more useful rom code in used
2024-11-21 20:24:39 +08:00
wangtao@espressif.com
28621c5d7d
ix(wifi): fix esp32c2 eco4 in v5.0 extra ld issue
2024-11-18 15:57:11 +08:00
wangtao@espressif.com
c117ea6bfc
fix(wifi): fix esp32c2 eco4 ld
2024-11-18 15:57:11 +08:00
Jin Cheng
a5d2d906ad
fix(bt/controller): Fixed some controller bugs on ESP32
...
- Fixed wrong logic in handling sniff transaction collision at slave
side
- Fixed the issue ACL is stopped too early before eSCO
2024-11-15 11:47:17 +08:00
Island
240dd4fb8d
Merge branch 'feature/support_moving_code_to_flash_v5.0' into 'release/v5.0'
...
feat(ble): Support for putting code in flash on ESP32-C2 (v5.0)
See merge request espressif/esp-idf!34782
2024-11-14 10:09:21 +08:00
Shen Weilong
c3290dfd6b
feat(ble): Support for putting code in flash on ESP32-C2
2024-11-11 17:38:13 +08:00
Island
48cb8520b4
Merge branch 'feat/support_controller_run_in_flash_only_v5.0' into 'release/v5.0'
...
feat(bt/controller): Support controller code run in flash only (backport v5.0)
See merge request espressif/esp-idf!34696
2024-11-11 14:21:42 +08:00
Jin Cheng
ccb482a38d
fix(bt/controller): Fixed some controller bugs on ESP32
...
- Fixed access NULL in SCO frame end
Closes https://jira.espressif.com:8443/browse/IDFGH-10796
- Added LAP checking for Periodic Inquiry
- Removed an inproper assertion in SCO module
- Fixed wrong logic in key exchange when
LMP transaction collision occurred
- Fixed the using of wrong error code in
the transaction collision of role switch
2024-11-06 19:38:22 +08:00
zhiweijian
81c56354fb
feat(bt/controller): Support controller code run in flash only
2024-11-06 14:24:28 +08:00
Chen Jian Hua
2d0c9d1837
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(52ee788)
...
- Fixed BLE vendor HCI set and get tx power
- Support BLE vendor HCI set adv aux offset command
- Support BLE vendor HCI set CSA support command
- Added config for BLE instant passed workaround
- Fixed btdm_sleep_clock_sync timeout workaround
(cherry picked from commit 1e3220b0b0 )
Co-authored-by: chenjianhua <chenjianhua@espressif.com >
2024-10-31 15:33:43 +08:00
Chen Jian Hua
acf16d293b
fix(bt/controller): Fixed BLE functions overriding on ESP32-C3 ECO7
...
(cherry picked from commit 020f7a6297 )
Co-authored-by: chenjianhua <chenjianhua@espressif.com >
2024-10-15 13:33:21 +08:00