Return-path: Received: from mail-ig0-f182.google.com ([209.85.213.182]:35011 "EHLO mail-ig0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752046AbbI0Sb5 (ORCPT ); Sun, 27 Sep 2015 14:31:57 -0400 Received: by igbkq10 with SMTP id kq10so39769298igb.0 for ; Sun, 27 Sep 2015 11:31:56 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1437554563-11712-1-git-send-email-martin.blumenstingl@googlemail.com> References: <1437554563-11712-1-git-send-email-martin.blumenstingl@googlemail.com> Date: Sun, 27 Sep 2015 11:31:56 -0700 Message-ID: (sfid-20150927_203200_434462_417638F2) Subject: Re: [PATCH RESEND] ath9k: Fix NF CCA limits for AR9287 and AR9227 From: Adrian Chadd To: Martin Blumenstingl Cc: ath9k-devel , ath9k-devel , Felix Fietkau , John Linville , "linux-wireless@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: hiya, for what it's worth - this looks okay to me. His noise floor looks about as low as I'd expect on his plots. -adrian On 22 July 2015 at 01:42, Martin Blumenstingl wrote: > 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 > --- > 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 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html