linux-kernelorg-stable/net/mac80211
Johannes Berg c57e5b9819 wifi: mac80211: fix WARN_ON for monitor mode on some devices
On devices without WANT_MONITOR_VIF (and probably without
channel context support) we get a WARN_ON for changing the
per-link setting of a monitor interface.

Since we already skip AP_VLAN interfaces and MONITOR with
WANT_MONITOR_VIF and/or NO_VIRTUAL_MONITOR should update
the settings, catch this in the link change code instead
of the warning.

Reported-by: Martin Kaistra <martin.kaistra@linutronix.de>
Link: https://lore.kernel.org/r/a9de62a0-28f1-4981-84df-253489da74ed@linutronix.de/
Fixes: c4382d5ca1 ("wifi: mac80211: update the right link for tx power")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2025-07-23 12:29:07 +02:00
..
tests
Kconfig
Makefile
aead_api.c
aead_api.h
aes_ccm.h
aes_cmac.c
aes_cmac.h
aes_gcm.h
aes_gmac.c
aes_gmac.h
agg-rx.c
agg-tx.c
airtime.c
cfg.c wifi: mac80211: Write cnt before copying in ieee80211_copy_rnr_beacon() 2025-07-22 10:38:21 +02:00
chan.c wifi: mac80211: only assign chanctx in reconfig 2025-07-15 11:00:39 +02:00
debug.h
debugfs.c wifi: mac80211: remove DISALLOW_PUNCTURING_5GHZ code 2025-07-09 11:52:36 +02:00
debugfs.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c wifi: mac80211: support initialising current S1G short beacon index 2025-07-18 14:14:44 +02:00
debugfs_netdev.h
debugfs_sta.c
debugfs_sta.h
driver-ops.c wifi: mac80211: don't send keys to driver when fips_enabled 2025-07-15 11:00:38 +02:00
driver-ops.h wifi: mac80211: don't send keys to driver when fips_enabled 2025-07-15 11:00:38 +02:00
drop.h
eht.c
ethtool.c
fils_aead.c
fils_aead.h
he.c
ht.c wifi: mac80211: handle WLAN_HT_ACTION_NOTIFY_CHANWIDTH async 2025-07-15 11:00:39 +02:00
ibss.c
ieee80211_i.h wifi: mac80211: support initialising current S1G short beacon index 2025-07-18 14:14:44 +02:00
iface.c wifi: mac80211: handle WLAN_HT_ACTION_NOTIFY_CHANWIDTH async 2025-07-15 11:00:39 +02:00
key.c wifi: mac80211: don't require cipher and keylen in gtk rekey 2025-07-22 10:43:19 +02:00
key.h
led.c
led.h
link.c wifi: mac80211: avoid weird state in error path 2025-07-09 11:41:38 +02:00
main.c wifi: mac80211: fix WARN_ON for monitor mode on some devices 2025-07-23 12:29:07 +02:00
mesh.c wifi: mac80211: support initialising current S1G short beacon index 2025-07-18 14:14:44 +02:00
mesh.h
mesh_hwmp.c
mesh_pathtbl.c
mesh_plink.c
mesh_ps.c
mesh_sync.c
michael.c
michael.h
mlme.c wifi: mac80211: fix unassigned variable access 2025-07-22 14:13:03 +02:00
ocb.c
offchannel.c
parse.c wifi: mac80211: fix non-transmitted BSSID profile search 2025-07-07 10:42:48 +02:00
pm.c
rate.c
rate.h
rc80211_minstrel_ht.c
rc80211_minstrel_ht.h
rc80211_minstrel_ht_debugfs.c
rx.c wifi: cfg80211/mac80211: report link ID for unexpected frames 2025-07-21 19:40:59 +02:00
s1g.c
scan.c wifi: mac80211: copy first_part into HW scan 2025-07-09 11:52:36 +02:00
spectmgmt.c
sta_info.c wifi: mac80211: add mandatory bitrate support for 6 GHz 2025-07-09 11:52:35 +02:00
sta_info.h
status.c
tdls.c wifi: mac80211: reject TDLS operations when station is not associated 2025-07-18 14:11:27 +02:00
tkip.c
tkip.h
trace.c
trace.h
trace_msg.h
tx.c Reapply "wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()" 2025-07-18 14:29:30 +02:00
util.c wifi: mac80211: support initialising current S1G short beacon index 2025-07-18 14:14:44 +02:00
vht.c wifi: mac80211: make VHT opmode NSS ignore a debug message 2025-07-15 10:59:11 +02:00
wbrf.c
wep.c
wep.h
wme.c
wme.h
wpa.c
wpa.h