Received: by 2002:a05:7208:13c3:b0:82:bbfa:f723 with SMTP id r3csp1532571rbe; Wed, 15 May 2024 06:13:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXetAojdZb6T9rj9anW2vAC1I8VLpZhZ/weaIi8an5hhIG+sGn3O1ZLRYkaMtqzguM1W5C6Ex7RmErvrH2OEOLUF8oKYEoUl/u8nt2wLA== X-Google-Smtp-Source: AGHT+IHDQA4rexe8WgEEn9JgMxx0iksRWvSgiT9JB893TJ4huCImC9sjwjfjBgXowEge5XcX9roN X-Received: by 2002:a17:902:d507:b0:1ec:7084:3d8d with SMTP id d9443c01a7336-1eefa03a4f8mr273235405ad.9.1715778784938; Wed, 15 May 2024 06:13:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715778784; cv=pass; d=google.com; s=arc-20160816; b=Q09oZqmKfniVRmtR1TrA8b5MmjoZx8IsMq/YoIFzG3wkcG+TuPuw1E5WjpAFGjh6QR HocUfsIES2RfsZmAwBhtKpUF80j+rWuFGyw6LjHHr1qfuiRC/DSszEW4PTKmb12eBGpq dXrk74ZQkn5FAvv9BXy9UhMdZe9jV8RpGzhRwomL8KOOHLmOyIGr+eDxlaPgISkKXYia hYmFW2iS+mxSm9CTK06byYuPMCkzPwEkZZrN974SgbPkFwAY+h4BBijTcMr/Jnd/Ydat 3DJwyFcGF5+LX3gFtG/O5GsCagJpZN7U7kcM/31FMSyiIBJNb07Cnm0QvoJvNEoSHY93 +iRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=pm6gOKXxyB82S8tUfX+Fa3noZcPuwMNKzZ1R+EupP+8=; fh=UanOD8uSqtj7lv3Ii1MValkGHtqdXz9Igx6xxxNIKOY=; b=mf5AvOdM6FM4DSjGKLCON/uzlgtFzS0egzR512gUqPgyD63G0q8xuduWEvJzlOTguT Tsk+sWX+IBVxyoNbUoQUW7gAa+Vt9Ygzofhnku12JvJTXdyLgucOGoPsUhEKVhvm8pCh P7r+bX8dDOcxENZl91Cg5IRen4ErBjeghXk3ySmXCZS+QLE6ko6UOrLdVWzHofMOA9Oh h1l1587VpsDIv0uMcAwLp8GNB5nRrNxN32kteZRy4cxZnKMbpZBKSzXl9970k+nchLk9 cLuYSmyPXS5VuBLj5BewDvWNsqR06kcHgAXxdRND0N8BqqWherWiZiV7Bn14lq1yi0ra 3yzg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kfnXTrc3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7687-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7687-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0b9cf3bdsi135516145ad.87.2024.05.15.06.13.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 06:13:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7687-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kfnXTrc3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7687-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7687-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6B8F9285019 for ; Wed, 15 May 2024 13:12:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A3D4A85649; Wed, 15 May 2024 13:12:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kfnXTrc3" X-Original-To: linux-wireless@vger.kernel.org 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 7F08E84A3E for ; Wed, 15 May 2024 13:12:26 +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=1715778747; cv=none; b=mFm62bFkERs5Wo16iYonN06gd9nc43VDwhLgLtPIRVwfSwEXP90HptEDmanpPJkZNgbGlOpwWyHPsJPNfPtjJatDJl1XAD0VG1jPBtNio/7RfjReBojq6CBI3RT9IkDOyk6y5w1D64bWjKsywx8ll0ub7XIBGJHY0xUKgSgm0Rw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715778747; c=relaxed/simple; bh=T5NSJcAYkaQ4GHi4wqWcKDaH2ZFAdkO7844Y7gXCf30=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=uBQqPrEXEBnq9TIZG2hpGIDOGFIiN0EgntcpvroI+XMtQ/PDGp08hprrxDKcElUwzHTCqT9p2Ize/6C1b/Olv7L3cr91Q+5efDH69pB5Vf17lcbb2rJwFG2abC/vHfbVQsOXiRCl1kIw3M6H1a3euBbcQpUWIx1pC32gcCkv4hk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kfnXTrc3; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B5ADC116B1; Wed, 15 May 2024 13:12:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715778746; bh=T5NSJcAYkaQ4GHi4wqWcKDaH2ZFAdkO7844Y7gXCf30=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=kfnXTrc3xD15QyBC5PO0DmshLr9lpWPCmsls4chc7CyG5gqufVwdfGoQlyxy5bbT9 qBk/IwaLo3s9Hx9K4Y5sPOp72Q5R9Nbav1AXQ4eSk0Q8w0DgbSOrkLoKJOWZdscq48 04V3LUoR66V6lCxq9KzrWuzotVrAc5Xlti73CEAN+ZWaX4Q56Zg9VWUiDwqZg+OL8N 5vWEgju5MLAA5jA5t7qSZW8FrXh3sldLhj/7MRqMCRBYKHGp8QQ3v9TcqnfShFiatK 9WBBbaH5UsF8gvq9gsracYqDPPFPZA74onud6l8Un+d9S0qCJikot2pfLkxZD0j560 ACMqC9WJV6vYQ== From: Kalle Valo To: Johannes Berg Cc: linux-wireless@vger.kernel.org, Johannes Berg Subject: Re: [PATCH 3/5] wifi: ath11k: fix TPE power levels References: <20240506194536.102148-7-johannes@sipsolutions.net> <20240506214536.d99fcf5856b9.I359bb401ea74bf82dc981a86a7ca3fa44d169d2e@changeid> Date: Wed, 15 May 2024 16:12:23 +0300 In-Reply-To: <20240506214536.d99fcf5856b9.I359bb401ea74bf82dc981a86a7ca3fa44d169d2e@changeid> (Johannes Berg's message of "Mon, 6 May 2024 21:37:55 +0200") Message-ID: <87msorcj7s.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Johannes Berg writes: > From: Johannes Berg > > The chanctx can be shared, but it seems like the TPE values for > this vif should only reflect the channel that the vif uses, which > is captured in bss_conf->chanreq.oper rather than the chanctx. > Use that when calculating defaults, a similar issue is where the > data from the AP is processed, but I'm moving that to mac80211. > > Signed-off-by: Johannes Berg Acked-by: Kalle Valo -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches