Bluetooth: Kconfig: Merge headroom reserve variables into a single one
A subsequent patch will start reusing HCI command buffers for receiving the response, so the distinction of received vs sent data headroom would just make the code unnecessarily complex. Instead, just merge these two variable into a single one. Change-Id: I31d846331939f1a2270df7ed0c75112825e16493 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
be139268b3
commit
743379c21f
10 changed files with 22 additions and 40 deletions
|
@ -86,9 +86,7 @@ config BLUETOOTH_SPI_DEV_NAME
|
|||
|
||||
# Headroom that the driver needs for sending and receiving buffers.
|
||||
# Add a new 'default' entry for each new driver.
|
||||
|
||||
# Needed headroom for outgoing buffers (to controller)
|
||||
config BLUETOOTH_HCI_SEND_RESERVE
|
||||
config BLUETOOTH_HCI_RESERVE
|
||||
int
|
||||
# Even if no driver is selected the following default is still
|
||||
# needed e.g. for unit tests.
|
||||
|
@ -97,15 +95,6 @@ config BLUETOOTH_HCI_SEND_RESERVE
|
|||
default 1 if BLUETOOTH_H5
|
||||
default 1 if BLUETOOTH_SPI
|
||||
|
||||
# Needed headroom for incoming buffers (from controller)
|
||||
config BLUETOOTH_HCI_RECV_RESERVE
|
||||
int
|
||||
# Even if no driver is selected the following default is still
|
||||
# needed e.g. for unit tests.
|
||||
default 0
|
||||
default 0 if BLUETOOTH_H4
|
||||
default 0 if BLUETOOTH_H5
|
||||
|
||||
if BLUETOOTH_SPI
|
||||
|
||||
config BLUETOOTH_SPI_BLUENRG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue