diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-10-07 16:38:35 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-10-08 08:51:13 +0200 |
commit | e875ff84079b9e7d3ce24b97e3396230d41044d4 (patch) | |
tree | 2baf3fcac740ab8b97238fa66b3cfa56f635050f /include/net/bluetooth/hci_mon.h | |
parent | Bluetooth: Send index information updates to monitor channel (diff) | |
download | linux-e875ff84079b9e7d3ce24b97e3396230d41044d4.tar.xz linux-e875ff84079b9e7d3ce24b97e3396230d41044d4.zip |
Bluetooth: Add support for vendor specific diagnostic channel
Introduce hci_recv_diag function for HCI drivers to allow sending vendor
specific diagnostic messages into the Bluetooth core stack. The messages
are not processed, but they are forwarded to the monitor channel and can
be retrieved by user space diagnostic tools.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_mon.h b/include/net/bluetooth/hci_mon.h index 842bb754a078..2b67567cf28d 100644 --- a/include/net/bluetooth/hci_mon.h +++ b/include/net/bluetooth/hci_mon.h @@ -42,6 +42,7 @@ struct hci_mon_hdr { #define HCI_MON_OPEN_INDEX 8 #define HCI_MON_CLOSE_INDEX 9 #define HCI_MON_INDEX_INFO 10 +#define HCI_MON_VENDOR_DIAG 11 struct hci_mon_new_index { __u8 type; |