]> 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)
commitc0de655636809970b51416c9c38ca982d67cdb9e
treecbf0c20e4781f9dee85de9324b469f002dc085a9
parente8f9a2535aed279d4256393fb1902c86628327b8
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