Bluetooth: Remove BT_HCI_RESERVE and BT_HCI_RAW_RESERVE

In most cases these were defined as 1. Saving one byte for the rest
doesn't really justify the added complexity that comes with these
options. Removing them also simplifies the interface between HCI
transports/drivers and the host stack, which in turn helps pave the way
for having HCI as a proper Zephyr driver API.

Fixes #71907

Signed-off-by: Johan Hedberg <johan.hedberg@gmail.com>
This commit is contained in:
Johan Hedberg 2024-04-25 09:50:10 +03:00 committed by Carles Cufí
commit d590bcb5e0
20 changed files with 5 additions and 51 deletions

View file

@ -10,7 +10,6 @@ CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_RESERVE=1
CONFIG_BT_MAX_CONN=2
# Workaround: Unable to allocate command buffer when using K_NO_WAIT since

View file

@ -8,7 +8,6 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512
CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_RESERVE=1
CONFIG_BT_MAX_CONN=16

View file

@ -10,7 +10,6 @@ CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_RESERVE=1
CONFIG_BT_MAX_CONN=2
# Workaround: Unable to allocate command buffer when using K_NO_WAIT since

View file

@ -10,7 +10,6 @@ CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_RESERVE=1
CONFIG_BT_MAX_CONN=2
# Workaround: Unable to allocate command buffer when using K_NO_WAIT since

View file

@ -11,7 +11,6 @@ CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_RESERVE=1
CONFIG_BT_MAX_CONN=2
# Workaround: Unable to allocate command buffer when using K_NO_WAIT since

View file

@ -10,7 +10,6 @@ CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_RESERVE=1
# Workaround: Unable to allocate command buffer when using K_NO_WAIT since
# Host number of completed commands does not follow normal flow control.

View file

@ -10,7 +10,6 @@ CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_RESERVE=1
# Workaround: Unable to allocate command buffer when using K_NO_WAIT since
# Host number of completed commands does not follow normal flow control.

View file

@ -10,7 +10,6 @@ CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_RESERVE=1
# Workaround: Unable to allocate command buffer when using K_NO_WAIT since
# Host number of completed commands does not follow normal flow control.

View file

@ -10,7 +10,6 @@ CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_RESERVE=1
# Workaround: Unable to allocate command buffer when using K_NO_WAIT since
# Host number of completed commands does not follow normal flow control.

View file

@ -8,7 +8,6 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512
CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_RESERVE=1
CONFIG_BT_MAX_CONN=16

View file

@ -6,7 +6,6 @@ CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_MAX_CONN=16
CONFIG_BT_TINYCRYPT_ECC=n
CONFIG_BT_HCI_RAW_RESERVE=1
# Workaround: Unable to allocate command buffer when using K_NO_WAIT since
# Host number of completed commands does not follow normal flow control.