From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9CA41C433DB for ; Tue, 26 Jan 2021 17:55:58 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 448AE22472 for ; Tue, 26 Jan 2021 17:55:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 448AE22472 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=ath10k-bounces+ath10k=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Date:Message-Id:To:References:In-Reply-To:From: Subject:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/hiV089xijTfa9phDsgGrHhu1rVlWXR6o0QbjnoHmlY=; b=oqEwo2UkBOYYCjn0veINKEmqQ Ic4dM7nkWJmCdfpSIgSyDGMWvPWNKbozA3ElcoB9wkWEY0DF9KL+FLEVhRImqrrJn8/Q9t//2a1Ua vHPXK6y16I5perDYS/sMdLhx5fu7bQ8ES3isZ7qh58R6rjm8KNComMM9PjW0tkmxqXkXkthLRxUyn d7HnhHwyEL3h/k8ohZBxrJs1Yz6w699meU3mFff1ZK04d7pob7jJwuiBtLED+JQZ0IjrgmQDJahG9 btVrUuY1DB848fw6kChxvBQl4JdrvBMapVWDwdS+H+gWAlsEZaXCjdeGb3MUUnk/otxUZcpF1rWJu ksBneSXRg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4SYR-0002Mb-5f; Tue, 26 Jan 2021 17:55:03 +0000 Received: from m42-8.mailgun.net ([69.72.42.8]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4SYN-0002LO-JT for ath10k@lists.infradead.org; Tue, 26 Jan 2021 17:55:00 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1611683698; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=YcFGRK80viLYSMj8aiSnVDbBzfSTf8W9ZBT7ENKIOns=; b=Ou2LrTUryFw3B7dUIld6A5iAzuj4zfVz+rP7dUlLMQlCZAyz0236HN7Jomip6LJBO8oeCURN fTHRWTGS/TslHLmt2VNk9WFF9R3M1922cARV8jPKSK0QxOnnCquCmZWX0JT+TAYcUFJIIiqY PJfH2+aI288Zo5+TPpyzj+5Y8KU= X-Mailgun-Sending-Ip: 69.72.42.8 X-Mailgun-Sid: WyJiZDQ3OSIsICJhdGgxMGtAbGlzdHMuaW5mcmFkZWFkLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-west-2.postgun.com with SMTP id 60105771f07bb817ad5ef329 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 26 Jan 2021 17:54:57 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id BE02CC433C6; Tue, 26 Jan 2021 17:54:56 +0000 (UTC) Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 17D71C433CA; Tue, 26 Jan 2021 17:54:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 17D71C433CA 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 MIME-Version: 1.0 Subject: Re: [PATCH v4 3/3] ath10k: allow dynamic SAR power limits via common API From: Kalle Valo In-Reply-To: <20201203103728.3034-4-cjhuang@codeaurora.org> References: <20201203103728.3034-4-cjhuang@codeaurora.org> To: Carl Huang User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.5.2 Message-Id: <20210126175456.BE02CC433C6@smtp.codeaurora.org> Date: Tue, 26 Jan 2021 17:54:56 +0000 (UTC) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210126_125459_708354_22A559A9 X-CRM114-Status: GOOD ( 12.28 ) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: briannorris@chromium.org, linux-wireless@vger.kernel.org, dianders@chromium.org, ath10k@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+ath10k=archiver.kernel.org@lists.infradead.org Carl Huang wrote: > ath10k assigns ath10k_mac_set_sar_specs to ath10k_ops, and > this function is called when user space application calls > NL80211_CMD_SET_SAR_SPECS. ath10k also registers SAR type, > and supported frequency ranges to wiphy so user space can > query SAR capabilities. > > This SAR power limitation is compared to regulatory txpower > and selects the minimal one to set when station is connected. > Otherwise, it delays until the station is connected. If the > station is disconnected, it returns to regulatory txpower. > > This feature is controlled by hw parameter: dynamic_sar_support. > > Tested-on: QCA6174 hw3.2 PCI WLAN.RM.4.4.1-00110-QCARMSWP-1 > > Signed-off-by: Carl Huang > Reviewed-by: Brian Norris > Reviewed-by: Abhishek Kumar > Reported-by: kernel test robot > Signed-off-by: Kalle Valo In the pending branch I changed the error handling in ath10k_mac_set_sar_specs() to follow the ath10k style. -- https://patchwork.kernel.org/project/linux-wireless/patch/20201203103728.3034-4-cjhuang@codeaurora.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k