]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: cfg80211: remove 5/10 MHz channel support
authorJohannes Berg <johannes.berg@intel.com>
Fri, 29 May 2026 06:40:27 +0000 (08:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jun 2026 12:07:05 +0000 (14:07 +0200)
commit1a15bf9708ba3bf80410065e113aa17cd6a18dcf
treeb12f6862233ad5225fee244f593d8cff182aa543
parent5f508715e960613572fe231837b6b4e250a64f8d
wifi: cfg80211: remove 5/10 MHz channel support

Remove WIPHY_FLAG_SUPPORTS_5_10_MHZ and 5/10 MHz channel
width support. We contemplated this back in early 2023
and didn't do it yet, but nobody stepped up to maintain
it.

It's already _mostly_ dead code since it can really only
be used for AP and maybe IBSS and monitor, but not on a
client since there's no way to scan (and hasn't been in
a very long time, if ever), so the only thing that ever
could really happen with it was run syzbot and trip over
assumptions in the code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Lachlan Hodges <lachlan.hodges@morsemicro.com>
Link: https://patch.msgid.link/20260529084502.080c5885f0b7.I77cc94485b523c3c006005b9233db13cd4e077b3@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/virtual/mac80211_hwsim_main.c
include/net/cfg80211.h
net/wireless/chan.c
net/wireless/core.c
net/wireless/nl80211.c
net/wireless/util.c