Bluetooth: Use macro for L2CAP hint mask on receiving config request
[pandora-kernel.git] / include / net / bluetooth / l2cap.h
index f566aa1..300b63f 100644 (file)
@@ -106,6 +106,12 @@ struct l2cap_conn_rsp {
        __le16     status;
 } __attribute__ ((packed));
 
+/* channel indentifier */
+#define L2CAP_CID_SIGNALING    0x0001
+#define L2CAP_CID_CONN_LESS    0x0002
+#define L2CAP_CID_DYN_START    0x0040
+#define L2CAP_CID_DYN_END      0xffff
+
 /* connect result */
 #define L2CAP_CR_SUCCESS    0x0000
 #define L2CAP_CR_PEND       0x0001
@@ -143,6 +149,8 @@ struct l2cap_conf_opt {
 } __attribute__ ((packed));
 #define L2CAP_CONF_OPT_SIZE    2
 
+#define L2CAP_CONF_HINT                0x80
+
 #define L2CAP_CONF_MTU         0x01
 #define L2CAP_CONF_FLUSH_TO    0x02
 #define L2CAP_CONF_QOS         0x03