Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5245405ybp; Mon, 7 Oct 2019 23:05:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLVbF3go+hYLY0j47t6cMesSelU6TEHljv8TSIuDH60Ow8/rsBF/kUl1iAWCOCQyH5SnIh X-Received: by 2002:a05:6402:120e:: with SMTP id c14mr5264040edw.272.1570514755629; Mon, 07 Oct 2019 23:05:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570514755; cv=none; d=google.com; s=arc-20160816; b=lJF5MutY+gdYuOLAeBUBG7xupfjf6oZi2u2pLhPZJnqs8sGIcupZsh0se3vOEsjadL 5BMCQmQoPUCsZNXAj4Bez6sE2qls7Om6NG3Ainl7gnc+n30dxypvjy5pV/sG8xxDnrkd mCkbM9ImXue8BJdbqoRAZujaeUBJW4K3xzAV1PgSKsSbTwETqNZQCGz197VV0qnGSsu9 B3Rx23wz70by4IeNuJD+Rfokyt37bMSc4YuLiKWcA6Y1M69ULOJ2Sy12o/MbRWkVrnU5 TNc0xnI1V0oLc8K1XDyhuvLe+i+HwzhGswSXpJq6KMoiXBT685cr+hNgzeHb5pis80yn ztOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=v6XPWvTzTNM9h297e855Iegd93fJRV+8wlRBEJwrHzk=; b=T0+BnKcyXni9umIdlBk+94qqbS+1g7s6GA+dyKgPU0b4r0kOLCBrkc4ioPElf/0srZ Jnn3XYoh08g2tefMVvbp+gzwKb+z3k/UduiTmYp8Us2oGKgtpGZa3eH9YZHdZfaoEuxD nv1eRSz8TXZynGox8Qes4bG3T19Uxie47Z2WIFN3vITmAIlB/ycA0HGcgJ0GkYcmvXmN 010eAF7ZlVnHUs0COIYNIpGTyq+vOK50bhPKL4tPVGarDSKhtEGjJBjl+t7tS2m67P0t f5gUXhR8fbxb0A3uJ8JGvj1Q/3h5or0mD4/Slp1JBT6vNVy5AkxizV6FKNbFtCmObPcL f+cA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w24si1886533ejk.57.2019.10.07.23.05.31; Mon, 07 Oct 2019 23:05:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729998AbfJHGFQ (ORCPT + 99 others); Tue, 8 Oct 2019 02:05:16 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:37209 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728297AbfJHGFP (ORCPT ); Tue, 8 Oct 2019 02:05:15 -0400 Received: by mail-pf1-f194.google.com with SMTP id y5so10175922pfo.4; Mon, 07 Oct 2019 23:05:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=v6XPWvTzTNM9h297e855Iegd93fJRV+8wlRBEJwrHzk=; b=LzK5smRLhxgfNNVkdeJ2/eBsdZqhSbwI76zXSst0Y4a7oj+3H/lyK9u74sGg7VYCTv ulfLGOGUrXWdLi7JjH0PgUisrupW2N4lnatebslFpSpo2TyKOfygaTpSm/Ayofyrgjtn Ns5e4ln8g5Wd9ryP8w//KsuPimSXmSLS9LkYZ5p0uuOWw8Kaf6nyYfFGdxs2GdDMHtNT cPjoIJYLv7GpmiORg3iQulJvAhdgih23zD3H70LFMfN53wf/Qk4ec7n72lc6eqVt5TpA A2a0Qf4AbNrZdxZV78LUOp16owiF4WuR1I9NQhM53B1mOKlaCjWfjxrHhY5sMJhU/RNa bWpA== X-Gm-Message-State: APjAAAVBnpeNNp21YkeqR4/r+e8FaGg0qDHVI16+IfKtdEBw0GGSZDf2 P303qsGcZ9xxdf7OrMM2oKShZBBoNaM= X-Received: by 2002:a63:2406:: with SMTP id k6mr34458056pgk.420.1570514714468; Mon, 07 Oct 2019 23:05:14 -0700 (PDT) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id z4sm1052231pjt.17.2019.10.07.23.05.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2019 23:05:13 -0700 (PDT) From: You-Sheng Yang To: Johannes Berg , Emmanuel Grumbach , Luca Coelho , Intel Linux Wireless , Kalle Valo , "David S . Miller" , Shahar S Matityahu , Sara Sharon , Gil Adam , Mordechay Goodstein , Haim Dreyfuss Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 29 Date: Tue, 8 Oct 2019 14:05:11 +0800 Message-Id: <20191008060511.18474-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Follow-up for commit fddbfeece9c7 ("iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 36"). There is no GEO_TX_POWER_LIMIT command support for all revisions of FW version 29, either. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204151 Signed-off-by: You-Sheng Yang --- drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/fw.c b/drivers/net/wireless/intel/iwlwifi/mvm/fw.c index 32a5e4e5461f..dbba616c19de 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/fw.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/fw.c @@ -889,14 +889,14 @@ static bool iwl_mvm_sar_geo_support(struct iwl_mvm *mvm) * firmware versions. Unfortunately, we don't have a TLV API * flag to rely on, so rely on the major version which is in * the first byte of ucode_ver. This was implemented - * initially on version 38 and then backported to29 and 17. + * initially on version 38 and then backported to 29 and 17. * The intention was to have it in 36 as well, but not all * 8000 family got this feature enabled. The 8000 family is * the only one using version 36, so skip this version - * entirely. + * entirely. All revisions of -29 fw still don't have + * GEO_TX_POWER_LIMIT supported yet. */ return IWL_UCODE_SERIAL(mvm->fw->ucode_ver) >= 38 || - IWL_UCODE_SERIAL(mvm->fw->ucode_ver) == 29 || IWL_UCODE_SERIAL(mvm->fw->ucode_ver) == 17; } -- 2.20.1