Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1296311rwb; Fri, 19 Aug 2022 00:42:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR7iZXWY6vlRfqHTtr2sM1vPVgu9VcinOC8yf4SQa5z24PSxoM22gSLtvOEjw/+9Z4E9GL8n X-Received: by 2002:a17:907:6930:b0:733:8eb3:83a3 with SMTP id rb48-20020a170907693000b007338eb383a3mr4290264ejc.32.1660894978041; Fri, 19 Aug 2022 00:42:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660894978; cv=none; d=google.com; s=arc-20160816; b=qp6QA/zPLJB5O+7QquIlF4C/z+sCihg77WZoRDxbgT1SuJPNcRrb6dHsXHbqJ1dmoJ l+t7xWedpxlC6h/4Pp8t29JzYEnbtoCbDo2jJWQAFVyfIIcm9CjLGcFA5Et+bC38f4OE /MAO/1zGOctg3UlE9cNb4gnLAOLc4+O0tVWMCJIt112TuMWHyxRX7qPuroYibVAyKdrV ILlw5o1HQYa+ZOLyDeRyL59022tzs/sTVK0dBmBIvg+mP50uVwzw2RrzSBOyN7kREgX0 Zmt+cTvp38UIJRVFCX6PouD2slJrErlxm0ZoRIMhw3sCpi8XFHzcszfqeOk/EoB0x/E3 RJNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=S9kpJsTvUjTiQGV5bbLhG59+zwBdts00zPk5mg0IQxE=; b=FMnPHVz5eS8cTiFRz02eGky8nEhrQQZEXIdHGdb4FSPBwwiGcga//9EIULm4vhkL4G Lqs6nfVKqlZqUnBOQ6XyXBSXfRClyAkMG4P/vjuF8O0K+0BsKKiQHFA4jN2nCvfthwxR ux/krxX3v9UFwA0YSqc40TFc0m6RRiex5JK26n2KAsq7j5rOyUBAuYVS3zCJG7FaL/Kv P7SzJXRBAeUZ9YtpQNbBdgRA3LHebTPXkq0/1vjxRNujmU42vpa8ljLSTSTvRsX+7qVE ZoG75FBhk67Gj/Ao+m1+86xfD4MrdK5Q4ncgdLXiVwqjf0vW5kS3Eq1pueeOqA/c+lBb OFcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=P9y7s0iA; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ss28-20020a170907c01c00b0072ee27ef788si2069110ejc.838.2022.08.19.00.42.29; Fri, 19 Aug 2022 00:42:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=P9y7s0iA; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347041AbiHSHj5 (ORCPT + 99 others); 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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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); -- 2.17.1