[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201203102936.4049556-1-apusaka@google.com>
Date: Thu, 3 Dec 2020 18:29:30 +0800
From: Archie Pusaka <apusaka@...gle.com>
To: linux-bluetooth <linux-bluetooth@...r.kernel.org>,
Marcel Holtmann <marcel@...tmann.org>
Cc: CrosBT Upstreaming <chromeos-bluetooth-upstreaming@...omium.org>,
Archie Pusaka <apusaka@...omium.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Johan Hedberg <johan.hedberg@...il.com>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: [PATCH v1 0/5] MSFT offloading support for advertisement monitor
From: Archie Pusaka <apusaka@...omium.org>
Hi linux-bluetooth,
This series of patches manages the hardware offloading part of MSFT
extension API. The full documentation can be accessed by this link:
https://docs.microsoft.com/en-us/windows-hardware/drivers/bluetooth/microsoft-defined-bluetooth-hci-commands-and-events
Only four of the HCI commands are planned to be implemented:
HCI_VS_MSFT_Read_Supported_Features (implemented in previous patch),
HCI_VS_MSFT_LE_Monitor_Advertisement,
HCI_VS_MSFT_LE_Cancel_Monitor_Advertisement, and
HCI_VS_MSFT_LE_Set_Advertisement_Filter_Enable.
These are the commands which would be used for advertisement monitor
feature. Only if the controller supports the MSFT extension would
these commands be sent. Otherwise, software-based monitoring would be
performed in the user space instead.
Thanks in advance for your feedback!
Archie
Archie Pusaka (5):
Bluetooth: advmon offload MSFT add rssi support
Bluetooth: advmon offload MSFT add monitor
Bluetooth: advmon offload MSFT remove monitor
Bluetooth: advmon offload MSFT handle controller reset
Bluetooth: advmon offload MSFT handle filter enablement
include/net/bluetooth/hci_core.h | 34 ++-
include/net/bluetooth/mgmt.h | 9 +
net/bluetooth/hci_core.c | 173 +++++++++---
net/bluetooth/mgmt.c | 263 +++++++++++++-----
net/bluetooth/msft.c | 456 ++++++++++++++++++++++++++++++-
net/bluetooth/msft.h | 27 ++
6 files changed, 853 insertions(+), 109 deletions(-)
--
2.29.2.454.gaff20da3a2-goog
Powered by blists - more mailing lists