From patchwork Tue May 28 14:03:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: WangYuli X-Patchwork-Id: 13676800 Received: from bg1.exmail.qq.com (bg1.exmail.qq.com [114.132.67.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF82313A868; Tue, 28 May 2024 14:05:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=114.132.67.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716905130; cv=none; b=BT6gXd0k/xex+HoUwODXLqZd1GsX72aa0BXkmvQkmXanezNN6IfoYvoi3/rAP39cr+pp0tYk8oiHsthO1VkjCZgMmBBKuE4NQ8dbgjf7o/dxew4g2gqS6hQOy51CK/HA5+FG94ikejikTDnrGsTfAVDDfCunwTISNzwU4yQO/Sg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716905130; c=relaxed/simple; bh=PURxRrT+Gaa3PgyTaM0RrVFH1zk0iI3BMDQaWlcoQoE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ykd8gnC9vJxZUlD94aBXLqosMrRXaEWRpEt8+CQoCL1vsrLDmJLyyCDjY2e7i6oBID0VfiQJ1AOXOqyOdcEVGR+Tn/EAFg6xvbWfmOiltvHe/GIxH91hFpgGyDWOo6levzSglkwiACbP3/dJek24dj6zSV3itLxn4biMQ9cagTM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=uniontech.com; spf=pass smtp.mailfrom=uniontech.com; arc=none smtp.client-ip=114.132.67.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=uniontech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniontech.com X-QQ-mid: bizesmtpip2t1716905071t5oiaaz X-QQ-Originating-IP: /mF21PFK26x6K6oJviXRE4OScott3W8Q1MAQbsnwvP8= Received: from 192.168.5.25 ( [255.207.235.15]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 28 May 2024 22:04:29 +0800 (CST) X-QQ-SSF: 01400000000000E0B000000A0000000 X-QQ-FEAT: vCKdglClpVIFIXSKsQYpcMzda8EIQBjGdN9NvI/Ztac8F9bO5JKLl43czMiql lmtFEdf2Dxzm+Ienr3Qi1Z+Iisi8sTm08efBAkWZTwnTa/ogGyYIe9b0fzms+Gx8GHVvqqn ouuZ5P+/jlPEevaJdT6LUEp6COMX3BNtF2d5PU95CTCjZYx37HG+dhbMDswoqw0sYbdkeT4 705hKwPfV4nBqvC6bSt3+0+3a5xpX4VWrUiU6glv33sclvncurol0FyrjDly/I4vRqOHILv 1uwPhxlPO0qGlsu4mwTujhVCTeOh4pYsZGcrTMncbZo6yESsgihfQkm1FD1bSPJ5Y3ayPqM G8UxQUcK0gCft7Wy4E7p5aU9cU21tVPlPAoqZyXYAlSNHD5QzqmW4mcTxjjz8L+Nwr/4R3Z d6Zgi2Dg5MQ= X-QQ-GoodBg: 1 X-BIZMAIL-ID: 15122004700105350673 From: WangYuli To: wangyuli@uniontech.com, guanwentao@uniontech.com, marcel@holtmann.org, luiz.dentz@gmail.com Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH] Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x13d3:0x3591 Date: Tue, 28 May 2024 22:03:45 +0800 Message-ID: <624D89A316F197DF+20240528140345.69035-1-wangyuli@uniontech.com> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtpip:uniontech.com:qybglogicsvrgz:qybglogicsvrgz8a-1 Add the support ID(0x13d3, 0x3591) to usb_device_id table for Realtek RTL8852BE. The device table is as follows: T: Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=13d3 ProdID=3591 Rev= 0.00 S: Manufacturer=Realtek S: Product=Bluetooth Radio S: SerialNumber=00e04c000001 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms Cc: stable@vger.kernel.org Signed-off-by: Wentao Guan Signed-off-by: WangYuli --- drivers/bluetooth/btusb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 79aefdb3324d..7b9421423ebc 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -555,6 +555,8 @@ static const struct usb_device_id quirks_table[] = { BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x13d3, 0x3572), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x13d3, 0x3591), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, /* Realtek 8852BT/8852BE-VT Bluetooth devices */ { USB_DEVICE(0x0bda, 0x8520), .driver_info = BTUSB_REALTEK |