linux/drivers/net/wireless/silabs/wfx
Johannes Berg 08e6183ed2 wifi: move action code from per-type frame structs
The action code actually serves to identify the type of action
frame, so it really isn't part of the per-type structure. Pull
it out and have it in the general action frame format.

In theory, whether or not the action code is present in this
way is up to each category, but all categories that are defined
right now all have that value.

While at it, and since this change requires changing all users,
remove the 'u' and make it an anonymous union in this case, so
that all code using this changes.

Change IEEE80211_MIN_ACTION_SIZE to take an argument which says
how much of the frame is needed, e.g. category, action_code or
the specific frame type that's defined in the union. Again this
also ensures that all code is updated.

In some cases, fix bugs where the SKB length was checked after
having accessed beyond the checked length, in particular in FTM
code, e.g. ieee80211_is_ftm().

Link: https://patch.msgid.link/20260226183607.67e71846b59e.I9a24328e3ffcaae179466a935f1c3345029f9961@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2026-03-06 10:36:26 +01:00
..
bh.c
bh.h
bus_sdio.c wifi: wfx: allow to enable WoWLAN using NL80211 2025-03-07 09:24:22 +01:00
bus_spi.c wifi: wfx: allow to enable WoWLAN using NL80211 2025-03-07 09:24:22 +01:00
bus.h wifi: wfx: allow to enable WoWLAN using NL80211 2025-03-07 09:24:22 +01:00
data_rx.c wifi: move action code from per-type frame structs 2026-03-06 10:36:26 +01:00
data_rx.h
data_tx.c wifi: wfx: fix case where rates are out of order 2023-10-09 09:54:14 +03:00
data_tx.h wifi: wfx: allow to send frames during ROC 2023-10-09 09:53:07 +03:00
debug.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
debug.h
fwio.c kernel.h: drop hex.h and update all hex.h users 2026-01-20 19:44:19 -08:00
fwio.h
hif_api_cmd.h
hif_api_general.h
hif_api_mib.h
hif_rx.c
hif_rx.h
hif_tx_mib.c
hif_tx_mib.h
hif_tx.c wifi: wfx: introduce hif_scan_uniq() 2023-10-09 09:53:07 +03:00
hif_tx.h wifi: wfx: introduce hif_scan_uniq() 2023-10-09 09:53:07 +03:00
hwio.c
hwio.h
Kconfig
key.c
key.h
main.c wifi: wfx: add WQ_PERCPU to alloc_workqueue users 2025-11-20 10:25:46 +01:00
main.h
Makefile
queue.c wifi: wfx: allow to send frames during ROC 2023-10-09 09:53:07 +03:00
queue.h wifi: wfx: allow to send frames during ROC 2023-10-09 09:53:07 +03:00
scan.c wifi: wfx: implement wfx_remain_on_channel() 2023-10-09 09:53:08 +03:00
scan.h wifi: wfx: implement wfx_remain_on_channel() 2023-10-09 09:53:08 +03:00
sta.c wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
sta.h wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
traces.h
wfx.h wifi: wfx: implement wfx_remain_on_channel() 2023-10-09 09:53:08 +03:00