ath11k.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Wen Gong <quic_wgong@quicinc.com>
To: P Praneesh <ppranees@codeaurora.org>,
	<ath11k@lists.infradead.org>, <johannes@sipsolutions.net>
Cc: <linux-wireless@vger.kernel.org>,
	Karthikeyan Periyasamy <periyasa@codeaurora.org>
Subject: Re: [PATCH v3 2/3] ath11k: Refactor update channel list function
Date: Wed, 24 Nov 2021 11:50:05 +0800	[thread overview]
Message-ID: <0fb4fec3-4fd0-6e92-b1d9-5bffc0958e97@quicinc.com> (raw)
In-Reply-To: <1634906227-22028-3-git-send-email-ppranees@codeaurora.org>

On 10/22/2021 8:37 PM, P Praneesh wrote:

...

> ---
> ...
> -			ch->maxpower = channel->max_power * 2;
> -			ch->maxregpower = channel->max_reg_power * 2;
> -			ch->antennamax = channel->max_antenna_gain * 2;
> ...
>   
> +int ath11k_wmi_update_scan_chan_list(struct ath11k *ar,
> +				     struct scan_req_params *arg)
> ...
> +			ch->maxpower = channel->max_power;
> +			ch->maxregpower = channel->max_reg_power;
> +			ch->antennamax = channel->max_antenna_gain;
> +
> ...
I see it also have another patch to remove the "*2" for power.
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?id=9212c1b9e80a869e732769a4fe7f82d392b219be

ath11k: send proper txpower and maxregpower values to firmware.

so are you the same reason to remove "*2" ?


-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

  parent reply	other threads:[~2021-11-24  3:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-22 12:37 [PATCH v3 0/3] mac80211: Add extended ROC support for 40-80 MHz bandwidth P Praneesh
2021-10-22 12:37 ` [PATCH v3 1/3] nl80211: Extended " P Praneesh
2021-10-25 19:59   ` Johannes Berg
2021-10-22 12:37 ` [PATCH v3 2/3] ath11k: Refactor update channel list function P Praneesh
2021-11-12  8:31   ` Kalle Valo
2021-11-24  3:50   ` Wen Gong [this message]
2021-11-24  7:39     ` Kalle Valo
2021-11-24  7:48       ` Wen Gong
2021-11-24  7:56         ` Kalle Valo
2021-10-22 12:37 ` [PATCH v3 2/3] ath11k: Add ROC support for wide band scan P Praneesh
2021-10-25 20:10   ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0fb4fec3-4fd0-6e92-b1d9-5bffc0958e97@quicinc.com \
    --to=quic_wgong@quicinc.com \
    --cc=ath11k@lists.infradead.org \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=periyasa@codeaurora.org \
    --cc=ppranees@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).