summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-11-09 12:46:34 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-11-09 12:46:34 +0000
commit5106bfbab293c6168eeb0f036a37efc548a632b4 (patch)
tree44d64cb0ba2b13c021001177e148711b8059233b /include
parentc3b2524a78dc4d27025f6cd3c8f4c56f5de012ee (diff)
Add definition for the SECURE link mode
Diffstat (limited to 'include')
-rw-r--r--include/hci.h1
-rw-r--r--include/l2cap.h1
-rw-r--r--include/rfcomm.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h
index e7f04596..5e874e07 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -267,6 +267,7 @@ enum {
#define HCI_LM_ENCRYPT 0x0004
#define HCI_LM_TRUSTED 0x0008
#define HCI_LM_RELIABLE 0x0010
+#define HCI_LM_SECURE 0x0020
/* ----- HCI Commands ----- */
diff --git a/include/l2cap.h b/include/l2cap.h
index e76f9020..025d0f66 100644
--- a/include/l2cap.h
+++ b/include/l2cap.h
@@ -67,6 +67,7 @@ struct l2cap_conninfo {
#define L2CAP_LM_ENCRYPT 0x0004
#define L2CAP_LM_TRUSTED 0x0008
#define L2CAP_LM_RELIABLE 0x0010
+#define L2CAP_LM_SECURE 0x0020
#define L2CAP_QOS 0x04
struct l2cap_qos {
diff --git a/include/rfcomm.h b/include/rfcomm.h
index 8cb8ac47..02775d50 100644
--- a/include/rfcomm.h
+++ b/include/rfcomm.h
@@ -56,6 +56,7 @@ struct sockaddr_rc {
#define RFCOMM_LM_ENCRYPT 0x0004
#define RFCOMM_LM_TRUSTED 0x0008
#define RFCOMM_LM_RELIABLE 0x0010
+#define RFCOMM_LM_SECURE 0x0020
/* RFCOMM TTY support */
#define RFCOMM_MAX_DEV 256