zephyr/net/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
..
att.c Bluetooth: Add skeleton for Attribute Protocol handling 2016-02-05 20:13:49 -05:00
att.h Bluetooth: Add skeleton for Attribute Protocol handling 2016-02-05 20:13:49 -05:00
buf.c Bluetooth: Add support for reporting completed ACL buffers 2016-02-05 20:13:50 -05:00
conn.c Bluetooth: Introduce dummy data type 2016-02-05 20:13:50 -05:00
conn.h Bluetooth: Add connection abstration 2016-02-05 20:13:49 -05:00
hci_core.c Bluetooth: Add support for reporting completed ACL buffers 2016-02-05 20:13:50 -05:00
hci_core.h Bluetooth: Export HCI command sending APIs internally 2016-02-05 20:13:50 -05:00
l2cap.c Bluetooth: Add skeleton for Attribute Protocol handling 2016-02-05 20:13:49 -05:00
l2cap.h Bluetooth: Add basic L2CAP support 2016-02-05 20:13:49 -05:00