Bluetooth: Kconfig: Update buffer sizes for advertising extension
Update buffer sizes needed when advertising extensions is enabled. Since BT_RX_BUF_LEN is used for the HCI command as well we need to fit the full 255 bytes of the Set Extended Advertising Data or Scan Response Data plus the 3 byte header of an HCI command. For the discardable buffer size we need to fit the LE Extended Advertising Report event, which can be a maximum of 255 bytes plus the 2 byte header of an HCI event. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
886badc69e
commit
d9d0964fcc
1 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@ config BT_RX_BUF_COUNT
|
|||
config BT_RX_BUF_LEN
|
||||
int "Maximum supported HCI RX buffer length"
|
||||
default 264 if BT_BREDR
|
||||
default 258 if BT_EXT_ADV
|
||||
default 77 if BT_MESH_PROXY
|
||||
default 76
|
||||
range 73 2000
|
||||
|
@ -63,7 +64,7 @@ config BT_DISCARDABLE_BUF_COUNT
|
|||
config BT_DISCARDABLE_BUF_SIZE
|
||||
int "Size of discardable event buffers"
|
||||
range 45 257
|
||||
default 257 if BT_BREDR
|
||||
default 257 if BT_BREDR || BT_EXT_ADV
|
||||
default 45
|
||||
help
|
||||
Size of buffers in the separate discardable event buffer pool.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue