From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail27.static.mailgun.info ([104.130.122.27]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jOz7B-0003rX-4N for ath10k@lists.infradead.org; Thu, 16 Apr 2020 07:39:18 +0000 MIME-Version: 1.0 Subject: Re: [PATCH 2/2] ath10k: allow dynamic SAR power limits to be configured From: Kalle Valo In-Reply-To: <1576684108-30177-3-git-send-email-kvalo@codeaurora.org> References: <1576684108-30177-3-git-send-email-kvalo@codeaurora.org> Message-Id: <20200416073845.92CE8C433BA@smtp.codeaurora.org> Date: Thu, 16 Apr 2020 07:38:45 +0000 (UTC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Kalle Valo Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Kalle Valo wrote: > From: Wen Gong > > Add support for a vendor command for STATION, the command > QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS which is already defined in > git://w1.fi/hostap.git (src/command/qca-vendor.h). This allows user > space to configure power limits for 2.4 GHz and 5 GHz bands. > > ath10k set pdev parameter WMI_PDEV_PARAM_TXPOWER_LIMIT2G and > WMI_PDEV_PARAM_TXPOWER_LIMIT5G to firmware, the 2 value will > be used as one input source to affect the tx power. > > When QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS set to ath10k, it will > be saved the 2.4G and 5G limit value, If STATION is connected meanwhile, > then the 2.4G and 5G WMI command will be set to firmware, otherwise > it will not set to firmware at this moment. When STATION connect > next time, it will set to firmware. > > Tested with QCA6174 SDIO with firmware WLAN.RMH.4.4.1-00029. > > Signed-off-by: Wen Gong > Signed-off-by: Kalle Valo I'll drop this from my queue now and will resend once there's a concensus on what interface to use. Patch set to Changes Requested. -- https://patchwork.kernel.org/patch/11301107/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k