Skip to contentSkip to conversation

Bluetooth: Add support for sending MGMT open and close to monitor

PATCH In review Marcel Holtmann 1 participant 1 message Aug 27, 2016

Subsystems (2)
lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 4/5 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.

---
 include/net/bluetooth/hci_mon.h |  2 +
 net/bluetooth/hci_sock.c        | 95 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)
include/net/bluetooth/hci_mon.h +2 -0
index 587d0131b349..9640790cbbcc 100644
@@ -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;
net/bluetooth/hci_sock.c +95 -0

137 lines not on this page · raw message

Signature · 1 line
2.7.4