]> git.hungrycats.org Git - linux/commit
wifi: cfg80211: add a flag to disable wireless extensions
authorJohannes Berg <johannes.berg@intel.com>
Thu, 14 Mar 2024 10:09:51 +0000 (11:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:11:48 +0000 (15:11 +0200)
commitf1c91159c7e572f8a7ec275014fe0b471ac50d73
tree0296a98c95d7ccc32bf1cc8368c53d9279a3df2f
parent2884a50f52313a7a911de3afcad065ddbb3d78fc
wifi: cfg80211: add a flag to disable wireless extensions

commit be23b2d7c3b7c8bf57b1cf0bf890bd65df9d0186 upstream.

Wireless extensions are already disabled if MLO is enabled,
given that we cannot support MLO there with all the hard-
coded assumptions about BSSID etc.

However, the WiFi7 ecosystem is still stabilizing, and some
devices may need MLO disabled while that happens. In that
case, we might end up with a device that supports wext (but
not MLO) in one kernel, and then breaks wext in the future
(by enabling MLO), which is not desirable.

Add a flag to let such drivers/devices disable wext even if
MLO isn't yet enabled.

Cc: stable@vger.kernel.org
Link: https://msgid.link/20240314110951.b50f1dc4ec21.I656ddd8178eedb49dc5c6c0e70f8ce5807afb54f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/net/cfg80211.h
net/wireless/wext-core.c