From 7a3a199ad5aa143d44f6dd08b4e639fbfd653f9a Mon Sep 17 00:00:00 2001 From: Oliver Ruiz Dorantes Date: Sat, 22 Nov 2008 10:30:38 +0000 Subject: [PATCH] Add flags to handle the status of the configuration of the channel git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28716 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/bluetooth/l2cap.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/headers/private/bluetooth/l2cap.h b/headers/private/bluetooth/l2cap.h index a428d0c19f..19085ce0ef 100644 --- a/headers/private/bluetooth/l2cap.h +++ b/headers/private/bluetooth/l2cap.h @@ -131,6 +131,12 @@ #define L2CAP_OPT_QOS_SIZE sizeof(l2cap_flow_t) /* 0x4 - 0xff - reserved for future use */ +#define L2CAP_CFG_IN (1 << 0) /* incoming path done */ +#define L2CAP_CFG_OUT (1 << 1) /* outgoing path done */ +#define L2CAP_CFG_BOTH (L2CAP_CFG_IN | L2CAP_CFG_OUT) +#define L2CAP_CFG_IN_SENT (1 << 2) /* L2CAP ConfigReq sent */ +#define L2CAP_CFG_OUT_SENT (1 << 3) /* ---/--- */ + /* L2CAP Information request type codes */ #define L2CAP_CONNLESS_MTU 0x0001 #define L2CAP_EXTENDED_MASK 0x0002