aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_mon.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-11-08 07:47:12 +0100
committerMarcel Holtmann <marcel@holtmann.org>2015-11-19 17:50:28 +0100
commitdd31506d4aece48943802c2bca3f1f7d2e7266b4 (patch)
treedae7f28b77d4234dab2cd8ff616b3935088021d6 /include/net/bluetooth/hci_mon.h
parentBluetooth: Fix casting coding style within HCI sockets (diff)
downloadlinux-dev-dd31506d4aece48943802c2bca3f1f7d2e7266b4.tar.xz
linux-dev-dd31506d4aece48943802c2bca3f1f7d2e7266b4.zip
Bluetooth: Add support for sending system notes to monitor channel
The monitor channel can be used to send generic system notes as text strings for debugging purposes. This adds the system note monitor code and uses it for including kernel and subsystem version into traces. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/hci_mon.h')
-rw-r--r--include/net/bluetooth/hci_mon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_mon.h b/include/net/bluetooth/hci_mon.h
index 2b67567cf28d..c91bb23eb29e 100644
--- a/include/net/bluetooth/hci_mon.h
+++ b/include/net/bluetooth/hci_mon.h
@@ -43,6 +43,7 @@ struct hci_mon_hdr {
#define HCI_MON_CLOSE_INDEX 9
#define HCI_MON_INDEX_INFO 10
#define HCI_MON_VENDOR_DIAG 11
+#define HCI_MON_SYSTEM_NOTE 12
struct hci_mon_new_index {
__u8 type;