Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9115720rwd; Wed, 21 Jun 2023 03:17:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7atWPizfuL6Mys1CgxvJYRz2WAtToPhxRS1gGHPY+aEI2SVuJrg4sYcDt7bOeJlMidqbp0 X-Received: by 2002:a05:6a21:9995:b0:122:f77f:b380 with SMTP id ve21-20020a056a21999500b00122f77fb380mr3008648pzb.21.1687342664142; Wed, 21 Jun 2023 03:17:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687342664; cv=none; d=google.com; s=arc-20160816; b=R1bZDKvBW3CnOd1IH/2bYy/AqVhui6UcTYL3wJI03EUYaqcUDWxnl3sIKSA1WI1JFA EE+GLfV6hBBBERtGD2Xe3+lDNUu/yJ94fFVUeVYHOBjKNIr+8kc6VnA0ebYcDMlRBu2l i2N73Ui6qX9Ub7s0w0UjJZYsLvdZ/t60jGtpfnRs9DmZONu2NVgpeAVheHX6JUIsOJyW THOe2H+ShEGC/fTy7Qo+jT8PA+vas0T7v2SkWbyI4WTlrT+Bo4f4RzRTCdDzuiB2zdLh fCug1CyqrSGppu4nJ5HZu/bd3ZFPURZO4DUZWEHtXC/Relp9gVGR61+28V9ZdkUUpiyC 9kOw== 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=EduSne4gplFrmy5T2wVtAYlB0F8JfaxQqgznUxJtSDE=; b=hgiz4HKakV8ObmxpfvfVcP+977iG9jcGwhHsRWvUlsVlms+5l2jO5mWpcZMCPPqrPm 10usJ+LurxaL1IDsPiLWxSISL5YVMXNl8cnrmg+ccks39ce4+JG+MGvhHxbRCs7qNjPZ KS6d3lhLWyluTYdnf3IHKxMcNuVCiZpxiIG6yojAq75AIkdjrIGl52go4nqgMYkbjpkI 2nh+AbEiLboW9V9xMc1K9iZrcy3kGFX5TArr3fLN3oK/wMNL55D8TaeBwyJobFJca+rY Pjp8FVDWZ1xnvBb5VKHaVgTnnatAmRl7AJ5uODj3/I8B6DKVXMhAz1e0drZkCGkuwL77 VdKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GmXyb07j; 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 t1-20020aa79461000000b006546d0d5832si3743943pfq.183.2023.06.21.03.17.35; Wed, 21 Jun 2023 03:17:44 -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=GmXyb07j; 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 S231704AbjFUKO0 (ORCPT + 59 others); 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 Content-Transfer-Encoding: 8bit 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,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: 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 -- 2.38.1