From: Hariharan Basuthkar Date: Mon, 2 Mar 2026 04:03:24 +0000 (+0530) Subject: iw: util: Fix 6 GHz 80 MHz CF1 configuration X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=3dcef44ffd4a16a9eac49bd8016c445b14877294;p=thirdparty%2Fiw.git iw: util: Fix 6 GHz 80 MHz CF1 configuration 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 Link: https://patch.msgid.link/20260302040324.2443341-1-hariharan.basuthkar@oss.qualcomm.com Signed-off-by: Johannes Berg --- 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 */