aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-08-27 00:40:51 -0400
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-09-16 13:35:55 -0400
commit0736cfa8e5bb7ee1d7b7d28aabe634fd3f85cb92 (patch)
tree849bd355b3451bbf6a1b3b7b01fa11ce3c09e153 /include
parentc1c4f9567040c5677828142f52b55422886bd62c (diff)
Bluetooth: Introduce user channel flag for HCI devices
This patch introduces a new user channel flag that allows to give full control of a HCI device to a user application. The kernel will stay away from the device and does not allow any further modifications of the device states. The existing raw flag is not used since it has a bit of unclear meaning due to its legacy. Using a new flag makes the code clearer. A device with the user channel flag set can still be enumerate using the legacy API, but it does not longer enumerate using the new management interface used by BlueZ 5 and beyond. This is intentional to not confuse users of modern systems. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index aaeaf0938ec0..128157db0680 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -109,6 +109,7 @@ enum {
109 HCI_SERVICE_CACHE, 109 HCI_SERVICE_CACHE,
110 HCI_DEBUG_KEYS, 110 HCI_DEBUG_KEYS,
111 HCI_UNREGISTER, 111 HCI_UNREGISTER,
112 HCI_USER_CHANNEL,
112 113
113 HCI_LE_SCAN, 114 HCI_LE_SCAN,
114 HCI_SSP_ENABLED, 115 HCI_SSP_ENABLED,