summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorZong-Zhe Yang <kevin_yang@realtek.com>2026-04-20 11:40:50 +0800
committerPing-Ke Shih <pkshih@realtek.com>2026-04-29 12:53:03 +0800
commit2da590b9ccf52d89fed87ec1c5399d1341ba568f (patch)
tree39f8f47db1dba721d7415bb1c3fddabb1c371ce9 /tools/perf/scripts/python/bin/stackcollapse-record
parent602b58bb45b2f2bf848215560406ff87dc9a0ab6 (diff)
wifi: rtw89: chan: introduce new helper to get entity current configuration
The original helper can only queries target channel, but cannot determine current role's status, e.g. is it MLD or not. These things should be a set. Adding more and more helpers to query them individually without synchronous doesn't seem right. Introduce a new helper to query current channel set and role status. Besides, when single channel, e.g. MLO_2_PLUS_0_1RF and MLO_0_PLUS_2_1RF, the target channel pointer will be duplicated to fill the returned channel set. So, some callers can save trivial things for these cases. The returned channels will be non-NULL, so callers don't need trivial NULL check either. Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20260420034051.17666-16-pkshih@realtek.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions