diff options
author | 2025-05-05 15:24:39 +0800 | |
---|---|---|
committer | 2025-05-10 08:59:02 +0800 | |
commit | 9dd85e739ce0765f022014c3e0713e1007d7ef60 (patch) | |
tree | 09fdefa4faf5b24fda34d385ee1012cae693bf59 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | wifi: rtw89: debug: add FW log component for MLO (diff) | |
download | wireguard-linux-9dd85e739ce0765f022014c3e0713e1007d7ef60.tar.xz wireguard-linux-9dd85e739ce0765f022014c3e0713e1007d7ef60.zip |
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 '')
0 files changed, 0 insertions, 0 deletions