Bluetooth: Support querying for WBS support through MGMT

This patch provides a mechanism for MGMT interface client to query the
capability of the controller to support WBS.

Signed-off-by: Alain Michaud <alainm@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Alain Michaud
2020-02-27 18:29:39 +00:00
committed by Marcel Holtmann
parent 3e4e3f73b9
commit 4b127bd5f2
4 changed files with 18 additions and 1 deletions

View File

@@ -762,6 +762,10 @@ static u32 get_supported_settings(struct hci_dev *hdev)
if (lmp_sc_capable(hdev))
settings |= MGMT_SETTING_SECURE_CONN;
if (test_bit(HCI_QUIRK_WIDE_BAND_SPEECH_SUPPORTED,
&hdev->quirks))
settings |= MGMT_SETTING_WIDE_BAND_SPEECH;
}
if (lmp_le_capable(hdev)) {