Bluetooth: Add support for sending MGMT open and close to monitor
Subsystems (2)
Marcel Holtmann
maintainerPATCH 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.
Signed-off-by Marcel Holtmann <[email protected]>
--- 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
@@ -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 15struct 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