Bluetooth: flushable packet supports headers

Modify headers to enable support for flushable packets. Following
commit: 8bcbd526c84724d8de087130d53e79da256e34bf to linux kernel
implements functionality on kernel side.
This commit is contained in:
Andrei Emeltchenko 2011-01-25 11:45:47 +02:00 committed by Johan Hedberg
parent 06ee7ea71b
commit 2430512c98
2 changed files with 6 additions and 0 deletions

View File

@ -70,6 +70,11 @@ struct bt_security {
#define BT_DEFER_SETUP 7
#define BT_FLUSHABLE 8
#define BT_FLUSHABLE_OFF 0
#define BT_FLUSHABLE_ON 1
/* Connection and socket states */
enum {
BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */

View File

@ -196,6 +196,7 @@ enum {
#define HCI_HOST_BUSY_PAIRING 0x38
/* ACL flags */
#define ACL_START_NO_FLUSH 0x00
#define ACL_CONT 0x01
#define ACL_START 0x02
#define ACL_ACTIVE_BCAST 0x04