aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/aosp.c
Commit message (Collapse)AuthorAgeFilesLines
* Bluetooth: aosp: Fix typo in commentBastien Nocera2025-07-231-1/+1
| | | | | | | Found by codespell. Signed-off-by: Bastien Nocera <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
* Bluetooth: Fix null pointer deref on unexpected status eventSoenke Huster2022-08-091-3/+12
| | | | | | | | | | __hci_cmd_sync returns NULL if the controller responds with a status event. This is unexpected for the commands sent here, but on occurrence leads to null pointer dereferences and thus must be handled. Signed-off-by: Soenke Huster <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
* Bluetooth: aosp: Support AOSP Bluetooth Quality ReportJoseph Hwang2021-11-021-0/+87
| | | | | | | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Joseph Hwang <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
* Bluetooth: Add struct of reading AOSP vendor capabilitiesJoseph Hwang2021-11-021-1/+80
| | | | | | | | | | This patch adds the struct of reading AOSP vendor capabilities. New capabilities are added incrementally. Note that the version_supported octets will be used to determine whether a capability has been defined for the version. Signed-off-by: Joseph Hwang <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
* Bluetooth: Add support for reading AOSP vendor capabilitiesMarcel Holtmann2021-04-061-0/+35
When drivers indicate support for AOSP vendor extension, initialize them and read its capabilities. Signed-off-by: Marcel Holtmann <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>