Bluetooth: controller: Increase Rx & Tx buf cnt range in Kconfig

With the support for 2M PHY added, the controller can now Rx/Tx
upto 18/19 minimum sized L2CAP packets per 7.5ms connection
intervals.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2017-05-15 11:10:47 +02:00 committed by Johan Hedberg
commit e858f8db05

View file

@ -67,19 +67,23 @@ config BLUETOOTH_CONTROLLER_RX_BUFFERS
int int
default 1 default 1
default 6 if BLUETOOTH_HCI_RAW default 6 if BLUETOOTH_HCI_RAW
range 1 10 range 1 18
help help
Set the number of Rx PDUs to be buffered in the controller. Set the number of Rx PDUs to be buffered in the controller. In a 7.5ms
connection interval and 2M PHY, maximum 18 packets with L2CAP payload
size of 1 byte can be received.
config BLUETOOTH_CONTROLLER_TX_BUFFERS config BLUETOOTH_CONTROLLER_TX_BUFFERS
prompt "Number of Tx buffers" prompt "Number of Tx buffers"
int int
default 2 default 2
default 7 if BLUETOOTH_HCI_RAW default 7 if BLUETOOTH_HCI_RAW
range 1 10 range 1 19
help help
Set the number of Tx PDUs to be queued for transmission Set the number of Tx PDUs to be queued for transmission in the
in the controller. controller. In a 7.5ms connection interval and 2M PHY, maximum 19
packets can be enqueued, with 18 packets with L2CAP payload size of 1
byte can be acknowledged.
config BLUETOOTH_CONTROLLER_TX_BUFFER_SIZE config BLUETOOTH_CONTROLLER_TX_BUFFER_SIZE
prompt "Tx buffer size" prompt "Tx buffer size"