[PATCH v3 0/2] btusb: Introduce the use of vendor extension(s)
From: Miao-chen Chou
Date: Thu Mar 26 2020 - 03:59:48 EST
Hi Marcel and Luiz,
The standard HCI does not provide commands/events regarding to
advertisement monitoring with content filter while there are few vendors
providing this feature. Chrome OS BT would like to introduce the use of
vendor specific features where Microsoft vendor extension is targeted at
this moment.
Chrome OS BT would like to utilize Microsoft vendor extension's
advertisement monitoring feature which is not yet a part of standard
Bluetooth specification. This series introduces the driver information for
Microsoft vendor extension, and this was verified with kernel 4.4 on Atlas
Chromebook.
Thanks
Miao
Changes in v3:
- Create net/bluetooth/msft.c with struct msft_vnd_ext defined internally
and change the hdev->msft_ext field to void*.
- Define and expose msft_vnd_ext_set_opcode() for btusb use.
- Init hdev->msft_ext in hci_alloc_dev() and deinit it in hci_free_dev().
- Introduce msft_vnd_ext_do_open() and msft_vnd_ext_do_close().
Miao-chen Chou (2):
Bluetooth: btusb: Indicate Microsoft vendor extension for Intel
9460/9560 and 9160/9260
Bluetooth: btusb: Read the supported features of Microsoft vendor
extension
drivers/bluetooth/btusb.c | 10 ++-
include/net/bluetooth/hci_core.h | 4 ++
net/bluetooth/hci_core.c | 120 +++++++++++++++++++++++++++++++
net/bluetooth/msft.c | 52 ++++++++++++++
4 files changed, 184 insertions(+), 2 deletions(-)
create mode 100644 net/bluetooth/msft.c
--
2.24.1