From 910b296d72674efdb9ad87782d1796daa1dac192 Mon Sep 17 00:00:00 2001 From: Geng Yuchao Date: Sat, 4 Jun 2022 11:35:18 +0800 Subject: [PATCH] Add missing configuration items for BLE controller --- components/bt/controller/esp32c2/Kconfig.in | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/components/bt/controller/esp32c2/Kconfig.in b/components/bt/controller/esp32c2/Kconfig.in index 6a2540f9b0..e8021a8501 100644 --- a/components/bt/controller/esp32c2/Kconfig.in +++ b/components/bt/controller/esp32c2/Kconfig.in @@ -101,6 +101,34 @@ config BT_LE_LL_CFG_FEAT_LE_ENCRYPTION menu "Memory Settings" depends on !BT_NIMBLE_ENABLED + + config BT_LE_MSYS_1_BLOCK_COUNT + int "MSYS_1 Block Count" + default 12 + help + MSYS is a system level mbuf registry. For prepare write & prepare + responses MBUFs are allocated out of msys_1 pool. For NIMBLE_MESH + enabled cases, this block count is increased by 8 than user defined + count. + + config BT_LE_MSYS_1_BLOCK_SIZE + int "MSYS_1 Block Size" + default 256 + help + Dynamic memory size of block 1 + + config BT_LE_MSYS_2_BLOCK_COUNT + int "MSYS_2 Block Count" + default 24 + help + Dynamic memory count + + config BT_LE_MSYS_2_BLOCK_SIZE + int "MSYS_2 Block Size" + default 320 + help + Dynamic memory size of block 2 + config BT_LE_ACL_BUF_COUNT int "ACL Buffer count" default 24