Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp719626pxb; Thu, 19 Nov 2020 12:03:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJwia9wS3d2PjJgtTQEPBUSoTxTdA7PKoTHXJPLebvYK4eEUbEW4P+Djcx9iRqcNYzGJsA5l X-Received: by 2002:aa7:c503:: with SMTP id o3mr15614413edq.4.1605816225035; Thu, 19 Nov 2020 12:03:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605816224; cv=none; d=google.com; s=arc-20160816; b=af57YoXYcZaVFB97SqeZiNMYo39ua4zjRsradHD9YKOEUqQ676P+saCTK+gi9MSu5S vZCPj36cvQ9yvRZQl0yWifQ8B21nyr/URQKNb2lOZ1rItX0t+JUq8dbsrohjBU+XrvrJ dnYF9DUlbROhpFHJoyS+UezIamO5ZYZZZ6ubXcyEdp5eHQtBFGL5nSHaJWN4s+fAeBst HkH9KdkPBOzDDuFfe7Zt8zkG+KxlY5dK0cy+aXTWB0d1/byURzJ30jP6I2bUPIqslAOT lv0cQgy1ISs0DEXzeYbhX4A3D5vOpvdMQ9xpBrerAKdxVj9rB8Bw/LYDRRjSSt+r7nL0 8e7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Byum6qV893Xpawog7+D8XTJB1Lt/Fhd8GCtgU9ZgIqU=; b=NG3XqsEWHaamY9bRbb/dI0vsVcf9/Pyi1xzpu8ll6ZJCVORTnm5BXe/5c70KO1Y9rl eJmiOhqs0mqCi24zkL7JEQn89Cu0l2lt7LgN6zds3ybmPSWaZit4nkDnjHEjB9aUYaYM TmO20ca5Pp/eTpVo6J/87ccjP6qokKQvIDAFPrU0xO68crorA/C3DEqj1e1+9YMjvsZY usi2ShBa+qB90yzCSezbTvV4toK6IiVh6IEj2a5/MdGLXpCtBynXW188jMD88NqsvUcw P0T7AYVZ6FpVYL1xVIwqk8bvh7u0QwvipZrSQg+F3v3U9A1G4Qip88S0JbBZXldB165W D4JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Zy1I5IMR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o13si465183ejb.377.2020.11.19.12.03.06; Thu, 19 Nov 2020 12:03:44 -0800 (PST) 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=@chromium.org header.s=google header.b=Zy1I5IMR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727811AbgKSUC2 (ORCPT + 99 others); Thu, 19 Nov 2020 15:02:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727729AbgKSUC1 (ORCPT ); Thu, 19 Nov 2020 15:02:27 -0500 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BD59C0613CF for ; Thu, 19 Nov 2020 12:02:27 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id h21so7837541wmb.2 for ; Thu, 19 Nov 2020 12:02:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Byum6qV893Xpawog7+D8XTJB1Lt/Fhd8GCtgU9ZgIqU=; b=Zy1I5IMR6Wt/dDm9Th2vSf7DCO0r2d3fVAWUHrpjp+6PKpCqJ7txeLMR04zRppm4Gr ARvquS1S9X1tJPfBS7BumkZQGCg/8qo3D4rJ60nznWCZtNan7W2EkzQgn2csqEejy8U7 J5U071uz/9njNI6WIMGgiFnHkd8oom8gnwLFU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Byum6qV893Xpawog7+D8XTJB1Lt/Fhd8GCtgU9ZgIqU=; b=d9XReKikWCr4zFatLRuI2g/G7iO4UbfxE36iSJ9l41itd4KcYXSDkyZyFNq7jtuVZm xC9n8SQrd3UQ5xfOKxWh0cV0OlkYom0EvNtC7byOEF0mkLpSHv25Q9PBteg9yYcTqy2t bAuCItbcTAdfAxIIbP3Qd4fQ4BJX1pT63ZcKDtexQXmUs4aXXC1CX7L68MKtnjzs1GK6 9KM/MH9OAUCNZQKsvxciPhRiAb1lshJfDBshNGktQtsuI07N+0GVjvW7l3yRVazZc519 LCPm4yDfIUsJepO/2PDiqV9YpozG0ZtQ4vdjpW8Hpf4zFzbVtT5zM8tlrvGZViVzwbSU 7ArA== X-Gm-Message-State: AOAM531wi2W2SQzYFgppgVkIXgyZoXLJ0mC/hrjS6r2A28iss5oy4aHy Ru0Z8rnwIm5IZd/cpQ8DjgpDL5JcEIZk9hUNJ755SQ== X-Received: by 2002:a1c:103:: with SMTP id 3mr6020786wmb.81.1605816146302; Thu, 19 Nov 2020 12:02:26 -0800 (PST) MIME-Version: 1.0 References: <20201106100708.4609-1-cjhuang@codeaurora.org> <20201106100708.4609-4-cjhuang@codeaurora.org> In-Reply-To: <20201106100708.4609-4-cjhuang@codeaurora.org> From: Abhishek Kumar Date: Thu, 19 Nov 2020 12:02:16 -0800 Message-ID: Subject: Re: [PATCH 3/3] ath10k: allow dynamic SAR power limits via common API To: Carl Huang Cc: ath10k , linux-wireless , Brian Norris , Douglas Anderson , kuabhs@google.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, This patch looks good to me, there is one small nit, If the maintainer can take care of it then probably we don't need a new rev. > @@ -329,6 +336,7 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { > .fw_diag_ce_download = true, > .tx_stats_over_pktlog = false, > .supports_peer_stats_info = true, > + .dynamic_sar_support = true, > }, Orthogonal to this patch, other people might probably differ, I guess putting dynamic sar support as a firmware feature capability should be more scalable and then we don't need a structure table for each firmware. This might hold for other firmware features as well. > + ath10k_dbg(ar, ATH10K_DBG_MAC, "mac txpower 2g:%d 5g:%d\n", > + tx_power_2g, tx_power_5g); just a nit: space after colon. This might throw a warning in checkpatch.pl -Abhishek