summaryrefslogtreecommitdiff
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorMichael Sun <michaelfsun@google.com>2021-07-29 10:10:59 -0700
committerMarcel Holtmann <marcel@holtmann.org>2021-07-29 21:11:35 +0200
commitcbe6a0441315dfc0d6db62da3904d5f6d5747fab (patch)
tree672b21d1da8b31bcb5184627f810fb643bad7fed /drivers/bluetooth
parent340cd23d9dec58b1b07ecaa205a161faf50eab8a (diff)
Bluetooth: btusb: Enable MSFT extension for WCN6855 controller
The Qualcomm WCN6855 Bluetooth controller supports the Microsoft vendor extension, enable them by setting VsMsftOpCode to 0xFD70. Verified on a WCN6855 device through bluetoothctl show Signed-off-by: Michael Sun <michaelfsun@google.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/btusb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index b563226b7f4f..ab83ecc99920 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -4732,6 +4732,7 @@ static int btusb_probe(struct usb_interface *intf,
hdev->set_bdaddr = btusb_set_bdaddr_wcn6855;
hdev->cmd_timeout = btusb_qca_cmd_timeout;
set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks);
+ hci_set_msft_opcode(hdev, 0xFD70);
}
if (id->driver_info & BTUSB_AMP) {