Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3692678pxk; Mon, 7 Sep 2020 22:58:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4GBffz3X93Bezn++8x3KKbrSSGsBRuNAvCp0nbjuEQ6z+OVLbUZ4JZtxjtAa6T11NhmxI X-Received: by 2002:a50:f1d1:: with SMTP id y17mr22786181edl.231.1599544732740; Mon, 07 Sep 2020 22:58:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599544732; cv=none; d=google.com; s=arc-20160816; b=UztcSVbyzMJeIKfuDitb9D0x9HMZ01FVRZow3Nudl6o9ckEBZnNspoq7co9hj4P9jO fgHeEhZ0FPuOo+1vawEJ0F0SfNb1v69Fy6KKoi2DH1Jnf79QiWxlcveXxm49CMpV2xxq +HjrPECIEHaefAu9p4ZFcDziIT26x1z3mQ+pxLxsx/GE2dd/tniNp44YNW2VOLIwjbJ9 yaVT0cQmStBn4xm630ZFpfe0Ti/mlhcKwTpDrgbTUTlRvMS0mUEYAE7Ux3tUf2P4zYqq 3I2SebQBogt1xjcXZ+vM0ZAqjY0mgeEmbaP/+dfjP9/wRFx56XeG8nOSloSEzCkXGecN g9gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:date:message-id:user-agent:cc :to:references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature:dkim-signature; bh=eXdmz+Ted5slcKgClFOk9Ax3QFZm8EzGhN5wavBBjuM=; b=wccyZNmWLur1CtSy1VbbmHcWrR3XrMavr4p7cma21SkjGSy2x+Q7UllFBvk3FJaho2 EOBsezLeiFTZFQn19NUvqxrzzO09rHHHuiuegVzMLPWbttFuawgrg8ELcN0O1XF6zUS0 m2ELKAEIMrqO3o5eE8hHz6cCdAMNpW9wnX9aajcusIJPXG9oMa+KqAYl901wfNasmB+w R6wvgYXDvuC9ikjX0RXoZCYRzZy5rsUw3aoGzNZYJwA+jeQSarXPP143mjtL/IBFjA/R briu+0Jtmf6tYsyl1rMcXYIFzCOA5rz0g8O+gxap9Ml0wdTa5S5D3g3V7ExX89YRBuW4 dllQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=hYt+mtYh; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b="RelKfYr/"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz19si12306155ejb.716.2020.09.07.22.58.28; Mon, 07 Sep 2020 22:58:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=hYt+mtYh; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b="RelKfYr/"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728813AbgIHFzv (ORCPT + 99 others); Tue, 8 Sep 2020 01:55:51 -0400 Received: from a27-18.smtp-out.us-west-2.amazonses.com ([54.240.27.18]:47902 "EHLO a27-18.smtp-out.us-west-2.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728895AbgIHFzq (ORCPT ); Tue, 8 Sep 2020 01:55:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zsmsymrwgfyinv5wlfyidntwsjeeldzt; d=codeaurora.org; t=1599544545; h=Content-Type:MIME-Version:Content-Transfer-Encoding:Subject:From:In-Reply-To:References:To:Cc:Message-Id:Date; bh=y2fsGjSMmSiGzjtinuFdAt/BiH6VpG/mknEx1+oppew=; b=hYt+mtYhhn0oWQ3sf/2gTMESGDUWh5JSfYcyaEMEAjgbI7dJ5gZvaaAEl7oFe2q3 10e8+pEAmEeUIRrF7EPbbh7NGnweYYm1GpMO7NA+8jsmIASj7mNXqPJlwhaYbJqWfav o6KD/287D3ZIskUQjh46i8Bahus9BWPNW89BWyOQ= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1599544545; h=Content-Type:MIME-Version:Content-Transfer-Encoding:Subject:From:In-Reply-To:References:To:Cc:Message-Id:Date:Feedback-ID; bh=y2fsGjSMmSiGzjtinuFdAt/BiH6VpG/mknEx1+oppew=; b=RelKfYr/1FSqSumzVaCNHlDPzoabDkAC/f69vcx9vREokHgusTrC4Z2sgyVKNaA3 Zht+fuqIlEM8484vp8DXwdsaaYTpS5nEM1Fo4ChF0dzPSFNk6uaZecFa+IJLiB67ds4 vXQaDMo9Twn29vIBCRJILvKLSDJChFbgVl7XTp00= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,BAYES_00, MISSING_DATE,MISSING_MID,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 899FCC433CA Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2 2/2] ath10k: allow dynamic SAR power limits to be configured From: Kalle Valo In-Reply-To: <1595823458-3926-3-git-send-email-wgong@codeaurora.org> References: <1595823458-3926-3-git-send-email-wgong@codeaurora.org> To: Wen Gong Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, wgong@codeaurora.org User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.5.2 Message-ID: <010101746c48d1eb-9de480bb-d246-4e76-ba29-5e527a427ad3-000000@us-west-2.amazonses.com> Date: Tue, 8 Sep 2020 05:55:45 +0000 X-SES-Outgoing: 2020.09.08-54.240.27.18 Feedback-ID: 1.us-west-2.CZuq2qbDmUIuT3qdvXlRHZZCpfZqZ4GtG9v3VKgRyF0=:AmazonSES Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Wen Gong wrote: > 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 The plan is to have a common API for SAR limits, not use vendor API. Patch set to Rejected. -- https://patchwork.kernel.org/patch/11686327/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches