]> Gentwo Git Trees - linux/.git/commit
wifi: rtw89: debugfs: support multiple adapters debugging
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 16 Aug 2024 11:57:00 +0000 (19:57 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Thu, 22 Aug 2024 02:03:24 +0000 (10:03 +0800)
commita3f00afc250aac2a4ed04828b9ec27278aebfe46
tree1cb7526a7ef81186e218886fb42a9a8ce973d1f5
parent77c977327dfaa9ae2e154964cdb89ceb5c7b7cf1
wifi: rtw89: debugfs: support multiple adapters debugging

The rtw89 uses debugfs to access registers and driver states. To get
a range of registers, the range value is set and stored to a variable, and
get the set of register values by the stored range. However, the variable
is a static global variable, which multiple adapters will be a problem,
so move the variable to adapter context rtw89_dev.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20240816115700.17390-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/debug.c
drivers/net/wireless/realtek/rtw89/debug.h