]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: pass frame type to element parsing
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Nov 2025 15:08:10 +0000 (16:08 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 10 Nov 2025 09:39:02 +0000 (10:39 +0100)
commit68eb1b791ac8da7c3d03967143f1417e2978bf5e
treedc8a352a55c79a34a68735d9b3aeb63abdd1213d
parent1fba15768585ef75dbf86b1c75533dd5b81e247a
wifi: mac80211: pass frame type to element parsing

This will be needed for UHR operation parsing, and we
already pass whether or not the frame is an action
frame, replace that by the full type. Note this fixes
a few cases where 'false' was erroneously passed (mesh
and TDLS) and removes ieee802_11_parse_elems_crc() as
it's unused.

Link: https://patch.msgid.link/20251105160810.a476d20a6e01.Ie659535f9357f2f9a3c73f8c059ccfc96bf93b54@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
12 files changed:
include/linux/ieee80211.h
net/mac80211/agg-rx.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/mesh.c
net/mac80211/mesh_hwmp.c
net/mac80211/mesh_plink.c
net/mac80211/mlme.c
net/mac80211/parse.c
net/mac80211/scan.c
net/mac80211/tdls.c
net/mac80211/tests/elems.c