From patchwork Fri Aug 19 07:48:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "K, Kiran" X-Patchwork-Id: 598773 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 2B436C28B2B for ; Fri, 19 Aug 2022 07:39:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347042AbiHSHj5 (ORCPT ); Fri, 19 Aug 2022 03:39:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346839AbiHSHj4 (ORCPT ); Fri, 19 Aug 2022 03:39:56 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C08A36171E for ; Fri, 19 Aug 2022 00:39:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660894795; x=1692430795; h=from:to:cc:subject:date:message-id; bh=MECQO0G3ub3CUJjojc1XN65dx4PlmxnpmCU6dYAVKEo=; b=P9y7s0iAcyU09gB/G43j1hqD5BBJJFN1WJvB3iWXA//wwAQ+GpCJCxVW 56DnvaGysjG/ZpB8kyD8tSO+I1gfJqT8OAnHhCKsYjly77W9Wf4xZ85vY O4jg+Slx2y0bWgT2cLlWtvrhuFzUlp8RvojX0nqpc0EaFF/meVmG1Et8l EaWisElAUCAoTJc8syFpYYFh/ya2UYiFvuxn42mI0z0kYCpeZwaMWf9ra 8DfgupTMMB/LbRqak7Qo91cQ9Ez1nN3Ggz78aFy63K9sO2SAGQ+dxghVd xXdhNudsjtVCR19NY6Tv187dJT+YoP6qx9lC2mzfUyp+eXHyPuNArdXPr g==; X-IronPort-AV: E=McAfee;i="6500,9779,10443"; a="273351051" X-IronPort-AV: E=Sophos;i="5.93,247,1654585200"; d="scan'208";a="273351051" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2022 00:39:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,247,1654585200"; d="scan'208";a="711248063" Received: from intel-lenovo-legion-y540-15irh-pg0.iind.intel.com ([10.224.186.95]) by fmsmga002.fm.intel.com with ESMTP; 19 Aug 2022 00:39:53 -0700 From: Kiran K To: linux-bluetooth@vger.kernel.org Cc: ravishankar.srivatsa@intel.com, Kiran K Subject: [PATCH v1] Bluetooth: btintel: Add support for Magnetor Date: Fri, 19 Aug 2022 13:18:15 +0530 Message-Id: <20220819074815.22016-1-kiran.k@intel.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hardware variant for Magnetor core (CNVi) is added. Signed-off-by: Kiran K --- drivers/bluetooth/btintel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/bluetooth/btintel.c b/drivers/bluetooth/btintel.c index 818681c89db8..37ec17508ff6 100644 --- a/drivers/bluetooth/btintel.c +++ b/drivers/bluetooth/btintel.c @@ -449,6 +449,7 @@ static int btintel_version_info_tlv(struct hci_dev *hdev, case 0x17: /* TyP */ case 0x18: /* Slr */ case 0x19: /* Slr-F */ + case 0x1b: /* Mgr */ break; default: bt_dev_err(hdev, "Unsupported Intel hardware variant (0x%x)", @@ -2330,6 +2331,7 @@ static void btintel_set_msft_opcode(struct hci_dev *hdev, u8 hw_variant) case 0x17: case 0x18: case 0x19: + case 0x1b: hci_set_msft_opcode(hdev, 0xFC1E); break; default: @@ -2542,6 +2544,7 @@ static int btintel_setup_combined(struct hci_dev *hdev) case 0x17: case 0x18: case 0x19: + case 0x1b: /* Display version information of TLV type */ btintel_version_info_tlv(hdev, &ver_tlv);