diff options
| author | Ilan Peer <ilan.peer@intel.com> | 2026-03-23 23:02:50 +0200 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-03-24 16:29:49 +0100 |
| commit | 6c65b234575610e9795dabe410509a8b61cd4b68 (patch) | |
| tree | 4e7bb20a4c9ad3694a0a1b54f84a64e9f8f7388f /net/wireless | |
| parent | 3f21614c20053e083f07de58202032a73b04a1b7 (diff) | |
wifi: cfg80211: Add support for additional 7 GHz channels
Add support for channels 237, 241, 245, 249, 253 and support
for additional 320 MHz segment.
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260323230242.072942e8e55a.I20eba7b534c6402d5e55f862865ff1e6fef64d83@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
| -rw-r--r-- | net/wireless/chan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/chan.c b/net/wireless/chan.c index fa0764ede9c5..2dcf18f5655e 100644 --- a/net/wireless/chan.c +++ b/net/wireless/chan.c @@ -317,7 +317,7 @@ static bool cfg80211_valid_center_freq(u32 center, int step; /* We only do strict verification on 6 GHz */ - if (center < 5955 || center > 7115) + if (center < 5955 || center > 7215) return true; bw = nl80211_chan_width_to_mhz(width); @@ -325,7 +325,7 @@ static bool cfg80211_valid_center_freq(u32 center, return false; /* Validate that the channels bw is entirely within the 6 GHz band */ - if (center - bw / 2 < 5945 || center + bw / 2 > 7125) + if (center - bw / 2 < 5945 || center + bw / 2 > 7225) return false; /* With 320 MHz the permitted channels overlap */ |
