summaryrefslogtreecommitdiff
path: root/include/linux/fortify-string.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2026-01-08 14:34:32 +0100
committerJohannes Berg <johannes.berg@intel.com>2026-01-12 19:48:17 +0100
commitf813117f200b5a7d12cdfc38482aa6e75af89e6f (patch)
tree83e555908cdf750d64c9e387747dd1a59b46d8ec /include/linux/fortify-string.h
parent6b3bafa2bd6b778a92884834b7382ed39b692155 (diff)
wifi: mac80211: improve station iteration ergonomics
Right now, the only way to iterate stations is to declare an iterator function, possibly data structure to use, and pass all that to the iteration helper function. This is annoying, and there's really no inherent need for it. Add a new for_each_station() macro that does the iteration in a more ergonomic way. To avoid even more exported functions, do the old ieee80211_iterate_stations_mtx() as an inline using the new way, which may also let the compiler optimise it a bit more, e.g. via inlining the iterator function. Link: https://patch.msgid.link/20260108143431.d2b641f6f6af.I4470024f7404446052564b15bcf8b3f1ada33655@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/fortify-string.h')
0 files changed, 0 insertions, 0 deletions