Bluetooth: Fine-tune default incoming ACL buffer count
In some SMP + GATT scenarios it's possible we get up to 6 incoming ACL packets. To handle these efficiently, and more importantly, to not have to drop data if the controller lacks host flow control (as is the case currently with Zephyr-based controllers), increase the default from 5 to 6. For a controller-build it makes sense to just match up with the controller-side configured RX buffers. Change-Id: Id44fa724597b88a51f9085dac009e8d84a439bfc Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
b64e0d4c51
commit
e4c5c96a16
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ config BLUETOOTH_UART_TO_HOST_DEV_NAME
|
|||
if BLUETOOTH_CONN || BLUETOOTH_HCI_RAW
|
||||
config BLUETOOTH_ACL_IN_COUNT
|
||||
int "Number of incoming ACL data buffers"
|
||||
default 5
|
||||
default BLUETOOTH_CONTROLLER_RX_BUFFERS if BLUETOOTH_CONTROLLER
|
||||
default 6
|
||||
range 2 64
|
||||
help
|
||||
Number of buffers available for incoming ACL data.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue