* [PATCH] Bluetooth: btusb: Add USB ID 0e8d:e028 for MediaTek MT7928
@ 2026-11-24 2:23 Chris Lu
2026-11-24 2:23 ` [PATCH] Bluetooth: btusb: Do not set BROKEN_ENHANCED_SETUP_SYNC_CONN for newer MediaTek chips Chris Lu
0 siblings, 1 reply; 2+ messages in thread
From: Chris Lu @ 2026-11-24 2:23 UTC (permalink / raw)
To: Marcel Holtmann, Johan Hedberg, Luiz Von Dentz
Cc: Hao Qin, Sean Wang, Will Lee, SS Wu, linux-bluetooth,
linux-kernel, linux-mediatek, Chris Lu
Add the USB device ID of the MediaTek MT7928 Bluetooth controller.
MT7928 is the marketing name of the chip, which identifies itself as
MT7935 (chip ID 0x7935) in hardware.
The hardware ID of the Bluetooth interface is:
USB\VID_0E8D&PID_E028&MI_00
Signed-off-by: Chris Lu <chris.lu@mediatek.com>
---
drivers/bluetooth/btusb_main.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/bluetooth/btusb_main.c b/drivers/bluetooth/btusb_main.c
index 95398e2ca098..e94a5d0ca1ec 100644
--- a/drivers/bluetooth/btusb_main.c
+++ b/drivers/bluetooth/btusb_main.c
@@ -848,6 +848,10 @@ static const struct usb_device_id quirks_table[] = {
{ USB_DEVICE(0x2c7c, 0x7009), .driver_info = BTUSB_MEDIATEK |
BTUSB_WIDEBAND_SPEECH },
+ /* MediaTek MT7928 (MT7935) Bluetooth devices */
+ { USB_DEVICE(0x0e8d, 0xe028), .driver_info = BTUSB_MEDIATEK |
+ BTUSB_WIDEBAND_SPEECH },
+
/* Additional Realtek 8723AE Bluetooth devices */
{ USB_DEVICE(0x0930, 0x021d), .driver_info = BTUSB_REALTEK },
{ USB_DEVICE(0x13d3, 0x3394), .driver_info = BTUSB_REALTEK },
--
2.45.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] Bluetooth: btusb: Do not set BROKEN_ENHANCED_SETUP_SYNC_CONN for newer MediaTek chips
2026-11-24 2:23 [PATCH] Bluetooth: btusb: Add USB ID 0e8d:e028 for MediaTek MT7928 Chris Lu
@ 2026-11-24 2:23 ` Chris Lu
0 siblings, 0 replies; 2+ messages in thread
From: Chris Lu @ 2026-11-24 2:23 UTC (permalink / raw)
To: Marcel Holtmann, Johan Hedberg, Luiz Von Dentz
Cc: Hao Qin, Sean Wang, Will Lee, SS Wu, linux-bluetooth,
linux-kernel, linux-mediatek, Chris Lu
HCI_QUIRK_BROKEN_ENHANCED_SETUP_SYNC_CONN was set for every MediaTek
controller, which makes the host fall back to HCI_OP_SETUP_SYNC_CONN
for SCO connections. MT7921/MT7920 and the older MT7663/MT7668 need
this fallback, but the chips released after MT7921 are expected to
handle HCI_OP_ENHANCED_SETUP_SYNC_CONN properly. Note that the chip
model number does not follow the release order.
Set the quirk in btusb_mtk_setup() only when the chip ID read from the
controller is 0x7663, 0x7668 or 0x7961, so the behavior of these chips
is unchanged. MT7920 reports the same chip ID (0x7961) as MT7921, so it
keeps the quirk as well.
For MT7922 and MT7925, verified that with the quirk removed the host
uses HCI_OP_ENHANCED_SETUP_SYNC_CONN to set up SCO connections and no
problem was observed. The chips released after them are not expected to
need the quirk either.
Signed-off-by: Chris Lu <chris.lu@mediatek.com>
---
drivers/bluetooth/btusb_main.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/bluetooth/btusb_main.c b/drivers/bluetooth/btusb_main.c
index 95398e2ca098..f0ced6e3192f 100644
--- a/drivers/bluetooth/btusb_main.c
+++ b/drivers/bluetooth/btusb_main.c
@@ -3205,6 +3205,12 @@ static int btusb_mtk_setup(struct hci_dev *hdev)
if (platform_is_ryzen() && is_direct_child_of_root_hub(data->udev))
set_bit(BTUSB_WAKEUP_BROKEN, &data->flags);
break;
+ case 0x7663:
+ case 0x7668:
+ case 0x7961:
+ /* SCO does not work with HCI_OP_ENHANCED_SETUP_SYNC_CONN */
+ hci_set_quirk(hdev, HCI_QUIRK_BROKEN_ENHANCED_SETUP_SYNC_CONN);
+ break;
}
return 0;
@@ -4621,7 +4627,6 @@ static int btusb_probe(struct usb_interface *intf,
hdev->reset = btmtk_reset_sync;
hdev->set_bdaddr = btmtk_set_bdaddr;
hdev->send = btusb_send_frame_mtk;
- hci_set_quirk(hdev, HCI_QUIRK_BROKEN_ENHANCED_SETUP_SYNC_CONN);
hci_set_quirk(hdev, HCI_QUIRK_NON_PERSISTENT_SETUP);
data->recv_acl = btmtk_usb_recv_acl;
data->recv_event = btmtk_recv_event;
--
2.45.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-24 2:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 2:23 [PATCH] Bluetooth: btusb: Add USB ID 0e8d:e028 for MediaTek MT7928 Chris Lu
2026-11-24 2:23 ` [PATCH] Bluetooth: btusb: Do not set BROKEN_ENHANCED_SETUP_SYNC_CONN for newer MediaTek chips Chris Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox