summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-10-06 17:39:53 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-10-06 17:39:53 +0000
commita867781820a4b7a85031c54fe38399c33affdb9c (patch)
tree4d070263005090a0ad5bc4be86c4b54efd5f94bc
parent4454737ea24db7e7f99c5c6f305c3d802c27b12a (diff)
Add support for the kernel security manager
-rw-r--r--include/hci.h6
-rw-r--r--src/hci.c1
2 files changed, 6 insertions, 1 deletions
diff --git a/include/hci.h b/include/hci.h
index 6cc7e4bd..6cabc0b4 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -70,7 +70,9 @@ enum {
HCI_ENCRYPT,
HCI_INQUIRY,
- HCI_RAW
+ HCI_RAW,
+
+ HCI_SECMGR
};
/* HCI ioctl defines */
@@ -94,6 +96,8 @@ enum {
#define HCISETACLMTU _IOW('H', 227, int)
#define HCISETSCOMTU _IOW('H', 228, int)
+#define HCISETSECMGR _IOW('H', 230, int)
+
#define HCIINQUIRY _IOR('H', 240, int)
/* HCI timeouts */
diff --git a/src/hci.c b/src/hci.c
index 5acbe7cd..43baa7b7 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -173,6 +173,7 @@ static hci_map dev_flags_map[] = {
{ "INQUIRY", HCI_INQUIRY },
{ "AUTH", HCI_AUTH },
{ "ENCRYPT", HCI_ENCRYPT },
+ { "SECMGR", HCI_SECMGR },
{ NULL }
};