From 3c9698114eb2b707d599f6fb8ec18c43bc61cb07 Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Wed, 27 Jul 2011 12:23:25 +0300 Subject: [PATCH] Add L2CAP EFS definitions These are needed e.g. by hcidump. --- lib/l2cap.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/l2cap.h b/lib/l2cap.h index bc87f7268..55fe88b15 100644 --- a/lib/l2cap.h +++ b/lib/l2cap.h @@ -159,6 +159,8 @@ typedef struct { #define L2CAP_CONF_UNACCEPT 0x0001 #define L2CAP_CONF_REJECT 0x0002 #define L2CAP_CONF_UNKNOWN 0x0003 +#define L2CAP_CONF_PENDING 0x0004 +#define L2CAP_CONF_EFS_REJECT 0x0005 typedef struct { uint8_t type; @@ -172,6 +174,7 @@ typedef struct { #define L2CAP_CONF_QOS 0x03 #define L2CAP_CONF_RFC 0x04 #define L2CAP_CONF_FCS 0x05 +#define L2CAP_CONF_EFS 0x06 #define L2CAP_CONF_MAX_SIZE 22 @@ -181,6 +184,10 @@ typedef struct { #define L2CAP_MODE_ERTM 0x03 #define L2CAP_MODE_STREAMING 0x04 +#define L2CAP_SERVTYPE_NOTRAFFIC 0x00 +#define L2CAP_SERVTYPE_BESTEFFORT 0x01 +#define L2CAP_SERVTYPE_GUARANTEED 0x02 + typedef struct { uint16_t dcid; uint16_t scid; -- 2.47.3