public inbox for ath12k@lists.infradead.org
 help / color / mirror / Atom feed
From: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
To: Rajat Soni <quic_rajson@quicinc.com>, ath12k@lists.infradead.org
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH ath-next 1/3] wifi: ath12k: Add helper function ath12k_mac_update_freq_range()
Date: Wed, 16 Apr 2025 09:34:11 +0530	[thread overview]
Message-ID: <f1dfefe4-8100-178a-2cb0-8ec1cda4337e@oss.qualcomm.com> (raw)
In-Reply-To: <20250408042128.720263-2-quic_rajson@quicinc.com>



On 4/8/2025 9:51 AM, Rajat Soni wrote:
> In a subsequent change, the frequency range needs to be updated with
> each regulatory update. Since the current function also modifies the
> DISABLED flag in the actual channel list, which should always align
> with hardware-supported start and end frequencies rather than the
> current operating ones, the existing function cannot be called again.
> Therefore, the logic for setting the frequency range needs to be
> refactored.
> 
> To address this, refactor the frequency setting part into a new
> helper function, ath12k_mac_update_freq_range(). Since this needs
> to be done independently of updating the DISABLED flag, call the new
> helper function ath12k_mac_update_freq_range() after updating the
> channel list for each band.
> 
> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1
> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
> 
> Signed-off-by: Rajat Soni <quic_rajson@quicinc.com>

Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>


  reply	other threads:[~2025-04-16  4:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-08  4:21 [PATCH ath-next 0/3] wifi: ath12k: Properly update frequency range Rajat Soni
2025-04-08  4:21 ` [PATCH ath-next 1/3] wifi: ath12k: Add helper function ath12k_mac_update_freq_range() Rajat Soni
2025-04-16  4:04   ` Vasanthakumar Thiagarajan [this message]
2025-04-08  4:21 ` [PATCH ath-next 2/3] wifi: ath12k: Fix frequency range in driver Rajat Soni
2025-04-16  4:04   ` Vasanthakumar Thiagarajan
2025-04-16  4:09   ` Vasanthakumar Thiagarajan
2025-04-16 14:42     ` Jeff Johnson
2025-04-16 16:08       ` Vasanthakumar Thiagarajan
2025-04-08  4:21 ` [PATCH ath-next 3/3] wifi: ath12k: Update frequency range if reg rules changes Rajat Soni
2025-04-16  4:15   ` Vasanthakumar Thiagarajan
2025-04-17 22:57 ` [PATCH ath-next 0/3] wifi: ath12k: Properly update frequency range Jeff Johnson

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=f1dfefe4-8100-178a-2cb0-8ec1cda4337e@oss.qualcomm.com \
    --to=vasanthakumar.thiagarajan@oss.qualcomm.com \
    --cc=ath12k@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=quic_rajson@quicinc.com \
    /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