Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1018157pxu; Wed, 16 Dec 2020 23:20:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3Qq8gxKlIKBD5VvB4WhKA1WVvl0VCiw3RnBEuLYmFY820/js2cT2a9rXn/99Ztl/+D6Lm X-Received: by 2002:a17:906:354a:: with SMTP id s10mr34488824eja.335.1608189655873; Wed, 16 Dec 2020 23:20:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608189655; cv=none; d=google.com; s=arc-20160816; b=Mr1msPae4dj728Qkt7GXrwteveMDzBA6c+vCTB9VZ9/52Zs9AtsDDX0a0Kzt8J20o1 Sly3f+PWzmnZFdoduV8kDETsHy3VzEsw/r4iGXrJJSHYaJR05NGG1tZJYoXpZUA1A6Ep TiYlAXNmx/m3ElncQ4LRVCMVt8VLU12tJhFp1qMBngPXwVmRe5MfX0K2X2a+mlSpALJN qZH7C3eVvd2sQyQjjBQ7FrGeLgQy/EiFLA37AeOzUDRdzOLGLQpGFzFmvp7qEuhtlLKz nB+BpcpIu+MtJcEfmtmUNhYteEWtHxgi1XR6vPuZZaH1MphYK91Jn6pNvN52POUj5fw8 H93w== 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=7ROFwraclmZafOx9+Edkeznx8P384VynmuQCntAzvR8=; b=Ecy8cV51TCFlppJkEzJAOqIDhVKkfqmWrNnE9461LCp/CKHN54S9bzk6HMqepNZzCd pTSkavjDpPxDVHFUuLpdUrnvmLlzyGAlh+Kz05iunwZ+NtkxKoIjUwMmGTiOE0Pp10Vw mv9P25i/rM/8OaLUhzjiF7vm7j5kw646a7adCYCfb9eQCGyXvDcmhZjtA6TaNRF4lMyt iBvoOSYXxMOuRhhkwwJBp26KwyTBM4q1hOhFAXYFiBICJD6wODTOuZGFesJGSVo9Oy0n olyxBfsxPOLFr7v9AYxbzeE4FEGfex6LRRlaeif6WHbcfPLqPg3IsrKiTcgKjzKZ5xnP uKyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=MyC9Vmv2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 hp13si2276420ejc.376.2020.12.16.23.20.33; Wed, 16 Dec 2020 23:20:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=MyC9Vmv2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1727219AbgLQHTF (ORCPT + 99 others); Thu, 17 Dec 2020 02:19:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726569AbgLQHTE (ORCPT ); Thu, 17 Dec 2020 02:19:04 -0500 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 443EDC061285 for ; Wed, 16 Dec 2020 23:18:18 -0800 (PST) Received: by mail-pf1-x436.google.com with SMTP id q22so18448584pfk.12 for ; Wed, 16 Dec 2020 23:18:18 -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=7ROFwraclmZafOx9+Edkeznx8P384VynmuQCntAzvR8=; b=MyC9Vmv2wxTErdNuK46uB+6W+ZeVo7CEvAm4CwVHoHH6x/Qe6krRpXc5BwLHrwfy5s dqz3p5R0K8lWPFghYVZh8kljchH/xI8owsl/XOAqXzGWZZt8QqTi6lOnUujDFNWHp/MG dexyi7hbmLntzWFV7khcS9933ojZMNj1UgUxU= 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=7ROFwraclmZafOx9+Edkeznx8P384VynmuQCntAzvR8=; b=FmKozVKWbwODXdAWYmfCBvgXc2wb5S8bweyJIPuRGwy8tQHrdBr15ehsVaHzJ4vfEr UvWLNWJ5tXqFWe9yXgcfNvafgI3ZEKHc+/JkFmoZYUEjJqfrHXvmh0dRpgB0r8sIh97x XkESmNO2voapiem8KDgADfDLkEPiIObuVCKG0bHWymZ89EBJvFKMvjAOOdeHAsdpyu7T Ae2PWrsSZQQ82F592+7IJGaRcJG0eVXmtoNC3ZDF9eYG/8FZFwQCKQH2ipWfdnIPQ4el /3XceT9RrFELPQu7EZK2VCwvrxX5WSOxFlPnepNbf57tm+0HZ3SNvpN4tepRMmV6pTUM Dh6A== X-Gm-Message-State: AOAM530hQ5KC3Rrt5qO7mNLfBczqW8MlRc3iprLyhew9Zyk2WimZmVdX wHo5qSRMaxw5IayjD0y+XgX/Yg== X-Received: by 2002:a63:f702:: with SMTP id x2mr35802021pgh.414.1608189497840; Wed, 16 Dec 2020 23:18:17 -0800 (PST) Received: from localhost ([2620:15c:202:201:de4a:3eff:fe75:1314]) by smtp.gmail.com with ESMTPSA id a31sm4956916pgb.93.2020.12.16.23.18.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Dec 2020 23:18:17 -0800 (PST) From: Miao-chen Chou To: Bluetooth Kernel Mailing List Cc: Alain Michaud , Archie Pusaka , Marcel Holtmann , Luiz Augusto von Dentz , Miao-chen Chou , Abhishek Pandit-Subedi , Johan Hedberg , Luiz Augusto von Dentz , linux-kernel@vger.kernel.org Subject: [PATCH v1 3/4] Bluetooth: btusb: Enable MSFT extension for Intel controllers Date: Wed, 16 Dec 2020 23:17:31 -0800 Message-Id: <20201216231652.v1.3.I84d6a963dbe3a014e8456943785b076344f659bf@changeid> X-Mailer: git-send-email 2.29.2.684.gfbc64c5ab5-goog In-Reply-To: <20201216231652.v1.1.Id9bc5434114de07512661f002cdc0ada8b3d6d02@changeid> References: <20201216231652.v1.1.Id9bc5434114de07512661f002cdc0ada8b3d6d02@changeid> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- 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