Bluetooth: Support the quality report events
authorJoseph Hwang <josephsih@chromium.org>
Sun, 15 Aug 2021 12:17:16 +0000 (20:17 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 30 Aug 2021 14:44:32 +0000 (16:44 +0200)
commitae7d925b5c0432c058fd175a70f1de6eee7a3f89
treeadbd33474c812688125f3669091fe3ecd10bd2fa
parent93fb70bc112e922def6e50b37e20ccfce0c67c0a
Bluetooth: Support the quality report events

This patch allows a user space process to enable/disable the quality
report events dynamically through the set experimental feature mgmt
interface.

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

Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Signed-off-by: Joseph Hwang <josephsih@chromium.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/mgmt.c