From patchwork Sat Oct 29 17:22:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qu Shengyu X-Patchwork-Id: 620339 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 CAE2FC38A02 for ; Sat, 29 Oct 2022 17:23:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229562AbiJ2RXk (ORCPT ); Sat, 29 Oct 2022 13:23:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbiJ2RXj (ORCPT ); Sat, 29 Oct 2022 13:23:39 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01olkn2038.outbound.protection.outlook.com [40.92.99.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C08393FF14; Sat, 29 Oct 2022 10:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PF0CH+xU9AeEPgNSyXA26EJhhARc9hxY6PCZsDw3OLlLDCAbpJ0BYpIRNOwoua0zuSf0g1RZWN3lcERgcS3DI6knbmBglQyK03e9mVy5u7yTVCNCp8AFW6PTH7ikz0I2Wo6CkP8zJqMPmXc03cphMay9Kh2EfsHAMrG3jidGcm7SguqeQp08NjFXXLNRUhQ0OTMoIj+/DJx6pPZn8mz9sx2ECEzP7GMWYgRI8mVWAYodvNmSGWYZKavHWj8u1KA5uHXEnuDSUXEfXvOmXl11/uHs6Slz0x8MGK+cxiruCBi/Dv3VI4HUM3ImUb8gvTrlMf3CDnIM8xoCHdYh7IO8rA== 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=KOTQSyBY9xe9Us594NWrUJpKaBlEEPuwaNbbBzy+Jt5N9XolqrO3zYjj2CZsLfyDqZhZbtoXI3DS0ZLC/R6jV8uWaWunk+wvy3dAp477Mc24+LTPzm4vYZr+b79cZP/ivg1FcddF0seGFlKj5QMYBSvuf6ha2SYmzVdBV/eHw3ICCiEvVeJzoYplwNroczTF8DR6finen5l+fY4jUrEr3q2leBr+ZJaV8S8L/SzlzOJGweQzwLorPOhIEQz5J8sCAhpEf7koYXamu3P5R7La04tgNm8I7AvE/Tfy/Dj6l1PrcN3l5F82RJpCf6FfA0FqIU5nGQ6CmYu0aKSWJIQWgw== 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=icPwHSM5CkQ3q+uKIeA8N3rqyJPtZnlsQv5Pez0wB4wYT1VzQ8e1UunFM2koKWaUuOLDQxMnxz9eq8aRw2Y1/hdZOzRKZh/xfrajPz9kaSgP0IDC+WSoPndGtrqDpb24+TEjuJUWBkaAuuTpBB4EcKuBa1IXXqdI6LEn/+oFB0tK/28YGeoVCNoAjIJ6gaesYTI2RwVbJ6VXddlsRmwqiwkJTJ7I9e1FuhOYSJa1dy0/3TTHU/dL/0c8aUQfVXkKMzxUJIPcimcdKdBZ5YsLCsMaZEpmgZRUDOZiwzbBiTt5vqFZUatyqO44jEvLIjj+EIynNdIQ4DB2uM+mHKhSwQ== Received: from OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1f9::12) by TYWP286MB2249.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:172::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.16; Sat, 29 Oct 2022 17:23:35 +0000 Received: from OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM ([fe80::5c85:eeae:9c31:93fd]) by OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM ([fe80::5c85:eeae:9c31:93fd%7]) with mapi id 15.20.5769.016; Sat, 29 Oct 2022 17:23:35 +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, 30 Oct 2022 01:22:54 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 X-TMN: [jyRu3eEH0ItMcwgLrsvEYAaDXeRNX9Xt] X-ClientProxiedBy: SG2PR01CA0186.apcprd01.prod.exchangelabs.com (2603:1096:4:189::14) To OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1f9::12) X-Microsoft-Original-Message-ID: <20221029172254.23-1-wiagn233@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3P286MB2597:EE_|TYWP286MB2249:EE_ X-MS-Office365-Filtering-Correlation-Id: 9653d8e5-1f93-44bc-0a57-08dab9d24fa3 X-MS-Exchange-SLBlob-MailProps: kUamOxQfZqUZw1L0xBp99J2Lxi3OqOkldHumdZxgEBx4j4ij8mU+Y2GwNoVhJmRV/VOnyxNQkBbb8LMCUIP8afq5i2BehJv8Vb+NoeiDvHz3NqBR4QWRuWCJG/6Vty0Od22jBU80cedm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QoF2/7trlxiY1I9qjnaYdOCra/hfwVEh5ghWVr7r0U3SbK9OL56u1SwLq0SD08ZvhPO22kMjl1CMsQYAK3mVl+jD9JEoI9SMfruu93Ga0Rti1mCpBXNJ5ea687yrVyHm/jDQ8Op6xVfxSczpsCrFE8RU+9p+5CA59LJJPyvd+2pTKnVg++wG7O6YdZXh1PAnuB7k6fLlH3wwuu+YZlSH9+497mlaewOH0MZp0O2ZuNpzUo5z14D9ZVPK/ty1/+Z6IVchqICVeO2Ueij8NPGTdwaF36a0GJG7Dz2j0pX88zgunOpAqMPgMWXZkeO5VSpdeKFtCHWp79zFApYlwVTwmPVLje7EeOnUXOTq06ZvwAXqk/NU1wqJq+zntiSXyHvEXc3EuYrjqH/3sgEVJqXHa/8vQ+0oEpYWFSOKNFCv8duHC6GierB8fX3dol4Q2jxwMcICREcWM1smSDhCM656AOWJTk19SukvRVp3YMma2GPSvat/aXHkVWnU4Vs9j2Y209welOB3MQnvIEZhNJomSEhVtoq4VjEbvQSkUvwM1p3E6W7hCQbtjxXyLL6O+ntEiVJl00+OVjPecP864qL1zCp1HXmkNvA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9653d8e5-1f93-44bc-0a57-08dab9d24fa3 X-MS-Exchange-CrossTenant-AuthSource: OS3P286MB2597.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2022 17:23:35.8889 (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: TYWP286MB2249 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 |