Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1141820rwd; Wed, 31 May 2023 09:58:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7QAazhnO3txUA/AUNj+bQdxIgChj3KggDvwP7BWy5e8I1dITOOC/kmU/axGEAdLJ023hxS X-Received: by 2002:a05:6a00:16d3:b0:64d:632a:d0ac with SMTP id l19-20020a056a0016d300b0064d632ad0acmr8078033pfc.25.1685552319378; Wed, 31 May 2023 09:58:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685552319; cv=none; d=google.com; s=arc-20160816; b=I8I7oaF62A2qBq9b4LL/f7UceOGNpbEsWTZbUXxA3kiZZYblgKKCuKsC+R/xnAqwLW UaQsYXJTYdVwOd63bCoIhbaWmwCua0t6H2KkqaOW78TqDlV5aQCzB7iA3p1gOTE8CCyp QkgUJZA5NMlUfmmeOUt0U2YghCxuA7PyLVV4J/ommeVxIScLFQ3sZeAeyG7YWJJUY4AK QHuCCHu8S//Ly3v0OIXFhRJgrLRFxxHG8SBL+1z9/Hng+dpasuOz3u3Rj1TCxMmzjocB F/Lmkj1KrfnaMuN7gBUZfSZEy3ao1PuRDos4EbKnvhSmhp4JYA+ohNs2FjtidHI7vUQI UjkA== 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=mTiXYDmH4lPFGvMdM5vOyFAv20I8M5yF7T2HgNE5/mg=; b=SpV7Oer7Dny7S4iHRii5D7g8pM/Vv0OZaK4Hp8dV+72BonE5VwVJEOVrWFsS0/ipzK W6e79E7UZQEC1fX3dHQo728jDm4C3VkYmQUZKANwUJHoiRZg+O23Utlm4/EZaHEt4doF Kowjn61dqVWYs47caTpiYpTWUcigyVgpzaRyiS3lyJ7ZGqghebheqZE7bkzb7eZVuq/2 09jlVx2J5tpoC4QQ7qd4NkAGzQhGAEjrNvVFtHsgf8h0BIiJvMVOiXV3BRe2gmsuavqL Q531hJvBZOhKEveBXbPN28E1nIt8BEpFu8X32Byp6KxAPQpellXY9YwEfRsGsxOb/obP B2Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="MU0H/4f5"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 h13-20020aa79f4d000000b0063b7acc199bsi4016735pfr.65.2023.05.31.09.58.27; Wed, 31 May 2023 09:58:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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="MU0H/4f5"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 S229603AbjEaQvO (ORCPT + 65 others); Wed, 31 May 2023 12:51:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbjEaQvL (ORCPT ); Wed, 31 May 2023 12:51:11 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3121F12E for ; Wed, 31 May 2023 09:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685551870; x=1717087870; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dIONNmoO/Q69pG8dbX8zLKy8Y2oVU3xv03UgSNi4n6k=; b=MU0H/4f54kk1xKHjyX3zqRmx8k1b5swIoIQXg1RhUasrdrIWaFtXZdY5 w1mDQ5aSby4PuWSUBr2Wjjsqo93auadb6LApVVfJJKTXUNnixeEFR2rsJ aq8GSZVoLM8EWeGowoyEDtto1KFi3hk4OuTjVw92Syi9ic5MvU3T3t0sS TLfaFBXwGp/HPancafDDGIXYlfqMq8Lz/YSicS6dx4TivB5N8kGliBxJV B1u2wz2/ax+MPI8t9brPWzmKJXb/If4yAoaL6X3vhGCoKEWcDjum8FxRK 4Fe22Gaadg6HfXQeTRKkylQTqfvRAmAgYAmUZaadYtYKC6xkosCGoKGty Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10727"; a="339890388" X-IronPort-AV: E=Sophos;i="6.00,207,1681196400"; d="scan'208";a="339890388" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2023 09:50:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10727"; a="706987950" X-IronPort-AV: E=Sophos;i="6.00,207,1681196400"; d="scan'208";a="706987950" Received: from amilman1-mobl1.ger.corp.intel.com (HELO ggreenma-mobl2.lan) ([10.214.215.102]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2023 09:50:26 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Alon Giladi , Gregory Greenman Subject: [PATCH 02/14] wifi: iwlwifi: Add vendors to TAS approved list Date: Wed, 31 May 2023 19:49:54 +0300 Message-Id: <20230531194629.845c205e4def.Iab5c849617ed7e13304e4dfc7def668659439946@changeid> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230531165006.273284-1-gregory.greenman@intel.com> References: <20230531165006.273284-1-gregory.greenman@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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-wireless@vger.kernel.org From: Alon Giladi Allows vendors to use the time average sar feature. Signed-off-by: Alon Giladi Signed-off-by: Gregory Greenman --- drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 25 ++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/fw.c b/drivers/net/wireless/intel/iwlwifi/mvm/fw.c index 08b1e15241ce..3546638779c4 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/fw.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/fw.c @@ -1104,7 +1104,26 @@ static const struct dmi_system_id dmi_tas_approved_list[] = { DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"), }, }, - + { .ident = "Acer", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Acer"), + }, + }, + { .ident = "ASUS", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + }, + }, + { .ident = "MSI", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Micro-Star International Co., Ltd."), + }, + }, + { .ident = "Honor", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HONOR"), + }, + }, /* keep last */ {} }; @@ -1176,6 +1195,10 @@ static void iwl_mvm_tas_init(struct iwl_mvm *mvm) "Unable to add US/Canada to TAS block list, disabling TAS\n"); return; } + } else { + IWL_DEBUG_RADIO(mvm, + "System vendor '%s' is in the approved list.\n", + dmi_get_system_info(DMI_SYS_VENDOR)); } /* v4 is the same size as v3, so no need to differentiate here */ -- 2.38.1