From 18171bc77445d06c72cc477db8b53989aed87b05 Mon Sep 17 00:00:00 2001 From: Rubin Gerritsen Date: Tue, 1 Feb 2022 09:47:33 +0100 Subject: [PATCH] Bluetooth: Host: Non-discardable event buffer size is 255 for ext adv After https://github.com/zephyrproject-rtos/zephyr/pull/41337, extended advertising reports are no longer discardable. Ensure the non-discardable events are large enough. Signed-off-by: Rubin Gerritsen --- subsys/bluetooth/common/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subsys/bluetooth/common/Kconfig b/subsys/bluetooth/common/Kconfig index 3e9f63a4bb9..aaa9362ebe3 100644 --- a/subsys/bluetooth/common/Kconfig +++ b/subsys/bluetooth/common/Kconfig @@ -109,7 +109,7 @@ config BT_BUF_ACL_RX_COUNT config BT_BUF_EVT_RX_SIZE int "Maximum supported HCI Event buffer length" - default 255 if (BT_EXT_ADV && !(BT_BUF_EVT_DISCARDABLE_COUNT > 0)) || BT_PER_ADV_SYNC || BT_DF_CONNECTION_CTE_RX + default 255 if (BT_EXT_ADV && BT_OBSERVER) || BT_PER_ADV_SYNC || BT_DF_CONNECTION_CTE_RX # LE Read Supported Commands command complete event. default 68 range 68 255 @@ -136,7 +136,7 @@ config BT_BUF_EVT_DISCARDABLE_SIZE int "Maximum supported discardable HCI Event buffer length" range 43 255 # LE Extended Advertising Report event - default 255 if BT_BREDR || BT_EXT_ADV + default 255 if BT_BREDR # Le Advertising Report event default 43 help