]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f37f5f9cd098065f3ed75d9ed5769e328e1f00d
tree964857db62017bb1ee13a5a27cb88ed995134bec
parentf5715ec1f5cca7433eb1103fe27d5a34e539f09a
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: 28e489968caa ("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