]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix airtime calculation for quarter/half channels
authorWojciech Dubowik <Wojciech.Dubowik@neratec.com>
Tue, 20 Feb 2018 14:41:43 +0000 (15:41 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Feb 2018 16:47:23 +0000 (18:47 +0200)
commitd4cbdfb2a4727bfdde3c39f7d9e81b329eba93ba
treeb66fda2b865f80a0d10f590aed02462eab84b8ef
parentb103a7c5fcddb89ed7c3f138efe1214c0b9b552f
ath9k: Fix airtime calculation for quarter/half channels

The bitrate value for airtime calculation is specified for
full rates. We need to divide it for 5 and 10MHz channels to
get correct result.

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/hw.c