Skip to content

Commit f283f47

Browse files
chethantnholtmann
authored andcommitted
Bluetooth: btusb: Enable MSFT extension for Intel next generation controllers
The Intel TyphoonPeak, GarfieldPeak Bluetooth controllers support the Microsoft vendor extension and they are using 0xFC1E for VsMsftOpCode. Verified on a GarfieldPeak device through bluetoothctl show Signed-off-by: Chethan T N <[email protected]> Signed-off-by: Michael Sun <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
1 parent cbe6a04 commit f283f47

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

drivers/bluetooth/btusb.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3028,6 +3028,17 @@ static int btusb_setup_intel_newgen(struct hci_dev *hdev)
30283028
btintel_version_info_tlv(hdev, &version);
30293029

30303030
finish:
3031+
/* All Intel new genration controllers support the Microsoft vendor
3032+
* extension are using 0xFC1E for VsMsftOpCode.
3033+
*/
3034+
switch (INTEL_HW_VARIANT(version.cnvi_bt)) {
3035+
case 0x17:
3036+
case 0x18:
3037+
case 0x19:
3038+
hci_set_msft_opcode(hdev, 0xFC1E);
3039+
break;
3040+
}
3041+
30313042
/* Set the event mask for Intel specific vendor events. This enables
30323043
* a few extra events that are useful during general operation. It
30333044
* does not enable any debugging related events.

0 commit comments

Comments
 (0)