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:
Johan Hedberg 2015-11-05 21:01:20 +02:00 committed by Anas Nashif
commit b9d13664ab
8 changed files with 51 additions and 38 deletions

View file

@ -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