]> git.ipfire.org Git - thirdparty/kernel/stable.git/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:28:54 +0000 (15:28 +0200)
commit6956ba7da71bb1f69f0312e4f6d122c1376939e9
tree1863074909411de84c85f5bcf0f4000ae709cdb1
parent6b948b54c8bd620725e0c906e44b10c0b13087a7
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