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 09:51:13 +0300 |
commit | e875ff84079b9e7d3ce24b97e3396230d41044d4 (patch) | |
tree | 2baf3fcac740ab8b97238fa66b3cfa56f635050f /include/net/bluetooth/hci_core.h | |
parent | 6c566dd5a1253f73458ce6ba6cf3830e9d38c132 (diff) | |
download | op-kernel-dev-e875ff84079b9e7d3ce24b97e3396230d41044d4.zip op-kernel-dev-e875ff84079b9e7d3ce24b97e3396230d41044d4.tar.gz |
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_core.h')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 61dc786..d473b67 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -1066,6 +1066,7 @@ int hci_remove_adv_instance(struct hci_dev *hdev, u8 instance); void hci_event_packet(struct hci_dev *hdev, struct sk_buff *skb); int hci_recv_frame(struct hci_dev *hdev, struct sk_buff *skb); +int hci_recv_diag(struct hci_dev *hdev, struct sk_buff *skb); void hci_init_sysfs(struct hci_dev *hdev); void hci_conn_init_sysfs(struct hci_conn *conn); |