diff options
author | Zong-Zhe Yang <kevin_yang@realtek.com> | 2025-05-05 15:24:39 +0800 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2025-05-10 08:59:02 +0800 |
commit | 9dd85e739ce0765f022014c3e0713e1007d7ef60 (patch) | |
tree | 09fdefa4faf5b24fda34d385ee1012cae693bf59 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 18dab90f56531863611fd6b090c4f6e513fe35cf (diff) |
wifi: rtw89: debug: add mlo_mode dbgfs
Add an dbgfs mlo_mode to get/set MLO mode. And, support to trigger MLSR
switching. Setting it will automatically disable MLO Dynamic Mechanism
(DM). Then MLO things can follow commands via dbgfs mlo_mode instead of
MLO DM. The disabled DM(s) can be checked/cleared via dbgfs disable_dm.
The following is an use example.
Read it to show current MLD status.
$ cat mlo_mode
MLD(s) status: (MLO DM: enable)
#0: MLO mode 0, valid 0x6, active 0x2
Write it to switch to MLSR on link id 2.
$ echo 0 2 > mlo_mode
$ cat mlo_mode
MLD(s) status: (MLO DM: disable)
#0: MLO mode 0, valid 0x6, active 0x4
Besides, to be safer, add RWLOCK attribute to dbgfs disable_dm.
Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250505072440.45113-11-pkshih@realtek.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions