From 7678cdaa100bfe617b183eb6253fd05f8c62b450 Mon Sep 17 00:00:00 2001 From: Andries Kruithof Date: Fri, 14 Oct 2022 12:26:08 +0200 Subject: [PATCH] Bluetooth: controller: llcp: increase memory for procedures The default number of buffers (contexts) for locally initiated procedures was 4. Per default the host initiates 3 procedures when opening a connection, allowing the application to initiate only 1 additional procedure in parallel. This commit increases the default to 6, if auto phy-update and dle is enabled, increasing the robustness for an application. Signed-off-by: Andries Kruithof --- subsys/bluetooth/controller/Kconfig.ll_sw_split | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/controller/Kconfig.ll_sw_split b/subsys/bluetooth/controller/Kconfig.ll_sw_split index 11e5cc86e2a..e947e835c51 100644 --- a/subsys/bluetooth/controller/Kconfig.ll_sw_split +++ b/subsys/bluetooth/controller/Kconfig.ll_sw_split @@ -615,7 +615,7 @@ config BT_CTLR_LLCP_COMMON_TX_CTRL_BUF_NUM config BT_CTLR_LLCP_LOCAL_PROC_CTX_BUF_NUM int "Number of local control procedure contexts to be available across all connections" - default 4 if (BT_AUTO_PHY_UPDATE=y || BT_AUTO_DATA_LEN_UPDATE=y) && BT_CTLR_LLCP_CONN < 4 + default 6 if (BT_AUTO_PHY_UPDATE=y || BT_AUTO_DATA_LEN_UPDATE=y) && BT_CTLR_LLCP_CONN < 4 default 2 if BT_CTLR_LLCP_CONN = 1 default BT_CTLR_LLCP_CONN if BT_CTLR_LLCP_CONN > 1 range 2 255