]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ath9k: Fix NF CCA limits for AR9287 and AR9227
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Wed, 22 Jul 2015 08:42:43 +0000 (10:42 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 14 Oct 2015 11:05:00 +0000 (14:05 +0300)
commit406df18f1f551a7f54bc68b56cf3ceb36f50cfc4
tree3cf67959325aada5c067a6faed184f6fd86fa5c7
parentf1d2b4d338bf090296f67830025228872fd52513
ath9k: Fix NF CCA limits for AR9287 and AR9227

The FreeBSD driver [0] uses the same 2G values as for the AR9280 chips.
Using the same values in ath9k results in much better throughput for me.

Before this patch I had a huge amount of packet loss (sometimes up to
40%) and the max transfer speed was somewhere around 5Mbit/s. With this
patch applied I have zero packet loss and ten times the throughput.
My device uses a AR9227 which is the PCI variant of the AR9287.

[0] http://bxr.su/FreeBSD/sys/dev/ath/ath_hal/ar9002/ar9287.h

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/ar9002_phy.h