Skip to content

Commit

Permalink
Bluetooth: Host: Non-discardable event buffer size is 255 for ext adv
Browse files Browse the repository at this point in the history
After zephyrproject-rtos#41337, extended
advertising reports are no longer discardable. Ensure the
non-discardable events are large enough.

Signed-off-by: Rubin Gerritsen <[email protected]>
  • Loading branch information
rugeGerritsen authored and carlescufi committed Feb 7, 2022
1 parent d54ae95 commit 18171bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subsys/bluetooth/common/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 18171bc

Please sign in to comment.