From a80f5b208176b89ce2e3668a287f8ef0034a2fce Mon Sep 17 00:00:00 2001 From: Andrzej Kaczmarek Date: Wed, 11 Aug 2021 14:58:05 +0200 Subject: [PATCH] Bluetooth: Controller: Set default HCI event size with per adv Periodic advertising reports can have 255 bytes of payload so need to use that value by default if periodic advertising is enabled. Signed-off-by: Andrzej Kaczmarek --- subsys/bluetooth/common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/common/Kconfig b/subsys/bluetooth/common/Kconfig index 93e7ee96c56..5ed56afcd94 100644 --- a/subsys/bluetooth/common/Kconfig +++ b/subsys/bluetooth/common/Kconfig @@ -111,7 +111,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)) + default 255 if (BT_EXT_ADV && !(BT_BUF_EVT_DISCARDABLE_COUNT > 0)) || BT_PER_ADV # LE Read Supported Commands command complete event. default 68 range 68 255