summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-11-17 12:38:50 +0100
committerMarcel Holtmann <linux-mh.adm@bkbits.net>2004-11-17 12:38:50 +0100
commit4227e3a886a778c3074fcb837c5d4647a417a177 (patch)
tree9ca147bde7a12ad20c5c301dd33b2bfd78c718b6 /include
parent09f68b67f9dfccc1db8fcdc3275dc474fecdb40b (diff)
[Bluetooth] Add support for L2CAP secure mode
The secure mode requests an authentication and enables the encryption for that connection. After the successful execution of these procedures it triggers the generation of a new link key. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci.h2
-rw-r--r--include/net/bluetooth/l2cap.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index ba7d5ef2d2d5..6a2fde5bf873 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -170,6 +170,8 @@ enum {
#define HCI_LM_AUTH 0x0002
#define HCI_LM_ENCRYPT 0x0004
#define HCI_LM_TRUSTED 0x0008
+#define HCI_LM_RELIABLE 0x0010
+#define HCI_LM_SECURE 0x0020
/* ----- HCI Commands ---- */
/* OGF & OCF values */
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index bcbf4411bf69..39ca54fbd041 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -56,6 +56,8 @@ struct l2cap_conninfo {
#define L2CAP_LM_AUTH 0x0002
#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 {