From patchwork Wed Jun 21 10:12:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Greenman, Gregory" X-Patchwork-Id: 13287084 X-Patchwork-Delegate: johannes@sipsolutions.net 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 158ECEB64D7 for ; Wed, 21 Jun 2023 10:14:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231704AbjFUKO0 (ORCPT ); Wed, 21 Jun 2023 06:14:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230146AbjFUKOB (ORCPT ); Wed, 21 Jun 2023 06:14:01 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2E981FCB for ; Wed, 21 Jun 2023 03:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687342430; x=1718878430; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=uCiCRBnMAL7/52Wkvx743vZylqvqUH1xWEUyEK9Wrr4=; b=GmXyb07jsLdMSTdinVv8UkVwbqCmVl92g+VE87G2BBH1qqxkU6nFCWNa bbTrPljiImIgmpX6BJSqSaEawx9HFVw3XBzAA9tY7wiTmB/eopmpArIeo ZvZn8oftMBt1Diitn+6DiFyet6wcVHZMblZI359crXo/8x6WJSrxSGer0 ojejJClrGu75MECmh+VeW6zKL40hcecQl8iPE0eUmtc3pF2o5YKosEU4E Dm9/kEHsL9dFtMhvaTCfVruLuHqPjBIJ87lYARpagcqYpBw7QSlODQ7xf nzFjpiQC35WUoJDporDsJqKE5eHf/Lx5v5kO9Bbv5wARlXAGS/mKyA9C1 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10747"; a="446506403" X-IronPort-AV: E=Sophos;i="6.00,260,1681196400"; d="scan'208";a="446506403" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2023 03:12:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10747"; a="664599165" X-IronPort-AV: E=Sophos;i="6.00,260,1681196400"; d="scan'208";a="664599165" Received: from ggreenma-mobl2.jer.intel.com ([10.13.17.65]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2023 03:12:57 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Johannes Berg , Gregory Greenman Subject: [PATCH 08/18] wifi: iwlwifi: don't load old firmware for 22000 Date: Wed, 21 Jun 2023 13:12:12 +0300 Message-Id: <20230621130443.768186c0475d.I7de717072221712176a3085d71c8018ae0348db8@changeid> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230621101222.218083-1-gregory.greenman@intel.com> References: <20230621101222.218083-1-gregory.greenman@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Johannes Berg The earliest firmware released for these products is with API version 50, so there's no point in trying to load any versions before that. Signed-off-by: Johannes Berg Signed-off-by: Gregory Greenman --- drivers/net/wireless/intel/iwlwifi/cfg/22000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/iwlwifi/cfg/22000.c b/drivers/net/wireless/intel/iwlwifi/cfg/22000.c index 12e809b715f4..c496d0d19de4 100644 --- a/drivers/net/wireless/intel/iwlwifi/cfg/22000.c +++ b/drivers/net/wireless/intel/iwlwifi/cfg/22000.c @@ -13,7 +13,7 @@ #define IWL_22000_UCODE_API_MAX 77 /* Lowest firmware API version supported */ -#define IWL_22000_UCODE_API_MIN 39 +#define IWL_22000_UCODE_API_MIN 50 /* NVM versions */ #define IWL_22000_NVM_VERSION 0x0a1d