Skip to content
Commit d6741632 authored by Johan Hedberg's avatar Johan Hedberg Committed by Carles Cufí
Browse files

Bluetooth: hci_raw: Add support for specifying buffer headroom



The HCI transport implemented by an application using the HCI raw
interface may have its own buffer headroom requirements. Currently the
available headroom gets completely determined by the selected HCI
driver. E.g. most of the time this is the native controller driver
which doesn't reserve any headroom at all.

To cover for the needs of HCI raw users, add a new Kconfig variable
for the apps to set to whatever they need. Correspondingly, use the
maximum of the HCI driver and HCI raw headroom requirements for the
buffer pool definitions and the headroom initializations.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 2dd2da0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment