wifi: mac80211: Drop cooked monitor support
authorAlexander Wetzel <Alexander@wetzel-home.de>
Tue, 4 Feb 2025 11:13:52 +0000 (12:13 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Feb 2025 10:58:17 +0000 (11:58 +0100)
commit286e696770654d79b34bd15953e7101a1c4784c7
tree6aa4e3213d480d0e49484382730063626d949a6c
parentbe22179cfb2fb1164004b70b33a4bdf67e6dd349
wifi: mac80211: Drop cooked monitor support

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>
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