zephyr/include/bluetooth
Johan Hedberg 041c84c3e6 Bluetooth: Introduce dummy data type
We're already sending 'dummy' buffers to wake up the connection
fibers. The problem is that if we provide a real buffer type it may
have unintended consequences. E.g. with BT_ACL_OUT when bt_buf_put()
is called it may trigger an invalid HCI_Host_Num_Completed_Packets
command.

This patch creates a new BT_DUMMY buffer type to avoid this scenario.
The new type is an alias for BT_CMD since the pool where these buffers
come from is not quota-controlled and synced up with the controller.

Change-Id: I42ac235811dc242345853f7858c10bfc43e4f07d
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-02-05 20:13:50 -05:00
..
bluetooth.h Bluetooth: Move buffer handling into a dedicated file 2016-02-05 20:13:50 -05:00
buf.h Bluetooth: Introduce dummy data type 2016-02-05 20:13:50 -05:00
hci.h Bluetooth: Add support for reporting completed ACL buffers 2016-02-05 20:13:50 -05:00