OSDN Git Service

Bluetooth: Add handler of MGMT_OP_READ_ADV_MONITOR_FEATURES
authorMiao-chen Chou <mcchou@chromium.org>
Wed, 17 Jun 2020 14:39:13 +0000 (16:39 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 18 Jun 2020 10:11:21 +0000 (13:11 +0300)
commite5e1e7fd470ccf2eb38ab7fb5a3ab0fc4792fe53
treeb5d19260ba64fd523eee4d7c5627bea13d761e6c
parent7fceb17c6b480e0f2bd0e566a8231039fb8a809e
Bluetooth: Add handler of MGMT_OP_READ_ADV_MONITOR_FEATURES

This adds the request handler of MGMT_OP_READ_ADV_MONITOR_FEATURES
command. Since the controller-based monitoring is not yet in place, this
report only the supported features but not the enabled features.

The following test was performed.
- Issuing btmgmt advmon-features.

Signed-off-by: Miao-chen Chou <mcchou@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/mgmt.c
net/bluetooth/msft.c
net/bluetooth/msft.h