rtw88: debug: dump tx power indexes in use
authorZong-Zhe Yang <kevin_yang@realtek.com>
Tue, 16 Jul 2019 05:28:20 +0000 (13:28 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 24 Jul 2019 11:53:14 +0000 (14:53 +0300)
commit8812022cb2fdaa1c6d7e0c3e028b45ca039650ea
tree964857db62017bb1ee13a5a27cb88ed995134bec
parent9a29f7d8476c143ddbb9ecca614b66d2842c25d8
rtw88: debug: dump tx power indexes in use

Add a read entry in debugfs to dump current tx power
indexes in use for each path and each rate section.
The corresponding power bases, power by rate, and
power limit are also included.

Also this patch fixes unused function warning.

Fixes: b741422218ef ("rtw88: refine flow to get tx power index")
Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/debug.c