Thread (2 messages) 2 messages, 2 authors, 2021-05-07

Re: [PATCH v2 2/2] Bluetooth: Support the vendor specific debug events

flat view

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2021-05-07 08:36:02
Also in: linux-bluetooth, lkml

Hi Joseph,
This patch allows a user space process to enable/disable the vendor
specific (vs) debug events dynamically through the set experimental
feature mgmt interface if CONFIG_BT_FEATURE_VS_DBG_EVT is enabled.

Since the debug event feature needs to invoke the callback function
provided by the driver, i.e., hdev->set_vs_dbg_evt, a valid controller
index is required.

For generic Linux machines, the vendor specific debug events are
disabled by default.

Reviewed-by: Chethan Tumkur Narayan <redacted>
Reviewed-by: Kiran Krishnappa <redacted>
Reviewed-by: Miao-chen Chou <redacted>
Signed-off-by: Joseph Hwang <redacted>
---

(no changes since v1)

drivers/bluetooth/btintel.c      |  73 ++++++++++++++++++++-
drivers/bluetooth/btintel.h      |  13 ++++
drivers/bluetooth/btusb.c        |  16 +++++
include/net/bluetooth/hci.h      |   4 ++
include/net/bluetooth/hci_core.h |  10 +++
net/bluetooth/Kconfig            |  10 +++
net/bluetooth/mgmt.c             | 108 ++++++++++++++++++++++++++++++-
7 files changed, 232 insertions(+), 2 deletions(-)
maybe I forgot to mention this, we don’t intermix core changes with driver changes to support it.

You first need to introduce the core feature and then patch the driver to support it.

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help