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 <andrzej.kaczmarek@codecoup.pl>
This commit is contained in:
Andrzej Kaczmarek 2021-08-11 14:58:05 +02:00 committed by Anas Nashif
commit a80f5b2081

View file

@ -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