linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] ath9k: Fix NF CCA limits for AR9287 and AR9227
@ 2015-07-22  8:42 Martin Blumenstingl
  2015-07-27 19:13 ` Adrian Chadd
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Martin Blumenstingl @ 2015-07-22  8:42 UTC (permalink / raw)
  To: ath9k-devel
  Cc: ath9k-devel, nbd, linville, linux-wireless, Martin Blumenstingl

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>
---
Patch has not changed, I am just CC'ing @linux-wireless (instead of
@ath9k-devel only).

 drivers/net/wireless/ath/ath9k/ar9002_phy.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/ar9002_phy.h b/drivers/net/wireless/ath/ath9k/ar9002_phy.h
index 6314ae2..9d17a53 100644
--- a/drivers/net/wireless/ath/ath9k/ar9002_phy.h
+++ b/drivers/net/wireless/ath/ath9k/ar9002_phy.h
@@ -610,8 +610,8 @@
 #define AR_PHY_CCA_MIN_GOOD_VAL_9271_2GHZ      -127
 #define AR_PHY_CCA_MAX_GOOD_VAL_9271_2GHZ      -116
 
-#define AR_PHY_CCA_NOM_VAL_9287_2GHZ           -120
+#define AR_PHY_CCA_NOM_VAL_9287_2GHZ           -112
 #define AR_PHY_CCA_MIN_GOOD_VAL_9287_2GHZ    -127
-#define AR_PHY_CCA_MAX_GOOD_VAL_9287_2GHZ    -110
+#define AR_PHY_CCA_MAX_GOOD_VAL_9287_2GHZ    -97
 
 #endif
-- 
2.4.6


^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-10-14 11:13 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22  8:42 [PATCH RESEND] ath9k: Fix NF CCA limits for AR9287 and AR9227 Martin Blumenstingl
2015-07-27 19:13 ` Adrian Chadd
2015-07-27 22:30   ` Martin Blumenstingl
2015-07-27 23:50     ` Adrian Chadd
2015-07-27 23:55       ` Martin Blumenstingl
2015-07-28  3:47         ` Adrian Chadd
2015-07-28  8:07           ` Martin Blumenstingl
2015-07-28 17:25             ` Adrian Chadd
2015-07-28 22:07               ` Martin Blumenstingl
2015-07-28 22:22                 ` Adrian Chadd
2015-07-28 22:33                   ` Martin Blumenstingl
2015-07-28 23:37                     ` Adrian Chadd
2015-07-28 23:43                       ` Martin Blumenstingl
2015-07-29  7:49                         ` Adrian Chadd
2015-07-29  8:49                           ` Martin Blumenstingl
2015-08-08 21:16                             ` Martin Blumenstingl
2015-09-27 18:31 ` Adrian Chadd
2015-10-06 14:16 ` Kalle Valo
2015-10-06 16:07   ` Adrian Chadd
2015-10-14 11:13 ` [RESEND] " Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).