Commit Graph

58 Commits

Author SHA1 Message Date
Jack
8c6114d0d2 Merge branch 'feature/free_bt_memory_v5.1' into release/v5.1
feat(bt): Frees BLE memory when no longer in use

See merge request espressif/esp-idf!26570
2023-10-20 08:41:19 +08:00
Shen Weilong
ea06b047c2 feat(bt): Frees BLE memory when no longer in use
It will free libble.a & libbt all txt, data and bss segment memory.
          This memory is combined into one large memory and put into the heap
          pool.
2023-10-19 14:52:29 +08:00
luomanruo
bacd3f40bb ble: update controller log module for ESP32-C6, ESP32-H2 and ESP32-C2 2023-10-18 18:11:34 +08:00
luomanruo
20533dccce ble: update controller log module for ESP32-C2 2023-10-18 17:10:28 +08:00
cjin
f94b64d820 feat(ble): added modem reset on c2 h2 and c6 2023-10-13 11:42:14 +08:00
zwl
0bbc2805fc fix(phy): Fix ble phy_enable/disable api invoking issue for esp32c2,esp32h2 and esp32c6 2023-09-27 14:55:26 +08:00
luomanruo
2c1334ef1c change(ble): update controller log print interface 2023-09-12 15:50:54 +08:00
cjin
27f84d88dc ble: support esp32c2 wakeup overhead 2023-09-08 15:52:23 +08:00
zwl
325bf39c89 feat(ble): enable adv report flow control on esp32c2 2023-09-07 16:27:50 +08:00
luomanruo
90da6ebfec change: print assert info before dump log 2023-09-05 15:10:54 +08:00
zwl
bd21c215c7 ble: supported trace function and adv report flow control on esp32c2 2023-08-31 12:02:00 +08:00
Island
261af82d1f Merge branch 'bugfix/ble_hci_issues_chain_mbuf_v5.1' into 'release/v5.1'
fix hci issues when chain mbuf exists

See merge request espressif/esp-idf!25532
2023-08-28 18:39:37 +08:00
luomanruo
6503758ec0 ble: Assert when getting memory fail 2023-08-25 12:25:33 +08:00
Island
48052e4d1f Merge branch 'bugfix/fix_current_issue_after_ble_init_5.1' into 'release/v5.1'
ble: move phy enabled/disable to controller enable/disable

See merge request espressif/esp-idf!25081
2023-08-25 10:25:11 +08:00
cjin
fa806d758a ble: move phy enabled/disable to controller enable/disable 2023-08-23 17:56:33 +08:00
luomanruo
dc4731101d c2 h2 c6 headfile re-organized
c2 c6 h2 cfg_t and addr_t documented

comments for controller_enable
2023-07-31 12:41:52 +08:00
cjin
7b70e2eb34 ble: fix cca for esp32c2 2023-07-06 14:05:43 +08:00
Island
43a67a5da3 Merge branch 'feature/esp32c2_enable_rf_temp_compensation_v5.1' into 'release/v5.1'
Feature/esp32c2 enable rf temp compensation v5.1

See merge request espressif/esp-idf!23730
2023-05-18 20:34:30 +08:00
zwl
c907f489d6 ble:fixed build error when disable smp 2023-05-16 16:08:54 +08:00
zwl
9b61156746 ble:esp32c2 add rf temperature compensation 2023-05-16 16:08:54 +08:00
Yuan Mingfu
7e49268933 bugfix: deinit ble for specifies ESP_BT_MODE_BTDM 2023-05-12 14:53:56 +08:00
Shen Weilong
aad3d8344b BLE: Add interface for QA test
Fix sleep crash issue
2023-03-29 20:02:56 +08:00
zwl
57c7310512 ble: Add assertion checking for bluedroid hci on ESP32-C2,ESP32-C6 and ESP32-H2 2023-03-09 20:02:23 +08:00
wangmengyang
2c4fc5d9ea bt: add coexistence internal API declarations and clean up some unused coexistence hooks 2023-02-26 06:58:18 +00:00
Jiang Jiang Jian
43f5f3d56d Merge branch 'bugfix/coex_enable_disable_not_in_pairs' into 'master'
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs

Closes BCI-317

See merge request espressif/esp-idf!21895
2023-01-18 17:01:02 +08:00
Shen Weilong
45aaeda1e3 modify bt sdkconfig to support bluedroid examples for esp32c6 2023-01-13 15:05:34 +08:00
zwl
06937271bb Optimized NPL Freertos API 2023-01-06 15:10:18 +08:00
wangmengyang
29610b8a1b bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3, ESP32-S3, ESP32-C2 and ESP32-C6 2023-01-05 12:34:49 +08:00
zwl
0b3490acd8 Optimized the number of npl on ESP32C2 2022-12-13 17:47:28 +08:00
zwl
46127774fa Unify controller internal error code on ESP32-C2 2022-12-09 15:23:44 +08:00
cjin
6d83c999c6 ble: remove redundant pm lock on ble 2022-12-09 15:23:44 +08:00
Shen Wei Long
67507baf37 Merge branch 'feature/add_comments_for_bt_connections_master' into 'master'
Explain how much memory that will be used by each connection/advertiser.

See merge request espressif/esp-idf!21321
2022-12-06 16:55:26 +08:00
Shen Weilong
b3d248df95 Explain how mush memory that will be used by each connection/advertiser. 2022-12-02 14:21:22 +08:00
liuning
d9ef6aed66 ci: fix esp_phy_modem_deinit issue 2022-11-30 16:39:40 +08:00
Jiang Jiang Jian
09231b4fa2 Merge branch 'bugfix/fix_failure_of_wifi_channel_configuration' into 'master'
phy: only set phy_init_flag at power domain off, when all modems deinit

Closes WIFI-4983

See merge request espressif/esp-idf!21235
2022-11-30 14:41:08 +08:00
zwl
81d6b8f011 Fixed interrupt latency when cache is disable on ESP32-C2 2022-11-29 16:29:32 +08:00
zwl
1732a6d044 Fixed memory leak when RAM free size is insufficient or setting ext scan parameters failed on ESP32-C2 2022-11-29 16:29:26 +08:00
liuning
b8d3553a1c phy: only set phy_init_flag at power domain off, when all modems deinit 2022-11-25 03:18:12 +00:00
Rahul Tank
7ca82b1b29 Support BLE memory release on ESP32C2 2022-10-27 18:00:01 +05:30
zwl
07d844f565 Fixed occasional crash during scanning 2022-10-13 11:48:50 +08:00
cjin
f289710ccf fix ble compilation error 2022-09-26 20:51:13 +08:00
cjin
872baad9b9 mbuf copy hci data error fix 2022-09-21 12:34:41 +00:00
zwl
16c8a369e6 fixed wifi can't be connected after enable bt sleep mode 2022-09-20 14:44:00 +08:00
zwl
f42eed9491 fixed ble can't enter light sleep 2022-09-20 12:08:09 +08:00
satish.solanke
77b8276578 Fix: blufi example memory leak while init and deinit 2022-09-19 10:17:50 +05:30
zwl
30e47072f9 add set/get txpwr api and fix issues such as disconnect and abnormal tx behavior for esp32c2 2022-08-29 11:32:18 +08:00
jingli
ee3423834e kconfig: refactor xtal freq kconfig to common configuration item 2022-08-05 19:12:29 +08:00
Shen Weilong
028d071e84 support BLE with 26M xtal for esp32c2 2022-07-29 21:36:33 +08:00
GengYuchao
07a470bccc Update ble lib for h2 beta1 2022-06-30 17:02:00 +08:00
GengYuchao
1dabebf771 Fix Kconfig format issue and add option 2022-06-20 17:00:12 +08:00