Received: by 2002:a05:7208:13c3:b0:82:bbfa:f723 with SMTP id r3csp1531518rbe; Wed, 15 May 2024 06:11:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVvZs6Pm9+tNsoavO7m/f8zG/q9h+Cr3s4XT0cyAM7tgEbliobey4ZfcG5xlUvYu4oVWM32RwHXTmnYMpwxhdPulA2KNFZIdIDWB7ILCg== X-Google-Smtp-Source: AGHT+IHwO4EgVEUkV9iTBtKFoeQuSKirZQsRKNc9vSN2hj20ZQK/OtEqRx3bZGYu2tdcIDLS5Kov X-Received: by 2002:a50:cc81:0:b0:574:eb0f:df9b with SMTP id 4fb4d7f45d1cf-574eb0fe0aemr4237875a12.14.1715778692487; Wed, 15 May 2024 06:11:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715778692; cv=pass; d=google.com; s=arc-20160816; b=0URSBndSZDnwOKTUqbn10848pVx2ouTu+jQUkY05In2XaVptFExZwXIQ009WtBHC+0 y9heNOBH1k/4qBGo4HPi/KoahhcQverH3ivPCu3VjSh6JROpa4Zo2KXARm4eiphPR/XG boZ3eg6TYlYZjohN1DIr/spIIs5aB2JysgOQuWoT73ZEnXbVrG2Cu9adA0k+QT6iGtsB vHD/GmSaxaXz2oKk/Qd7DARiIh3VRwYRrvGHfwHTHtK0pfpB/pkwWK3SojBGeiIxkxs5 G/gNbppwNxDwLJF3m+ojQxIb0Xqc88Sg8KTX8mU8+4rsTrWnVtzuvq6zdd1Ml8lD9okI TE0g== 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=ZF/LGwMRIf967QF81DnQyVjIYAmoSUmxp0Gi7yQzlIE=; fh=UanOD8uSqtj7lv3Ii1MValkGHtqdXz9Igx6xxxNIKOY=; b=Kci7R/Qq0Q3zIob0nR8+IotO0ynt1OFBLyQ2WveSnqeSGiUyr3GUr8dgmtDgF7w9BI or/xjGXvRHLJTpVe9UF1Pch25AYDoFIizOWPyiRFAXuvfgUCk4J1CXQEMOiBcnoTsumm hFXaGEcZBZQqKXTZv4/hTPRTgSjXdgLh+3YLlL9boOuE/BnMNgY984qzivlQ0zShCKgE zcU0+6IOOnFJ6bmiPSpgN2LDB9IG4LwO5ZUYsHjgh9lHMCxoaFylb8SAmVuMJveac3p3 jgkVrGWJeCCAXZ5lb6RCAIo0YmWhL/ULGhjeoPAc7e9HtzuswWoRRr+M8eth1Pk4gbKN 9Dhg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d7QMTgKh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7686-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7686-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 4fb4d7f45d1cf-5733c2d5f43si7273432a12.330.2024.05.15.06.11.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 06:11:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7686-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=d7QMTgKh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7686-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7686-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 3BD991F22D6F for ; Wed, 15 May 2024 13:11:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2541514AB4; Wed, 15 May 2024 13:11:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="d7QMTgKh" 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 011515684 for ; Wed, 15 May 2024 13:11:28 +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=1715778689; cv=none; b=lK6OriHiFrOsZvRbpJorI5kk3JcYUcqn3rrZp4UYr6xtU4+HG2XxlyfHZRSlMaKHjdeokyYyuk0XS9cgcFSE3PB7iGfzVJDXsN0AOhHNM+nEjGObZGyG9v7qxC4L+o5w9OjGL1V71L3Wjn0Jt9PE+gJ3zCqi4xy0wPMRaeM2n1A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715778689; c=relaxed/simple; bh=6tFIF8gLUCzkMqbWQK7T2OC2FdXTrN4SIi5Pvie0B+o=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=LfUkNkRKpohN0nnchzzP5W3OyjODUYCUrf3kaM1PQiWRnChhz6mAQ/Qm4TnRBw+YOlaiClhibqZRb+EDTFN1pXexjAFEAhik2EvYVCkE2nysZmqidjMSXLrDrw1LIoStCV3bIz2jwRBs2Kr5qQzGOAhzVQikyJ5kGX1q9lUiMPc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=d7QMTgKh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFA95C32782; Wed, 15 May 2024 13:11:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715778688; bh=6tFIF8gLUCzkMqbWQK7T2OC2FdXTrN4SIi5Pvie0B+o=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=d7QMTgKhmZj5a1cZ9MODURcIsXFLYiWIBRFp8skvBLTzX7BCqVmL44GcFc7ek0hsR ujCycTLZReco0ZDi/f8CRoLvjyf/oYshmktbTeFjmp2wO6l0QI48f6WhRmgbRrx1zL YwzJ8e1k3XciIcWAD4e0fJvpj5Q3XnbtOPCyfHoU8QzFzLnaY/O5lfJ++KVyd5Jwtq f6yfFNgtt3FzX+qGJ2+jaylHoxK5zFFAA5CfzdNObR0nPn++RAxqKFGgtLS8IiS/Gt hLCHTvmHw7ljTsd0Jd5+L0xt8qWU+VePchWq+ZDRXj5HYdcC++5MRaN/MeBk5UI+cg WWq0QY1mYv++g== From: Kalle Valo To: Johannes Berg Cc: linux-wireless@vger.kernel.org, Johannes Berg Subject: Re: [PATCH 2/5] wifi: ieee80211/ath11k: remove IEEE80211_MAX_NUM_PWR_LEVEL References: <20240506194536.102148-7-johannes@sipsolutions.net> <20240506214536.9818e5471055.Icece7e47e963d6b68e0d97ba13c102b37fbaa689@changeid> Date: Wed, 15 May 2024 16:11:26 +0300 In-Reply-To: <20240506214536.9818e5471055.Icece7e47e963d6b68e0d97ba13c102b37fbaa689@changeid> (Johannes Berg's message of "Mon, 6 May 2024 21:37:54 +0200") Message-ID: <87r0e3cj9d.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 define IEEE80211_MAX_NUM_PWR_LEVEL doesn't make much > sense. Yes, that table has a maximum value of 8, and the > table will actually remain that way, but EHT introduced > a way to encode more levels for 320 MHz channels. > > Remove IEEE80211_MAX_NUM_PWR_LEVEL and, for ath11k being > the only user, add ATH11K_NUM_PWR_LEVELS, where it makes > sense since it cannot support 320 MHz channels. > > 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