From patchwork Sat Oct 22 19:25:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qu Shengyu X-Patchwork-Id: 618364 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77D3FC433FE for ; Sat, 22 Oct 2022 19:28:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229610AbiJVT23 (ORCPT ); Sat, 22 Oct 2022 15:28:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbiJVT22 (ORCPT ); Sat, 22 Oct 2022 15:28:28 -0400 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01olkn2058.outbound.protection.outlook.com [40.92.98.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF801D8F7D; Sat, 22 Oct 2022 12:28:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NQKFc7gi1j8/U23814QvOYr9TN+gBHdXl2T1OkFFVBNjMj2IkkqDKKEz8moC9ndIoII9xz2C4IB+D+Dtlq9kpkZh7bMe3dEZueOCMCHTxqadqspbGLCeSg9EmxElj0uAjvglkyJeaG3Y2AKi2c8FDVWDbRFT9iTZiOdNNBYZdZE6vHzXt1K4QvGgUuxYjUh18JYLKhbRrWebaiPAsfDx1saMDvBDrDHaNKUM9O7N2DzYeWOqVAx23BCH2UYOSA6IO0KzQ44jnxWifEG78FumtgZKPA3v30/N/w0APTUK+mObhtnA1I3t1DMPONFBc9ARNW9n5qDZYMNF8Pkdl2PdOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=a7TV2Yh0je6pVVsH3QCx59DI87he9aJmHrnfel1EOxE=; b=cshcZwNVDBsTFYciqx3J2md66KMxfE48/SN3kez69XNHG8Y6MiV0T/POW5wsAok5hTJsmivQUzR2ucNEvz7L/EGbt5aketCbh6pEQ1vqV3MMh3AVClk4Z14glaTFMdGHUfLdqA5my8179Mh49L4jJoj3VLecWVuy1IOnjqS3jdFkVy7h7CrWVPgTTcBWHbS/JPgDlu9TiURec3yimCFYGQ9BXXLXs9R7olItQP8n2pH1UImBUV3pJr5KeAm27sA/SlZagnDjXVTcq6+HLTNLBHwGU8m2iLb3lJlig/LcYAY2ZluVNoyC0KNniRvkfkH5UMgVaX/uhnkWWu6eNZKdMA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a7TV2Yh0je6pVVsH3QCx59DI87he9aJmHrnfel1EOxE=; b=YazVJVMKNxqmJWlJJhAqKjG3E61LFaf4qrTpV4nAmrIV4hhkm6EsUL0JfkTh4zLS0w0uPMzmB+IH6IeppjkvcN35Ji+cxvqvME6mYr8zQdu0mZwF81WqU4znSIIdnZo0SEFSadlzhsWPUd0gQu1LPZDue2kTv+Fo67jLWrU4ZdOQPSLVNBHuhWB7L0pyLoHbHagRZ8jRRUeLwpIyjS+4mLQ+SRW+wlc3AE+ta3SegKKYXqCdLOa5hqnLyvpNomW1lPrM6Ox9q2i/ixyqXxYBX0XMT9ClI48Te56sr/VGQfrtI7EB4Z09EOIWo6aW7jq9M2BUtkpFoePEWu3kmOmhXg== Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:252::12) by TYWP286MB2369.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:16a::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Sat, 22 Oct 2022 19:28:24 +0000 Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM ([fe80::4de9:f94b:b58f:948f]) by TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM ([fe80::4de9:f94b:b58f:948f%6]) with mapi id 15.20.5746.021; Sat, 22 Oct 2022 19:28:24 +0000 From: Shengyu Qu To: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Shengyu Qu Subject: [RESEND PATCH v3] Bluetooth: btusb: Add more device IDs for WCN6855 Date: Sun, 23 Oct 2022 03:25:19 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 X-TMN: [JLgY3ruC6qe5DKEz5ysknfBrzQtCEfJU] X-ClientProxiedBy: SG2PR04CA0195.apcprd04.prod.outlook.com (2603:1096:4:14::33) To TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:252::12) X-Microsoft-Original-Message-ID: <20221022192517.173-1-wiagn233@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY3P286MB2611:EE_|TYWP286MB2369:EE_ X-MS-Office365-Filtering-Correlation-Id: 96908c36-3bec-4394-75fc-08dab4639573 X-MS-Exchange-SLBlob-MailProps: 7J/vb0KDx3iHFoU7Sqe6xPc744zn6sl7i1OqWmqZ/H2zZJd7SQifZ9ONM1T/AYlwL3FexETxA+wNsMPiXFO5vOsDUx5a1A+V15kNqezwaAzZ9tn057gbcr480iPrlQIIn8FFcbMvsFt2pGmLpjPjyywfwac095W06ehCxforeopEUVxgkVxyxN0F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ttXTkiKGQhga2fiwQqYdfYoZnTwENuGc3J7zN7Ph6nSQ+oHMXIo3lYd8TqolIS1YLs5386yXrZRi4CHfRDJZQ8mICMin+DERY2SwU+waFxuJgQLc/iBiiQphPlVtVNfFmp15U7yVlCOYnrQDKVz3kCETXlVZ0n2Whnbyqs4+9OSpNHA9ZnEH37RwHNsEwh8TMzHN+eSmRAPg792D11GOvhwCVFuIsat442lfbQ+4sH6qtg17IA/l6h3I3cntrEL0N2GNkOd3a8nAOmzpXF/1/ytV9rKvpax8PS6HWCrDozWbApPUVqcEn7aLSN1dgTRG30LvBBjJs3yh0fFXUAe6730SG/cq/KkTACpuzuwDnz/9jULi5HYlHj2TwRaceKJcOJdMpKvzW1BTvAPwyAF8lQI1n8ZBCAt+D7rYmKljsYv41Kuu1awp+lM29oq7EeEokauuFfy14j2RdJ+y9NX/15ex2M4lMW6iwqys91t1whSOtWiNOO1YkchWppA42iXGJFmRehk2aFrckSNyQc9vcqgI/KjISYXf5HEExUj2mEctUKDMLO6Dvhbebc2hvI2oVXxHWx7s2zp7te2pOfj/w== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 96908c36-3bec-4394-75fc-08dab4639573 X-MS-Exchange-CrossTenant-AuthSource: TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2022 19:28:24.0510 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWP286MB2369 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Add IDs to usb_device_id table for WCN6855. IDs are extracted from Windows driver of Lenovo Thinkpad T14 Gen 2(Driver version 1.0.0.1205 Windows 10) Windows driver download address: https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/ thinkpad-t-series-laptops/thinkpad-t14-gen-2-type-20xk-20xl/downloads /driver-list/ Changes in v3: - Fix too long address for windows driver Changes in v2: - Reflow commit massage line width - Add driver version and download link Signed-off-by: Shengyu Qu --- drivers/bluetooth/btusb.c | 84 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 15caa6469538..adf68affaead 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -316,6 +316,90 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x0489, 0xe0d0), .driver_info = BTUSB_QCA_WCN6855 | BTUSB_WIDEBAND_SPEECH | BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x10ab, 0x9108), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x10ab, 0x9109), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x10ab, 0x9208), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x10ab, 0x9209), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x10ab, 0x9308), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x10ab, 0x9408), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x10ab, 0x9508), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x10ab, 0x9509), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x10ab, 0x9608), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x10ab, 0x9609), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x10ab, 0x9f09), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x04ca, 0x3022), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x0489, 0xe0c7), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x0489, 0xe0c9), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x0489, 0xe0ca), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x0489, 0xe0cb), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x0489, 0xe0ce), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x0489, 0xe0de), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x0489, 0xe0df), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x0489, 0xe0e1), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x0489, 0xe0ea), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x0489, 0xe0ec), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x04ca, 0x3023), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x04ca, 0x3024), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x04ca, 0x3a22), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x04ca, 0x3a24), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x04ca, 0x3a26), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x04ca, 0x3a27), .driver_info = BTUSB_QCA_WCN6855 | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, /* QCA WCN785x chipset */ { USB_DEVICE(0x0cf3, 0xe700), .driver_info = BTUSB_QCA_WCN6855 |