Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp81572lqp; Wed, 20 Mar 2024 14:28:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUW7Q+OVLEA/XG88r7Vd4jk3OoW4JaMwElDcbrQ3ToDF49FShWi9iU6BuoHkRsnGpk3iX4wk1Wdck+sBRMPxWLVjS36CSGJ0SOfWtw8nQ== X-Google-Smtp-Source: AGHT+IF3/KRYlcdt+3ZvjVX5TqoNxm2V/WilqDKD1Csk+JOszxA4XLrsVN/zBDcSTnoe+nH5JMNj X-Received: by 2002:a05:6358:d5aa:b0:17f:1d00:62b6 with SMTP id ms42-20020a056358d5aa00b0017f1d0062b6mr138978rwb.31.1710970096167; Wed, 20 Mar 2024 14:28:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710970096; cv=pass; d=google.com; s=arc-20160816; b=KCAEQpxUH27dirNmkjZSQxHTTn6TBF7XiUGJAb2H0BElwWI67wwiSeeEvVxPDZMF6L KzyOwxAINSQhVNbgDfAY3W46yjtNGVzgsXLPB/EE9rvaMD+LjcrqadFAJPXphPX+K2wI JLKzjoX2B6njwD5pQ4tLbYcJoHVCUMeR7+tKPUIxO/GatvWIATCp7/quWu9B4zBPJpVs gW6SKNNENKKwKl8AMLaukCxVA7XtxybJcWXKx8Jr2EPggMeVylmamhPiiPCPq8ayxPID kmDQ9uLgoqKWWovcQupCOMGEg2tvZTCyuOJB8bF5Ze9H1GRHiTKdfPjb47U6T7fLmPl/ +k7w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:organization:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=FAx1G4O4WOIh16MeOVQPKTANSXfEQqO+tpX8jprMREc=; fh=Igvxyhu3AilTBl8XaWeBGIdIRfeCkf9gbWdQ5BAiLNo=; b=WuBF/0HdLsImGEHOjrzmStzxA42gapCvR5pZPfcq+xTcUX+U/Kg/2CR2gFe0KZkYHe YtRlUAYQlXFZ92oLe+o8EZopzfEYu6olj8bfPA9brgBjYC0kI9SG0as8Fw741YNp2Jlb 5cUK0HqoWqy1ihxAb0FdjtFCgi/qOu0mxu6NAEb6avDtgQfReLlBAZVYLy1Zu+dLtihM yq8w2BdTwsvY3nkbCEFGGjVp/+PW0zdFtVTnjKw2aWQERCCXTzS4af5OO4bGghOxJ8p3 CFF1bW8lSk0+VEBdcn9EPHTwi60VWdelxisdl747LmDtf5g9oSw1oJS30oNQitMdJwS5 jkoQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LvbDclK+; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-wireless+bounces-5049-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5049-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id z1-20020a630a41000000b005dbd83521fasi10783571pgk.883.2024.03.20.14.28.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 14:28:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5049-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LvbDclK+; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-wireless+bounces-5049-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5049-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id CA514B22732 for ; Wed, 20 Mar 2024 21:27:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E8C58595F; Wed, 20 Mar 2024 21:27:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="LvbDclK+" X-Original-To: linux-wireless@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB25385947 for ; Wed, 20 Mar 2024 21:27:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710970026; cv=none; b=PkmsekmMd8ej9sg4uQyzGuJMb0ZZ08dhRytz82+xAALppeC7nZ+lZrlzlXmLjc7E9QbP10EbZsWHS/kNSKMqOd1Tdy7f4ptqLwvo5cm1EpiImjnB+QMtY/2Koe1zG6lSRGEDTJeuLwKtKZ01A2o2XQgjJjWV5NurD5wdYxiX0Lo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710970026; c=relaxed/simple; bh=eROf8H4GaFXLCwJyzJ1YUW04hZ0Q3vc7cKMdwBg73vw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=RU51wlo5ExHMm/AgxPl9n/nW/cgAEaUtqfrGkgkh7i0p9BtQozlaZ4K0A6OUy3cxsCopD4jmBImu2sh7NPTCUCIjF46oK9je/4o0IazmdFekbKUM8Hokj+FuPzJFqSdDraMvZms8I8ICPwOnOKYzoT325MfKkVLERm1ffMvmeKQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=LvbDclK+; arc=none smtp.client-ip=192.198.163.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710970024; x=1742506024; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=eROf8H4GaFXLCwJyzJ1YUW04hZ0Q3vc7cKMdwBg73vw=; b=LvbDclK+fYBN0E7sLQQ2OvC3zCwLdioJl4qLAl+G5kfapBYMbTQSItq6 3gp74Ld3ZtH6x/lFZGskspakXJoyNairO8/74jfGvPhgM/vMZeKU3JHJY YfBLlkfmP8JRel0IuP01o6DaSvlrG0GklUvTVfz5dGk72eprLALitzsuv ZFcqoOySeprtnoMIdVfAl+kplCRShVoUXBvj72zzh82Y+zrrpqx8ef015 sgzOcK70H3ylx09nYPz0TJDtGHDaxhJPEDLzapl9NaVcTLfQt+mdNWkR+ CyeZAc40Y906d3g6IaSiEK6FLhFya0uQg+L6yNEmVhSzJKR2Bvr+gmsEZ A==; X-IronPort-AV: E=McAfee;i="6600,9927,11019"; a="9698078" X-IronPort-AV: E=Sophos;i="6.07,141,1708416000"; d="scan'208";a="9698078" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2024 14:27:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,141,1708416000"; d="scan'208";a="14184152" Received: from unknown (HELO WEIS0040.iil.intel.com) ([10.12.217.108]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2024 14:27:03 -0700 From: Miri Korenblit To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Emmanuel Grumbach Subject: [PATCH 07/17] wifi: iwlwifi: remove wrong CRF_IDs Date: Wed, 20 Mar 2024 23:26:28 +0200 Message-Id: <20240320232419.b7bea022622b.Ia6ffa981397dc11bd1acb7e190c275155857823d@changeid> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240320212638.1446082-1-miriam.rachel.korenblit@intel.com> References: <20240320212638.1446082-1-miriam.rachel.korenblit@intel.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Organization: Intel Israel (74) Limited Content-Transfer-Encoding: 8bit From: Emmanuel Grumbach Those CRF_IDs never existed and were a mistake. Those values are CNVI_IDs. Signed-off-by: Emmanuel Grumbach Signed-off-by: Miri Korenblit --- drivers/net/wireless/intel/iwlwifi/iwl-prph.h | 2 -- drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-prph.h b/drivers/net/wireless/intel/iwlwifi/iwl-prph.h index 8df6ec12b74e..05b4001c8224 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-prph.h +++ b/drivers/net/wireless/intel/iwlwifi/iwl-prph.h @@ -454,8 +454,6 @@ enum { #define REG_CRF_ID_TYPE_HR_NONE_CDB_CCP 0x532 #define REG_CRF_ID_TYPE_GF 0x410 #define REG_CRF_ID_TYPE_FM 0x910 -#define REG_CRF_ID_TYPE_FMI 0x930 -#define REG_CRF_ID_TYPE_FMR 0x900 #define REG_CRF_ID_TYPE_WHP 0xA10 #define HPM_DEBUG 0xA03440 diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c index 75e5177cf140..7cba9f72dd11 100644 --- a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c +++ b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c @@ -1202,8 +1202,6 @@ static int map_crf_id(struct iwl_trans *iwl_trans) iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_GF << 12); break; case REG_CRF_ID_TYPE_FM: - case REG_CRF_ID_TYPE_FMI: - case REG_CRF_ID_TYPE_FMR: iwl_trans->hw_rf_id = (IWL_CFG_RF_TYPE_FM << 12); break; case REG_CRF_ID_TYPE_WHP: -- 2.34.1