From 5106bfbab293c6168eeb0f036a37efc548a632b4 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 9 Nov 2004 12:46:34 +0000 Subject: Add definition for the SECURE link mode --- include/hci.h | 1 + include/l2cap.h | 1 + include/rfcomm.h | 1 + 3 files changed, 3 insertions(+) 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 -- cgit