Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2367468lqp; Sun, 24 Mar 2024 16:05:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVpNwmlLyqWxY6FBsb/uTpFy92owI6JjhgagrT+cySnozIGMeRpfDQMVJW7TUT8Pf4/1csqn2M4C0JxenjUsZaX68tVnqIlTZ1BQvbAmg== X-Google-Smtp-Source: AGHT+IFJjcmUucT4f523XlfycfXbM/fwW72ttStjV5QmkYdalxffwhQoV5/TSguCMCNK35nbd8Ue X-Received: by 2002:a50:f69a:0:b0:56b:a91c:ebcd with SMTP id d26-20020a50f69a000000b0056ba91cebcdmr3649453edn.7.1711321542652; Sun, 24 Mar 2024 16:05:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711321542; cv=pass; d=google.com; s=arc-20160816; b=FT3C7Jc0fmVD3hy+p+8omp003Y3wqgbl1EggAnbH2brZlv4B1hjRQZMMJTPTnaRD+H x5HQap9r57sevJAoIHGzKf35WHSBGvSThIBaLatiH0/7qJG4z6wpFIGOP/pr8WC1JoET 2+zCRMDT45nLeVoxBgPsTTSRMhs8EX5lLSLsHwWv/pFfn+hnrXiz+TsKXhG+2T34yMyx uq/M85gyZA/+UwKEY4EerJGlvFglwiyUd53h+ovq3EQTiI5IxGt1uQp7BCSTcsx2JXwV 85gbTkTiayaTy8C75JcqDScg68n5dAqmuPRA9bgnPzPhe9rFaDkyqeEka1aGdysouRtU CtGA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=UFaq0jdNFQjLtiZ8qp+Se/f+6s7FBwaYNSrG1zRtNVQ=; fh=pZ3y9W5bVha4jzjNsdZSx5dqgRuyYyHOpl05ZDWJVnY=; b=wnhco5ATem5aEpAgnYSosieBSp8kUQQtrIfiIfOg5ErH/Ok36rLj70y1i8wjR34eyG c29uzZJN1qfkFLLIVXTmbmhxt4uAVqcS6m7xvHjGMaC6oiOtjTS+3OUMpiyeWCXi36uh 9oAWZExGta6CzsjC8OZtUpKnjmFvlV34uXlA1d7Sr0sYOO+WRmziJg8FUZF2nsd6bLlF K/EO7nerM8qcHO6MoHPVQU/XZTRhYuXwSsJzuh0UJuupZNSR7jEj4ZqwOHzgDtTzNEPh US9npEtEC+PKh2fqm2zTovX/kR7FD/tp4WCY2yW5tUfjLwXlc0hZRgvKzwfg37KZnmM5 jslg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j6wvVavK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113018-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113018-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id es7-20020a056402380700b0056bb0275c90si1992851edb.368.2024.03.24.16.05.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:05:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113018-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j6wvVavK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113018-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113018-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 481B11F25CE7 for ; Sun, 24 Mar 2024 23:05:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5325C137922; Sun, 24 Mar 2024 22:37:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="j6wvVavK" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 68583137907; Sun, 24 Mar 2024 22:37:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319829; cv=none; b=XIcsJ3zpBmJstS1Qnh6cnG3rI3XDIhXJjfEiLiRnm3xjZkHpAdSO5gy6T2qS67DFunEK8asbh1nXVLrSC10Nn2qrxtV5IV7Dm3TfbtC/QV5lXRgJcY8rK2baBci+OwhLu5mTpndnuMhrbKGPHKHlny7YSoE1OwYVsmjHIi+tZHw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319829; c=relaxed/simple; bh=afXxZDuytKdo2b9kX8f74F3OLY83odqcQkTH0+MIdeY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lTZdnEUs9IK64Jw6UqPuBmKGZLHZjEflvKly8jQFtiHj9ProgLPJmPqvXzGQMGuTjryNfXwawgw5v0zqX0gEsAAV2fEcUMMrWXuNmrjTb8goOtTtd3PtXtmqycGgyvF4Wwm5xYRIpgpP2b80sc9AWr/DIRe9ghcdj/1JyAnf2fY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=j6wvVavK; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E2C6C433C7; Sun, 24 Mar 2024 22:37:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711319829; bh=afXxZDuytKdo2b9kX8f74F3OLY83odqcQkTH0+MIdeY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j6wvVavK2NqTDt/omJukgnuy4LwgYAxxLFj+D6QvlZGOKjETJkjEQX22UY6WyMVhR fah7WHP8m0lwztq4glgw9zcxTL5A6mbdzYmoMp1SvSAbFpiRtn1Ljg/WGoAwWWePCw fJASypTfTKryt1HPdEAIDyPcmk1pLFXqijIo+Fq0BBxAm3GzWywhQ0aekSmUmGBGWQ 9ZfuwYEV0hAf+tHM8w2HDTzWz6LkvTCD0O7I6CIPAmGEUodvn0PCBXehov8oVHvz8q LYcFl6VNp3wZSjkHC2jC/CXOR1SYYTnXLQCgyVDpK7KJBBTTPGCUWvihPeyKOwKD8d L9n/ZtAG2hAyQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Johannes Berg , Mukesh Sisodiya , Gregory Greenman , Miri Korenblit , Sasha Levin Subject: [PATCH 6.8 131/715] wifi: iwlwifi: always have 'uats_enabled' Date: Sun, 24 Mar 2024 18:25:10 -0400 Message-ID: <20240324223455.1342824-132-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Johannes Berg [ Upstream commit f639602a58e7564dd091c7c0793f61042bad9bb6 ] We check this in code that'd be complicated to put under ifdef (CONFIG_ACPI), so just always have 'uats_enabled'. Fixes: 4a9bb5b4d949 ("wifi: iwlwifi: fw: Add support for UATS table in UHB") Signed-off-by: Johannes Berg Reviewed-by: Mukesh Sisodiya Reviewed-by: Gregory Greenman Signed-off-by: Miri Korenblit Link: https://msgid.link/20240129211905.bdc5fb20f00a.I902d801d79873c5c9cd51cef8e8226e2acefe88d@changeid Signed-off-by: Johannes Berg Signed-off-by: Sasha Levin --- drivers/net/wireless/intel/iwlwifi/fw/runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/iwlwifi/fw/runtime.h b/drivers/net/wireless/intel/iwlwifi/fw/runtime.h index 357727774db90..baabb8e321f8d 100644 --- a/drivers/net/wireless/intel/iwlwifi/fw/runtime.h +++ b/drivers/net/wireless/intel/iwlwifi/fw/runtime.h @@ -173,9 +173,9 @@ struct iwl_fw_runtime { struct iwl_sar_offset_mapping_cmd sgom_table; bool sgom_enabled; u8 reduced_power_flags; - bool uats_enabled; struct iwl_uats_table_cmd uats_table; #endif + bool uats_enabled; }; void iwl_fw_runtime_init(struct iwl_fw_runtime *fwrt, struct iwl_trans *trans, -- 2.43.0