diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2023-08-22 20:58:18 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-08-25 12:59:53 +0300 |
commit | 60168f6c50edd6b972c538aae11cb8861a892c7c (patch) | |
tree | 173ce8fe534e33c8d4df9b8d7557a40b115dc62b /tools/perf/scripts/python/check-perf-trace.py | |
parent | c220d08e1f981c8d381874a55c3c3c76ade43393 (diff) |
wifi: rtw89: mac: generalize code to indirectly access WiFi internal memory
To diagnose abnormal behavior, we need to dump certain internal memory.
For example, dump security CAM when debugging encryption/decryption
problems, or dump BA CAM when debugging abnormal BlockAck.
Since the indirect address and internal memory base address are different
between WiFi 6 and 7 chips, add fields to reuse codes.
Also, only WiFi 6 chips initialize DMAC and CMAC tables via this indirect
interface, so no need to change the constant register address, and
new firmware will help to initialize these tables.
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230822125822.23817-3-pkshih@realtek.com
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions