Skip to content

Commit a94bc93

Browse files
Jiande LuVudentz
authored andcommitted
Bluetooth: btusb: Add USB HW IDs for MT7920/MT7925
Add HW IDs for wireless module. These HW IDs are extracted from Windows driver inf file and the test for card bring up successful. MT7920 HW IDs test with below patch. https://patchwork.kernel.org/project/bluetooth/ patch/[email protected]/ Patch has been tested successfully and controller is recognized devices pair successfully. MT7920 module bring up message as below. Bluetooth: Core ver 2.22 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Bluetooth: L2CAP socket layer initialized Bluetooth: SCO socket layer initialized Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240930111457 Bluetooth: hci0: Device setup in 143004 usecs Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported. Bluetooth: hci0: AOSP extensions version v1.00 Bluetooth: hci0: AOSP quality report is supported Bluetooth: BNEP (Ethernet Emulation) ver 1.3 Bluetooth: BNEP filters: protocol multicast Bluetooth: BNEP socket layer initialized Bluetooth: MGMT ver 1.22 Bluetooth: RFCOMM TTY layer initialized Bluetooth: RFCOMM socket layer initialized Bluetooth: RFCOMM ver 1.11 MT7925 module bring up message as below. Bluetooth: Core ver 2.22 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Bluetooth: L2CAP socket layer initialized Bluetooth: SCO socket layer initialized Bluetooth: hci0: HW/SW Version: 0x00000000, Build Time: 20240816133202 Bluetooth: hci0: Device setup in 286558 usecs Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported. Bluetooth: hci0: AOSP extensions version v1.00 Bluetooth: BNEP (Ethernet Emulation) ver 1.3 Bluetooth: BNEP filters: protocol multicast Bluetooth: BNEP socket layer initialized Bluetooth: MGMT ver 1.22 Bluetooth: RFCOMM TTY layer initialized Bluetooth: RFCOMM socket layer initialized Bluetooth: RFCOMM ver 1.11 Signed-off-by: Jiande Lu <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
1 parent 69b84ff commit a94bc93

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

drivers/bluetooth/btusb.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,16 @@ static const struct usb_device_id quirks_table[] = {
571571
{ USB_DEVICE(0x043e, 0x3109), .driver_info = BTUSB_MEDIATEK |
572572
BTUSB_WIDEBAND_SPEECH },
573573

574+
/* Additional MediaTek MT7920 Bluetooth devices */
575+
{ USB_DEVICE(0x0489, 0xe134), .driver_info = BTUSB_MEDIATEK |
576+
BTUSB_WIDEBAND_SPEECH },
577+
{ USB_DEVICE(0x13d3, 0x3620), .driver_info = BTUSB_MEDIATEK |
578+
BTUSB_WIDEBAND_SPEECH },
579+
{ USB_DEVICE(0x13d3, 0x3621), .driver_info = BTUSB_MEDIATEK |
580+
BTUSB_WIDEBAND_SPEECH },
581+
{ USB_DEVICE(0x13d3, 0x3622), .driver_info = BTUSB_MEDIATEK |
582+
BTUSB_WIDEBAND_SPEECH },
583+
574584
/* Additional MediaTek MT7921 Bluetooth devices */
575585
{ USB_DEVICE(0x0489, 0xe0c8), .driver_info = BTUSB_MEDIATEK |
576586
BTUSB_WIDEBAND_SPEECH },
@@ -644,6 +654,8 @@ static const struct usb_device_id quirks_table[] = {
644654
BTUSB_WIDEBAND_SPEECH },
645655
{ USB_DEVICE(0x0489, 0xe11e), .driver_info = BTUSB_MEDIATEK |
646656
BTUSB_WIDEBAND_SPEECH },
657+
{ USB_DEVICE(0x0489, 0xe139), .driver_info = BTUSB_MEDIATEK |
658+
BTUSB_WIDEBAND_SPEECH },
647659
{ USB_DEVICE(0x13d3, 0x3602), .driver_info = BTUSB_MEDIATEK |
648660
BTUSB_WIDEBAND_SPEECH },
649661
{ USB_DEVICE(0x13d3, 0x3603), .driver_info = BTUSB_MEDIATEK |

0 commit comments

Comments
 (0)