diff options
author | Muna Sinada <muna.sinada@oss.qualcomm.com> | 2025-03-25 14:31:23 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-06 11:04:15 +0200 |
commit | 284df5142b3a13fc5e3e76d50b17ce2f61904221 (patch) | |
tree | bfd971a282d0e02287bb524dbcf99fe349c7c56c /tools/perf/scripts/python/libxed.py | |
parent | ee53244b17cb709c58d40a2dcee379aa1d844a23 (diff) |
wifi: mac80211: Add link iteration macro for link data
[ Upstream commit f61c7b3d442bef91dd432d468d08f72eadcc3209 ]
Currently before iterating through valid links we are utilizing
open-coding when checking if vif valid_links is a non-zero value.
Add new macro, for_each_link_data(), which iterates through link_id
and checks if it is set on vif valid_links. If it is a valid link then
access link data for that link id.
Signed-off-by: Muna Sinada <muna.sinada@oss.qualcomm.com>
Link: https://patch.msgid.link/20250325213125.1509362-2-muna.sinada@oss.qualcomm.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Stable-dep-of: d87c3ca0f8f1 ("wifi: mac80211: finish link init before RCU publish")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions