Commit Graph

2 Commits

Author SHA1 Message Date
Gopal Tiwari 3375c0161f Bluetooth: aosp: Support AOSP Bluetooth Quality Report
Bugzilla: http://bugzilla.redhat.com/2066188

commit 258f56d11bbbf39df5bc5faf0119d28be528f27d
Author: Joseph Hwang <josephsih@chromium.org>
Date:   Tue Nov 2 15:19:29 2021 +0800

    Bluetooth: aosp: Support AOSP Bluetooth Quality Report

    This patch adds the support of the AOSP Bluetooth Quality Report
    (BQR) events.

    Multiple vendors have supported the AOSP Bluetooth Quality Report.
    When a Bluetooth controller supports the capability, it can enable
    the aosp capability through hci_set_aosp_capable. Then hci_core will
    set up the hdev->aosp_set_quality_report callback through aosp_do_open
    if the controller responds to support the quality report capability.

    Note that Intel also supports a distinct telemetry quality report
    specification. Intel sets up the hdev->set_quality_report callback
    in the btusb driver module.

    Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
    Signed-off-by: Joseph Hwang <josephsih@chromium.org>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

Signed-off-by: Gopal Tiwari <gtiwari@redhat.com>
2022-04-27 11:49:01 +05:30
Marcel Holtmann f67743f9e0 Bluetooth: Add support for reading AOSP vendor capabilities
When drivers indicate support for AOSP vendor extension, initialize them
and read its capabilities.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2021-04-06 14:11:23 -07:00