From patchwork Sun Sep 18 08:03:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengyu Qu X-Patchwork-Id: 12979356 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 E7A00C32771 for ; Sun, 18 Sep 2022 08:05:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229588AbiIRIFF (ORCPT ); Sun, 18 Sep 2022 04:05:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229713AbiIRIEq (ORCPT ); Sun, 18 Sep 2022 04:04:46 -0400 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01olkn2080.outbound.protection.outlook.com [40.92.98.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CDEC2A42B for ; Sun, 18 Sep 2022 01:03:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dGdDGWDFqMpTCZno2eKe9FhJBgeUBMlQToA3DL24SusqS5maPm/V884HOQCPv+vd3QMKm440NBWEmblavE1lhgPoPC2d9SpNMbwyFi5hsTgWmbwlqDYJA7gFGzYBhV51IWe1WZkVumva4gYQsdf4J/YQr7YDV7o7fjKwbJdq/vP9K9/863Vj1tNPl796HfmoL9bBG8jhSNq/CgZIogsR8GiyiJPYkrSwWK51XfjLqTN7lIXmd++JbJ+24WzmBHe6xh5xka0o2wlCp/hrxa7mGAwqf/p37TC4mdfqixhhikeEoAlRUE4aHTWIzY2oysLGHNZD1WUA9eQAnldVVAUeMA== 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=0+oCUlElLdJKeZKUdcQJA+OVNrrnBREuAOFo2ZQiF70=; b=FcStwkpk3G8DPBJP7uK3H8S5VQu7mEtzfYjrHK7GFb2MwA5s2W+NVK0O/yvUAy0KakEvvSEPiDa/dD53mq13xxhitMD6NtO7r5JWkzefXXnF2N6vI4q+R+COLP7rL70Jw3kjrSnCcaaq5BWVu6c0tAnrmsMljetQmJZt+s1lrL8JBuUKltdKUh3j4PqNrGtT+RFjzGiAGzv9lV/ckbOTHgzYNH5R/JTtGveX/CKbq++t0uEMn+aBNssP0zim2mwVP8zUOmP40cV+rc0JdDE2P4/iXMmM4/wWwzuUrLjKplvHsWW3hzGLGqoMgvR4rh5J4PsrCj9HzSG7t7Qcw2HfMg== 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=0+oCUlElLdJKeZKUdcQJA+OVNrrnBREuAOFo2ZQiF70=; b=mFBnjw4Kl3u5sGbZlF6yX8VYqD3fTvFD/1a+hiVuygZLAi4bkQtrbsnu6ZiP2FjONS1Sm86FwFkkk2Vxf+GUoNgVa0KeL7GmrbYfOQA9231J96xiygVJCtCqiVQKJ50jRDTI1vxcstjwvvrY1oGqPerJdMDxcTPVp6bod21lfG/KwzkSrieQIm4IMqVvcl91WOEhapXUI9QiQlkRfR++ozzQrEKVucYhr8kzZc7+N47wQdKoAN6VdYdE8P9KcMhNk/2MjrxGBA3UubR9dxZ9Ny/Fo0C9nDM0newzB4Qr7ZA7PxwQDAPMWtX0zw80QUWzXL253mCJ0mGhbre8TTnz+w== Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:252::12) by TYWP286MB2006.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:165::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.18; Sun, 18 Sep 2022 08:03:23 +0000 Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM ([fe80::d8ae:7397:e3d7:7a77]) by TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM ([fe80::d8ae:7397:e3d7:7a77%4]) with mapi id 15.20.5632.019; Sun, 18 Sep 2022 08:03:23 +0000 From: Shengyu Qu To: linux-bluetooth@vger.kernel.org Cc: Shengyu Qu Subject: [PATCH v2] Bluetooth: btusb: Add more device IDs for WCN6855 Date: Sun, 18 Sep 2022 16:03:05 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 X-TMN: [cp7aWoBQgpaAhhPK+zCafq2ibeHc1sWM] X-ClientProxiedBy: TYAPR01CA0038.jpnprd01.prod.outlook.com (2603:1096:404:28::26) To TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:252::12) X-Microsoft-Original-Message-ID: <20220918080305.337-1-wiagn233@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY3P286MB2611:EE_|TYWP286MB2006:EE_ X-MS-Office365-Filtering-Correlation-Id: ffc45a2b-616c-4545-24c4-08da994c4236 X-MS-Exchange-SLBlob-MailProps: WaIXnCbdHrMuqSpC5M8fPEteq5KN2ssV954eEMKhf2j9admw55brFc/X2/bGVJvJJ409esX4F+j5AjtAgH8vCFRUG5oq3pHbB/FS7A94VRNT5t+sVjQkTTG+CwTD/4v/b2ap57w14PZ9usP1O1ecKzeBO3/TPE20S1yt4Lj2vt23P9u2HGEXI4rAS5o+mPlevuTIWGZ9IAlC7RkW2F2luFVtukcx5zsiapk9ld89/Zk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JOGJAuT/uoOaPihlooJjciowRvuJW1O1m7O77Jkan574gH/OX1rm0DpJKuwJkl1/ay4KtC6PrqIb+dG6BtlvDy2IrXa9mCFAS5hPoNUn3DMfTP9z2fOmHNnZbCx5OA0vSdnbBdIbDUHSIimv4vBnlN6thO7rBRTjWbVMtY2ES9rEJ3LUegsS1u8k20WXFrdC+vvzjHxWqz7lfSwXZsQ1J2oCDvE2JKRmgaEG4WcxfTgFYDVwNIo+Yrs6z++zZesmvhHfwgF2Y6b5Aa+IRjaGwD49mLIMxlmdjYocma+JKQaMtw0RWq40qm9nqnCmKyeJeMvUdWglnAysSLe223AeGlu4sCRBKKT+9Wbw5lA8DYutAXLEM/o6KHk5DenHNqtJ3KYfrpSMmAihQ8OdGIewJV3iqW06px3+HHVE5fq3qvGg8A== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ffc45a2b-616c-4545-24c4-08da994c4236 X-MS-Exchange-CrossTenant-AuthSource: TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2022 08:03:23.6098 (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: TYWP286MB2006 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) 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 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 |