]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: 8822c: use more accurate ofdm fa counting
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Fri, 14 Jun 2019 07:24:11 +0000 (15:24 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 25 Jun 2019 05:08:58 +0000 (08:08 +0300)
commit03f62070455d89fbe736c663200b9342f3682a68
treecbf0c20e4781f9dee85de9324b469f002dc085a9
parent360caeedc8291b726fd5d3e9012c342a459e5d63
rtw88: 8822c: use more accurate ofdm fa counting

8822c used to count OFDM FA count by subtracting tx count from FA count.
But it need to substract more counters to be accurate.

However, we can count it by adding up all of the FA counters we want.
And it is simpler to add than list all of the components to substract.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/rtw8822c.c
drivers/net/wireless/realtek/rtw88/rtw8822c.h