Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp442769rwe; Fri, 14 Apr 2023 05:23:13 -0700 (PDT) X-Google-Smtp-Source: AKy350ZKM4vCoBektONMXYvUjD9wBb/qX3/ROL7kIEypP3zQGXcz3r9Ir+IISNC0yFzKFsF3e6Jl X-Received: by 2002:aa7:88ca:0:b0:63b:6727:eda0 with SMTP id k10-20020aa788ca000000b0063b6727eda0mr2666323pff.26.1681474992959; Fri, 14 Apr 2023 05:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681474992; cv=none; d=google.com; s=arc-20160816; b=pidKh4qQJfNbbIhAtifYLFslSNXmiPBgbIfWFbmBagI5wUUesadDQpbL3IRPrQ6Rzl VgM9pTJAezWx1MI0zCZz2tj1/FSmCUW8MTjWRl1bep8opu1oUwd502tmAKxiNAXqmouZ xu46QtCet1YqkO65AeV6dgBtQfiZZAa7sDeDJB9diIiMmFOqmazC9KQ2/QBvXy6LvPs5 /4UUy7KyWl8/9nLLm6o6xSmAKveSvgVbEQC1irYOy22n4R7faonotrddVb0jhcba0Rxf 0MNSvnHFWX9Ivar9sQE/vFF7lmtaQLGyoA/mLDqnMA0YkEosiVa/NEI3ifdAJ/VzP/A6 MtZw== 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=Yg5XferMCDaLXxNiK01gLhjdRsxxVvxFuM+IGQDPuqI=; b=sXnzAakPAbIsHTtgcYWq2DoAkTQ6tWvF3RTUTSiruecumuDClagStYQ1pAI4kb2gSG LN8tQjflm79STZIiN116yk3+6p/WnE7iadYD6UuRvlpPt/312qxr9294N6MLw4vA8lzM 3glYkCzpRRLMNHrEL46E7nu2RLdPVMlGGqurt9s82Xb51oueLcRUT4z0WdkkD2X4bTeg nmkyAq7EmWJboNizLYQgT3bA6td+453QdWQjZ2IUU/0PSF7fBR3PnjthlbWkTeKeZOV8 mWj8QTB8K4soQl0i2JX5n9upfBa8RSwX4ckeet4JVzvBxMtAin1iZgN4yVEnatWVpRGM CjmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Zq2XE2pz; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 199-20020a6304d0000000b0051b59786e72si3196744pge.377.2023.04.14.05.23.05; Fri, 14 Apr 2023 05:23:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Zq2XE2pz; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230306AbjDNMWo (ORCPT + 62 others); Fri, 14 Apr 2023 08:22:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230176AbjDNMWl (ORCPT ); Fri, 14 Apr 2023 08:22:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBB0AB44C for ; Fri, 14 Apr 2023 05:22:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 53E9E60B40 for ; Fri, 14 Apr 2023 12:22:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D8FAC433EF; Fri, 14 Apr 2023 12:22:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681474957; bh=wFxs7nX1/NzmfvsB691Vy6NQgHZJcexK7R9WQseiulk=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=Zq2XE2pzlNPPT+msiK4EWYhgz2o9PfLivFhGl0aV3PxjwsCmGSgxPlWMQTCvJIy9c fjnrImJ7EaOG5vOtKH9kWt8cjh8WBQytAlHO8qdwldFTbeROiXGGLZ4pe3MicwQnhv DCSI9hPqUfIub0pK2ifLZP/gBbf53H819DxdOH9iPuGlDtvuACGaTdgOuSIyyzvlfo LSZaNydvIZeP3oydhYnRiYQK6SOhy0S2Lvjcx16XD2JqehmQWU/LDdevmh/GCTVAVS Xtt8jLLnkOymu6qKEQlxAfI9bqaWGgg5sAY4I0GJ2E7boTbuyPTIa3/w7ZVS+vld8k F9/jAHQ6Yg1bg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: rtw89: support parameter tables by RFE type From: Kalle Valo In-Reply-To: <20230330080331.37155-1-pkshih@realtek.com> References: <20230330080331.37155-1-pkshih@realtek.com> To: Ping-Ke Shih Cc: , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <168147495263.16522.11700992716819261769.kvalo@kernel.org> Date: Fri, 14 Apr 2023 12:22:36 +0000 (UTC) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Ping-Ke Shih wrote: > From: Zong-Zhe Yang > > One chip can have different RFE (RF front end) types which we will judge > at runtime. And, different RFE types may use different RF parameter tables. > Though we didn't really meet this case previously, we are going to meet it > on upcoming chip RTL8851B. So, this commit handles parameter tables for > runtime RFE type. > > We now encapsulate rtw89_txpwr_rule_<2/5/6>ghz tables into rtw89_rfe_parms. > Then, each chip defines its default parameter tables, and if needed, it can > configure extra parameter tables by RFE type. Finally we determine runtime > parameter tables by RFE type if one is configured. Otherwise, we use the > default parameter tables. > > For now, we just move all settings under default parameter tables. We will > configure parameter tables by RFE types in separate commits afterwards. > > Signed-off-by: Zong-Zhe Yang > Signed-off-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. 5395482afabb wifi: rtw89: support parameter tables by RFE type -- https://patchwork.kernel.org/project/linux-wireless/patch/20230330080331.37155-1-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches