Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1635463pxu; Thu, 17 Dec 2020 15:03:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbF1N8a9EkXY8jaNVdaKc51qey2EP8Jg5HputgSDxsg3t2XdqmFJG10tCs2RAxwzWXtpoU X-Received: by 2002:a17:907:2061:: with SMTP id qp1mr1310269ejb.222.1608246211279; Thu, 17 Dec 2020 15:03:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608246211; cv=none; d=google.com; s=arc-20160816; b=NW6kac3Aw43xX4r8FqiEgeBDZ+nD0XJ5ATG4n3srfeW0fJRZrL7hDzHh/X7Befqrn8 LvZSUZ//taD1HomaJ5cBMpg+nDOBbXwA6IfoKcfFIDc3GJ1x2GKT11p491YbsFueuTE/ c7VeJxBTOL6yFFinlfbW5CzBpMgv/S4e4QokXzZ7kLzNwCO2BVgiOoMHHBROFL8HGm67 biOlBUP4G5LMSNrXJKYNAZ81PeX091Xzr1JoycoYaAP/S9euLX2yQwW3HqUOinXHjnUA yUoy1fUPcPc7JOlhOeb1K40Pf8J+z3ry2+dLQlbK261RA434PtCI9zgrDLuyXAknm6Sg jamg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WZ5WSbQtPeUtU/i4otWMR2VgbaOPAzPCIHXFiOM9ruA=; b=uzD3/gDQuET1q13ZOfeyar6WUSAy9882OdGh+/vwmBMpjGfDNj0DK/6JBr9+1uuR0L YCFVKQKfXutfbRHe0WeVPYZXQT0T+4FIAWCRsYEt43FDvGqiw+jadBkKJ9kBYmpnmyF1 amyeheMjVz/aKk3r9jbz+hMdCCoHPxJGUg4U0glwS7uBOxt5qRVPXoBnR/GPTuUT6usq EkOEjESSwoqz3KvNc3M6ruLNQcdI5AoS6ir4tf/+s+QacCqKeqrBOR58tJex4Dk7+s7V ljrArALbUGpsCu2RWTZQ822LrAwkqv/Ms8ipVyfP8j3qAkmf5KNqelOfRk6QXcodwdG6 vKSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=A4h3Z6ns; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t11si3534602ejr.335.2020.12.17.15.03.08; Thu, 17 Dec 2020 15:03:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=A4h3Z6ns; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732143AbgLQWy7 (ORCPT + 99 others); Thu, 17 Dec 2020 17:54:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732199AbgLQWy7 (ORCPT ); Thu, 17 Dec 2020 17:54:59 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E30FC061248 for ; Thu, 17 Dec 2020 14:54:16 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id f14so231787pju.4 for ; Thu, 17 Dec 2020 14:54:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WZ5WSbQtPeUtU/i4otWMR2VgbaOPAzPCIHXFiOM9ruA=; b=A4h3Z6nsqjvVlEDu1hHg5MAI22u3KUOUIPnpQOSsrM5dhduiWA2NQCdzkG5RU9pd4p tG2KnEnBBJRLCTXyNEa9kQudxBa8ABQImvv+cQfKZB8e1d+x3Her/TfDqAdQ5CwMVwD0 ED9npRAn0QZZd7pRs9je6E3d1v3BeDX6eV4dI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WZ5WSbQtPeUtU/i4otWMR2VgbaOPAzPCIHXFiOM9ruA=; b=CAD4DasUFGa8jDeZEpyF//RxJCdz5KywODh2yY+Sqv3leI5+AYkRE4XEmL38lcLO5M hZfKyiczAW/jZ8ZfNbwAIbDElRn81SV+4XgC5irMdCi7X8zOhbomNINsI1Z6Ciaz2/E7 P12ImSTULQHJelQzfwnVRdwwW9ojIaLwmDUKBYns+DoknEY8R8dOvVTjjWaHwXQoMQ70 Zx8cdotDB3jprydG8ftbwK6f2sB+V4s+Vxjx58bMIMRWZj8A/nqHa+my+SqDx6CW20H1 //dCSFWB8Dv9FjPzz2EToGRTN0P5eBzahw3VnRatGW06OvDpOGD3Z0KfJcsx8FhEkx5M Rhtw== X-Gm-Message-State: AOAM531iDGQ/qad9ooN3R0pMGnqGdRpBOzEcWPpGthpXL+rxXtS500lC G2SI91hhcRj8mQzro2kcpddRTBpIa0pm6Q== X-Received: by 2002:a17:90a:1182:: with SMTP id e2mr1355532pja.152.1608245655911; Thu, 17 Dec 2020 14:54:15 -0800 (PST) Received: from localhost ([2620:15c:202:201:de4a:3eff:fe75:1314]) by smtp.gmail.com with ESMTPSA id s7sm5557907pju.37.2020.12.17.14.54.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Dec 2020 14:54:15 -0800 (PST) From: Miao-chen Chou To: Bluetooth Kernel Mailing List Cc: Alain Michaud , Luiz Augusto von Dentz , Archie Pusaka , Marcel Holtmann , Miao-chen Chou , Abhishek Pandit-Subedi , Johan Hedberg , Luiz Augusto von Dentz , linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] Bluetooth: btusb: Enable MSFT extension for Intel controllers Date: Thu, 17 Dec 2020 14:53:19 -0800 Message-Id: <20201217145149.v2.3.I84d6a963dbe3a014e8456943785b076344f659bf@changeid> X-Mailer: git-send-email 2.29.2.684.gfbc64c5ab5-goog In-Reply-To: <20201217145149.v2.1.Id9bc5434114de07512661f002cdc0ada8b3d6d02@changeid> References: <20201217145149.v2.1.Id9bc5434114de07512661f002cdc0ada8b3d6d02@changeid> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org The Intel JeffersonPeak, HarrisonPeak and CyclonePeak Bluetooth controllers support the Microsoft vendor extension and they are using 0xFC1E for VsMsftOpCode. < HCI Command: Vendor (0x3f|0x001e) plen 1 00 > HCI Event: Command Complete (0x0e) plen 15 Vendor (0x3f|0x001e) ncmd 1 Status: Success (0x00) 00 3f 00 00 00 00 00 00 00 01 50 The following test step was performed. - Boot the test devices with HarrisonPeak and verify INFO print in dmesg. Signed-off-by: Miao-chen Chou Reviewed-by: Abhishek Pandit-Subedi Reviewed-by: Archie Pusaka --- (no changes since v1) drivers/bluetooth/btusb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 03b83aa912779..25cfa47995a8a 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -2924,7 +2924,10 @@ static int btusb_setup_intel_new(struct hci_dev *hdev) * extension are using 0xFC1E for VsMsftOpCode. */ switch (ver.hw_variant) { + case 0x11: /* JfP */ case 0x12: /* ThP */ + case 0x13: /* HrP */ + case 0x14: /* CcP */ hci_set_msft_opcode(hdev, 0xFC1E); break; } -- 2.29.2.684.gfbc64c5ab5-goog