]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mac80211: Drop cooked monitor support
authorAlexander Wetzel <Alexander@wetzel-home.de>
Tue, 4 Feb 2025 11:13:52 +0000 (12:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:13:32 +0000 (11:13 +0200)
commit32e814f2e472d00c4e01713a6baf8a23813d616f
tree9c88a0008d94c41f6e12fc866e8d06d28dc5a634
parent6a3b2b07a88cce9f51f8fff5e709c1569fbb528e
wifi: mac80211: Drop cooked monitor support

[ Upstream commit 286e696770654d79b34bd15953e7101a1c4784c7 ]

Hostapd switched from cooked monitor interfaces to nl80211 Dec 2011.
Drop support for the outdated cooked monitor interfaces and fix
creating the virtual monitor interfaces in the following cases:

 1) We have one non-monitor and one monitor interface with
    %MONITOR_FLAG_ACTIVE enabled and then delete the non-monitor
    interface.

 2) We only have monitor interfaces enabled on resume while at least one
    has %MONITOR_FLAG_ACTIVE set.

Signed-off-by: Alexander Wetzel <Alexander@wetzel-home.de>
Link: https://patch.msgid.link/20250204111352.7004-2-Alexander@wetzel-home.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/dropreason.h
net/mac80211/cfg.c
net/mac80211/drop.h
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/main.c
net/mac80211/rx.c
net/mac80211/status.c
net/mac80211/tx.c