Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp348221rdb; Thu, 5 Oct 2023 07:43:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFVDdhlfTTri6074zgqKTIPcKy/LkLhe5G0NvWHcWIkxUu+wA5tVo4MZZJgkzrX8GJlaIBb X-Received: by 2002:a54:4389:0:b0:3ae:1e08:41fe with SMTP id u9-20020a544389000000b003ae1e0841femr4845968oiv.57.1696517014537; Thu, 05 Oct 2023 07:43:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696517014; cv=none; d=google.com; s=arc-20160816; b=YRl4mMqMaTmUn8AXPn5FVBqpx2Na1RZ3W2+GbeEQ7M4Dcw6z+A3WOH1FHqTmGirqTg G/JnoxPyCu8D3fl3IQNt1r/5IfjkSH6WHUdJvJvrLW+MIODJDGKPkR2cmPZUB0xV6gBg JfMDypiF1Sbe+jNHf300QHY/7KgSQRhI2wi7LtZZK8HNghqEPDbO25JTskv9MyovFOQL uZU8H7d++aGiN9w4NxcN8OYr2wMuwMJpX4isAnR1A1E+R4HYHqfQco7z/fgetoi4aMIo eSfYPs6rZG7VBCPIef/0vz11hEez68EnHMig2A08+73DhHgN17gx6iQ5haDjOSyGQpWe FiDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=aneq67rnJN3lQ9k+VRe9jN79G0ClpaBcgYW16g59F7A=; fh=nVgiLdLc+MV9s3ZKgUGT84t6sn7RE01PukgCYzHVZnA=; b=NHHOGZ3SuoAkJJER/miUJH4QZFXrHt+K64gjmn4AJ9c4WkahoYu8mR7A/XF8JI3u+8 IUNSVPeoQsh0AhqwQq8ur3IHVDaHVrOk6iyN7pWIWBLZIS3GXUJPeTlccXClRmHAlcHM AWmz6o8jPcXsmuvqhTYSsBmq3/xzxd8Y1F8P/XVjR+0sqOmh5XoKgIH3vrKHkcMAwIdU CwuqpYUMD/xVN//hg/vDWYDiFroaQCrYneRXhGrRv2fOFPz9BFiLv1RIoIc/FBLo/KFX fn/malMO5pahoXY802stmpmAR6mcF90fuxxb1TFNklp6fbi+7Is3TvBo3mN3LGCVPKPG YYOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nTAXWrEK; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id j190-20020a6380c7000000b005641315d956si1602493pgd.147.2023.10.05.07.43.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 07:43:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nTAXWrEK; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5A91C819D22D; Thu, 5 Oct 2023 07:43:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235303AbjJEOmk (ORCPT + 52 others); Thu, 5 Oct 2023 10:42:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236301AbjJEOhD (ORCPT ); Thu, 5 Oct 2023 10:37:03 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC1A947882 for ; Thu, 5 Oct 2023 07:02:58 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FF5FC433B7; Thu, 5 Oct 2023 06:54:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696488882; bh=JqcnyKcQpUjMnEi/J6oq7twnNQyuKsZWEMo2+vGFKJ8=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=nTAXWrEK0hTCpXyuaa5ICT8N4iRsW/LdwnhETg7Y3WxylwbcmSrpofcGJzGgho8sg 1+LJuIhtdXRa9aHfiBuRUjfZb2NlctlwJQnBKHhrKWYwbgyfINwqxEM0BskWPMi2i7 AFXPhmeksYvL4QwDeQmFoNwD5ehlcnPpGZBdxtpomv/EzYpIWqQ2+npFq9D2jKcgJS xHUHZxGtyg1rJMr5GndV5P5uyJu9wtVKtmGNMVha6XJ0z0QkYCjh19NyumPX7yU/Yv sm/z8PhhqghDqdbyGXc6A5KSGOh9ZbCCcOuHxpbYyjqIXe7j8O352pXI6OQGWNh7o+ e046r7c8WUksA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 1/7] wifi: rtw89: mac: get TX power control register according to chip gen From: Kalle Valo In-Reply-To: <20231003015446.14658-2-pkshih@realtek.com> References: <20231003015446.14658-2-pkshih@realtek.com> To: Ping-Ke Shih Cc: , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169648887924.613656.14086169480383978465.kvalo@kernel.org> Date: Thu, 5 Oct 2023 06:54:41 +0000 (UTC) X-Spam-Status: No, score=-0.1 required=5.0 tests=DATE_IN_PAST_06_12, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 05 Oct 2023 07:43:14 -0700 (PDT) Ping-Ke Shih wrote: > From: Zong-Zhe Yang > > There are two difference between Wi-Fi 6 and Wi-Fi 7 chips. > 1. Address range of TX power control register > 2. Checking code to get a TX power control register > > So, separate the implementation of them, access according to > chip generation, and rename original things with a suffix `_ax`. > > Signed-off-by: Zong-Zhe Yang > Signed-off-by: Ping-Ke Shih 7 patches applied to wireless-next.git, thanks. 06b26738a7bb wifi: rtw89: mac: get TX power control register according to chip gen d51366421529 wifi: rtw89: phy: set TX power by rate according to chip gen 3b7dc652cc40 wifi: rtw89: phy: set TX power offset according to chip gen 70aa04f2d58c wifi: rtw89: phy: set TX power limit according to chip gen 932f85c18aef wifi: rtw89: phy: set TX power RU limit according to chip gen f680fc569566 wifi: rtw89: debug: show txpwr table according to chip gen 036042e15770 wifi: rtw89: debug: txpwr table supports Wi-Fi 7 chips -- https://patchwork.kernel.org/project/linux-wireless/patch/20231003015446.14658-2-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches