OSDN Git Service

Bluetooth: btusb: Enable MSFT extension for WCN6855 controller
authorMichael Sun <michaelfsun@google.com>
Thu, 29 Jul 2021 17:10:59 +0000 (10:10 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 29 Jul 2021 19:11:35 +0000 (21:11 +0200)
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>
drivers/bluetooth/btusb.c

index b563226..ab83ecc 100644 (file)
@@ -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) {