Linux wireless drivers development
 help / color / mirror / Atom feed
From: Hariharan Basuthkar <hariharan.basuthkar@oss.qualcomm.com>
To: johannes@sipsolutions.net
Cc: linux-wireless@vger.kernel.org,
	Hariharan Basuthkar <hariharan.basuthkar@oss.qualcomm.com>
Subject: [PATCH] iw: util: Fix 6 GHz 80 MHz CF1 configuration
Date: Mon,  2 Mar 2026 09:33:24 +0530	[thread overview]
Message-ID: <20260302040324.2443341-1-hariharan.basuthkar@oss.qualcomm.com> (raw)

Fix the 80 MHz base-frequency table used by get_cf1().

Replace the incorrect 6195 MHz entry with 6915 MHz in bw80[] so center_freq1
is computed correctly for 6 GHz 80 MHz channels.

Signed-off-by: Hariharan Basuthkar <hariharan.basuthkar@oss.qualcomm.com>

---
 util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.c b/util.c
index 06c3347..e6d42e5 100644
--- a/util.c
+++ b/util.c
@@ -2097,7 +2097,7 @@ int get_cf1(const struct chanmode *chanmode, unsigned long freq)
 	unsigned int bw80[] = { 5180, 5260, 5500, 5580, 5660, 5745,
 				5955, 6035, 6115, 6195, 6275, 6355,
 				6435, 6515, 6595, 6675, 6755, 6835,
-				6195, 6995 };
+				6915, 6995 };
 	unsigned int bw160[] = { 5180, 5500, 5955, 6115, 6275, 6435,
 				  6595, 6755, 6915 };
 	/* based on 11be D2 E.1 Country information and operating classes */

base-commit: b9f9dda5898bd03ae679922e424097f556351790
-- 
2.34.1


                 reply	other threads:[~2026-03-02  4:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20260302040324.2443341-1-hariharan.basuthkar@oss.qualcomm.com \
    --to=hariharan.basuthkar@oss.qualcomm.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.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