Bluetooth: Create protocol-specific outgoing ACL buffer pools
With this split we get better control of the buffer sizes and counts. We also anyway will need a fragments pool so a simple generic ACL_OUT pool doesn't make sense anymore. The related Kconfig options for that have been removed. Change-Id: I616cf49915a1cc0dc0ddc724e2e182bcbe0c80f6 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
1f6841c9c1
commit
b9d13664ab
8 changed files with 51 additions and 38 deletions
|
@ -102,22 +102,6 @@ config BLUETOOTH_ACL_IN_SIZE
|
|||
range 32 1300 if !BLUETOOTH_SMP
|
||||
help
|
||||
Maximum size of each incoming ACL data buffer.
|
||||
|
||||
config BLUETOOTH_ACL_OUT_COUNT
|
||||
int "Number of incoming ACL data buffers"
|
||||
default 5
|
||||
range 2 64
|
||||
help
|
||||
Number of buffers available for incoming ACL data.
|
||||
|
||||
config BLUETOOTH_ACL_OUT_SIZE
|
||||
int "Size of incoming ACL data buffers"
|
||||
default 74 if BLUETOOTH_SMP
|
||||
default 32 if !BLUETOOTH_SMP
|
||||
range 74 1300 if BLUETOOTH_SMP
|
||||
range 32 1300 if !BLUETOOTH_SMP
|
||||
help
|
||||
Maximum size of each outgoing ACL data buffer.
|
||||
endif # BLUETOOTH_CONN
|
||||
|
||||
if BLUETOOTH_PERIPHERAL || BLUETOOTH_CENTRAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue