]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: refactor chandef tracing macros
authorJohannes Berg <johannes.berg@intel.com>
Tue, 3 Mar 2026 14:26:17 +0000 (15:26 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Mar 2026 06:11:14 +0000 (07:11 +0100)
commitba9d121f85771cce38012d1bee59d7399250e4a5
treeaf6d9c8e414826325d5789c5119fe7d5b31b18a6
parentf2514ff78855c45fe93c82bdb45f7609dd70c637
wifi: mac80211: refactor chandef tracing macros

We don't need to duplicate the macros, just make a generic
one that gets the name prefix to be used, and use that to
create the others. While at it, add the puncturing bitmap
to the trace and simplify the ternary expressions.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260303152641.ca32d70055f8.I8138a31ceb75715d928d807554288baccc33cd8c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/trace.h