summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann2016-08-27 20:23:40 +0200
committerMarcel Holtmann2016-09-19 20:19:34 +0200
commit249fa1699f8642c73eb43e61b321969f0549ab2c (patch)
tree138dbc93e874fedf16f84a78065e9b6517d527f2 /include
parentBluetooth: Introduce helper to pack mgmt version information (diff)
downloadkernel-qcow2-linux-249fa1699f8642c73eb43e61b321969f0549ab2c.tar.gz
kernel-qcow2-linux-249fa1699f8642c73eb43e61b321969f0549ab2c.tar.xz
kernel-qcow2-linux-249fa1699f8642c73eb43e61b321969f0549ab2c.zip
Bluetooth: Add support for sending MGMT open and close to monitor
This sends new notifications to the monitor support whenever a management channel has been opened or closed. This allows tracing of control channels really easily. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci_mon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_mon.h b/include/net/bluetooth/hci_mon.h
index 587d0131b349..9640790cbbcc 100644
--- a/include/net/bluetooth/hci_mon.h
+++ b/include/net/bluetooth/hci_mon.h
@@ -45,6 +45,8 @@ struct hci_mon_hdr {
#define HCI_MON_VENDOR_DIAG 11
#define HCI_MON_SYSTEM_NOTE 12
#define HCI_MON_USER_LOGGING 13
+#define HCI_MON_CTRL_OPEN 14
+#define HCI_MON_CTRL_CLOSE 15
struct hci_mon_new_index {
__u8 type;