Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Aug 2014 11:24:35 +0204
From:      Johann Hugo <jhugo@meraka.csir.co.za>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: Ath - clients with weak signals not working after upgrade to FreeBSD 11.0
Message-ID:  <1495468.yhTHqENs3S@jeep>
In-Reply-To: <CAJ-VmomyhqNOPfzRiA63dTmPJxhy-AAyhghRm=X==2mHE-AVrg@mail.gmail.com>
References:  <5520556.ca3p8qHkHk@jeep> <2355251.gdJNgdnIzD@jeep> <CAJ-VmomyhqNOPfzRiA63dTmPJxhy-AAyhghRm=X==2mHE-AVrg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

Is it possible to disable ANI ?

How should we go about to narrow down the problem ?

--------------------------------------------

FreeBSD 11.0-CURRENT (Looks like crcerr is not updating)

mesh-6c9a:~ # athstats -i ath1 anistats -o ani 1
   input   output altrate   short    long xretry crcerr crypt  phyerr rssi  
rate
    2994      248       0       0      18      3      0     0       0   44   
54M
      11        1       0       0       0      0      0     0       0   44   
54M
      11        0       0       0       0      0      0     0       0   42   
54M
      11        1       0       0       0      0      0     0       0   44   
54M
      11        0       0       0       0      0      0     0       0   44   
54M
      11        1       0       0       0      0      0     0       0   43   
54M
      11        0       0       0       0      0      0     0       0   44   
54M
      10        1       0       0       0      0      0     0       0   45   
54M
      12        1       0       0       0      0      0     0       0   44   
54M
      11        1       0       0       0      0      0     0       0   42   
54M
      11        1       0       0       0      0      0     0       0   44   
54M
      12        0       0       0       0      0      0     0       0   42   
54M
      11        1       0       0       0      0      0     0       0   43   
54M
      11        0       0       0       0      0      0     0       0   44   
54M
      12        1       0       0       0      0      0     0       0   42   
54M
      11        1       0       0      13      1      0     0       0   43   
36M
      10        1       0       0       0      0      0     0       0   44   
36M
      12        1       0       0       0      0      0     0       0   43   
36M
      10        1       0       0      13      1      0     0       0   44   
54M
      11        1       0       0       0      0      0     0       0   44   
54M
      12        2       0       0      11      1      0     0       0   43   
12M
   input   output altrate   short    long xretry crcerr crypt  phyerr rssi  
rate
    3230      272       0       0      66      7      0     0       0   44    
9M
      12        2       0       0      13      1      0     0       0   43   
24M
      11        1       0       0       0      0      0     0       0   42   
24M
      12        2       0       0       0      0      0     0       0   43   
54M
      11        1       0       0       0      0      0     0       0   43   
54M
      12        1       0       0       0      0      0     0       0   42   
54M
      11        0       0       0       0      0      0     0       0   43   
54M
      10        1       0       0       0      0      0     0       0   43   
54M
      11        1       0       0       0      0      0     0       0   42   
54M
       9        0       0       0       0      0      0     0       0   43   
54M
      11        1       0       0       0      0      0     0       0   43   
54M
      14        3       0       0       0      0      0     0       0   37   
54M
      11        0       0       0       0      0      0     0       0   42   
54M
      10        1       0       0       0      0      0     0       0   44   
54M
      11        0       0       0       0      0      0     0       0   44   
54M
      10        1       0       0       0      0      0     0       0   44   
54M
      11        0       0       0       0      0      0     0       0   44   
54M
      10        1       0       0       0      0      0     0       0   45   
54M
      11        1       0       0       0      0      0     0       0   45   
54M
      11        0       0       0       0      0      0     0       0   45   
54M
      10        1       0       0       0      0      0     0       0   45   
54M
   input   output altrate   short    long xretry crcerr crypt  phyerr rssi  
rate
    3460      290       0       0      79      8      0     0       0   44   
54M
      10        1       0       0       0      0      0     0       0   44   
54M
      11        0       0       0       0      0      0     0       0   41   
54M
      11        1       0       0       0      0      0     0       0   43   
54M
      10        1       0       0       0      0      0     0       0   44   
54M
      11        0       0       0       0      0      0     0       0   44   
54M
      12        2       0       0       0      0      0     0       0   42   
54M
      11        0       0       0       0      0      0     0       0   43   
54M
      11        1       0       0       0      0      0     0       0   43   
54M
      12        0       0       0       0      0      0     0       0   42   
54M

-----------------------------------------

FreeBSD 9.0-STABLE

mesh-6c9a:~ # athstats -i ath1 anistats -o ani 1
   input   output altrate   short    long xretry crcerr crypt  phyerr rssi  
rate
 1315335    48744     431       0   10204    865 630698     0       0   27   
12M
      38        0       0       0       0      0     13     0       0   21   
12M
      34        1       0       0       0      0     14     0       0   24   
12M
      28        0       0       0       0      0     14     0       0   27   
12M
      44        8       0       0       1      0     13     0       0   23   
12M
      43        1       0       0       0      0      9     0       0   23   
12M
      33        1       0       0       0      0     11     0       0   27   
12M
      36        1       0       0       0      0     16     0       0   22   
12M
      30        0       0       0       0      0     21     0       0   26   
12M
      42        5       0       0       1      0     18     0       0   23   
12M
      34        3       0       0       0      0      9     0       0   23   
12M
      32        0       0       0       0      0     20     0       0   23   
12M
      31        3       0       0       0      0     18     0       0   25   
12M
      27        1       0       0       0      0     18     0       0   29   
54M
      40        2       0       0       0      0     16     0       0   23   
54M
      40        3       0       0       0      0     12     0       0   21   
54M
      37        2       0       0       0      0     15     0       0   24   
54M
      34        1       0       0       0      0     12     0       0   26   
54M
      44        2       0       0       0      0      7     0       0   24   
54M
      60        1       0       0       0      0     19     0       0   24   
54M
      41        0       0       0       0      0     11     0       0   24   
54M
   input   output altrate   short    long xretry crcerr crypt  phyerr rssi  
rate
 1316118    48780     431       0   10206    865 630996     0       0   23   
54M
      39        1       0       0       0      0     12     0       0   21   
54M
      42        2       0       0       0      0     10     0       0   22    
6M
      36        2       0       0       2      0     15     0       0   21    
6M
      41        0       0       0       0      0      9     0       0   23    
6M
      34        1       0       0       0      0      7     0       0   26    
6M
      30        0       0       0       0      0     16     0       0   26    
6M
      36        3       0       0       0      0     15     0       0   22    
6M
      45        0       0       0       0      0     26     0       0   26    
6M
      38        3       0       0       2      0     18     0       0   21    
6M
      38        1       0       0       0      0     13     0       0   25    
6M
      36        0       0       0       0      0     13     0       0   20    
6M
      27        2       0       0       0      0     20     0       0   24    
6M
      39        1       0       0       0      0     15     0       0   21    
6M
      40        2       0       0       0      0     13     0       0   23    
6M
      38        0       0       0       0      0      8     0       0   24    
6M
      35        3       0       0       6      1     18     0       0   23    
6M
      34        1       0       0       0      0     11     0       0   22    
6M
      48        0       0       0       0      0     23     0       0   24    
6M
      35        1       0       0       0      0      8     0       0   24    
6M
      34        2       0       0       0      0     14     0       0   20    
6M
   input   output altrate   short    long xretry crcerr crypt  phyerr rssi  
rate
 1316889    48805     431       0   10216    866 631303     0       0   27    
6M
      41        1       0       0       0      0     15     0       0   24    
6M
      28        0       0       0       0      0     13     0       0   24    
6M
      36        3       0       0       0      0     12     0       0   23    
6M
      27        1       0       0       0      0     12     0       0   25    
6M
      26        0       0       0       0      0     12     0       0   28    
6M
      20        1       0       0       0      0     15     0       0   29    
6M
      40        0       0       0       0      0     28     0       0   27    
6M

On Thursday 31 July 2014 16:01:56 Adrian Chadd wrote:
> On 31 July 2014 14:56, Johann Hugo <jhugo@meraka.csir.co.za> wrote:
> > On Thursday 31 July 2014 14:29:55 Adrian Chadd wrote:
> >
> >> Hi,
> >
> >>
> >
> >> Yeah, run athstats 1 on both to see what kind of difference(s) there
> >
> >> are in transmit/receive statistics.
> >
> >>
> >
> >> I wonder if it's changes in the ANI code.
> >
> >
> >
> > Forgot to mention that I only see the problem on cards with an Atheros 
9220
> > chipset and not on older ones with an Atheros 5413 chipset.
> >
> >
> >
> 
> Right, but the main changes to the ANI code occured with the 11n HAL,
> not with the pre-11n chips.
> 
> There's also changes to the initval arrays used in chip
> initailisation. That may have changed things.
> 
> 
> -a
From owner-freebsd-wireless@FreeBSD.ORG  Fri Aug  1 17:56:06 2014
Return-Path: <owner-freebsd-wireless@FreeBSD.ORG>
Delivered-To: freebsd-wireless@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id ABF406A7
 for <freebsd-wireless@freebsd.org>; Fri,  1 Aug 2014 17:56:06 +0000 (UTC)
Received: from mail-qg0-x229.google.com (mail-qg0-x229.google.com
 [IPv6:2607:f8b0:400d:c04::229])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 6AED12067
 for <freebsd-wireless@freebsd.org>; Fri,  1 Aug 2014 17:56:06 +0000 (UTC)
Received: by mail-qg0-f41.google.com with SMTP id q107so6091050qgd.0
 for <freebsd-wireless@freebsd.org>; Fri, 01 Aug 2014 10:56:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:cc:content-type;
 bh=g10c7738Tzx7RorjtCpmmQ09s/e73DUOjLuzp2YDEnk=;
 b=BRBppuAI6LcQOzHf84zFjlfXzcyoqR5cfYWJzVcw2mbHiTQztkXuOK+MlZCnUndZ4h
 oIrlelVo0ZVGYdSrMjRoSPUpGxdahFpfN9hYhmFbIsiHXyRvldM7EBiH8jrLFTM2Iwdd
 gCwo+ztJPvdSIc3QZs3418XX6hpaIIS74WrKkAPP6TLIMhXKCNBXZXj9kWkihyzMpXoO
 3Sh0ekFschy5mbWmnEonfwHL5qV77t1WPQYlmhYUQMqnEeFo9tDJonaxsRTq11sFmHnf
 1hqsf47OMgZuqBIK8hMa7tPp16kVMHo0XTSo0IyjwDBg5/iZlNUxYmQc7vMfooqyfnDJ
 RxBA==
MIME-Version: 1.0
X-Received: by 10.224.55.131 with SMTP id u3mr11526111qag.98.1406915765477;
 Fri, 01 Aug 2014 10:56:05 -0700 (PDT)
Sender: adrian.chadd@gmail.com
Received: by 10.224.1.6 with HTTP; Fri, 1 Aug 2014 10:56:05 -0700 (PDT)
In-Reply-To: <1495468.yhTHqENs3S@jeep>
References: <5520556.ca3p8qHkHk@jeep> <2355251.gdJNgdnIzD@jeep>
 <CAJ-VmomyhqNOPfzRiA63dTmPJxhy-AAyhghRm=X==2mHE-AVrg@mail.gmail.com>
 <1495468.yhTHqENs3S@jeep>
Date: Fri, 1 Aug 2014 10:56:05 -0700
X-Google-Sender-Auth: 4hgPpWIJYFv9Tjc7tW5HBF0b94o
Message-ID: <CAJ-VmomFrMqwiHCa0C5mf1R5K8s0xaPwr3xKsJEFTqUe9=qMBA@mail.gmail.com>
Subject: Re: Ath - clients with weak signals not working after upgrade to
 FreeBSD 11.0
From: Adrian Chadd <adrian@freebsd.org>
To: Johann Hugo <jhugo@meraka.csir.co.za>
Content-Type: text/plain; charset=UTF-8
Cc: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
X-BeenThere: freebsd-wireless@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: "Discussions of 802.11 stack,
 tools device driver development." <freebsd-wireless.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-wireless>, 
 <mailto:freebsd-wireless-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-wireless/>;
List-Post: <mailto:freebsd-wireless@freebsd.org>
List-Help: <mailto:freebsd-wireless-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-wireless>, 
 <mailto:freebsd-wireless-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Aug 2014 17:56:06 -0000

Well, step #1 would be to run the freebsd-9 ath(4) driver in the later
freebsd version. If you're able to shoehorn that in, let's see if
that's the case.



-a


On 1 August 2014 02:20, Johann Hugo <jhugo@meraka.csir.co.za> wrote:
> Hi
>
>
>
> Is it possible to disable ANI ?
>
>
>
> How should we go about to narrow down the problem ?
>
>
>
> --------------------------------------------
>
>
>
> FreeBSD 11.0-CURRENT (Looks like crcerr is not updating)
>
>
>
> mesh-6c9a:~ # athstats -i ath1 anistats -o ani 1
>
> input output altrate short long xretry crcerr crypt phyerr rssi rate
>
> 2994 248 0 0 18 3 0 0 0 44 54M
>
> 11 1 0 0 0 0 0 0 0 44 54M
>
> 11 0 0 0 0 0 0 0 0 42 54M
>
> 11 1 0 0 0 0 0 0 0 44 54M
>
> 11 0 0 0 0 0 0 0 0 44 54M
>
> 11 1 0 0 0 0 0 0 0 43 54M
>
> 11 0 0 0 0 0 0 0 0 44 54M
>
> 10 1 0 0 0 0 0 0 0 45 54M
>
> 12 1 0 0 0 0 0 0 0 44 54M
>
> 11 1 0 0 0 0 0 0 0 42 54M
>
> 11 1 0 0 0 0 0 0 0 44 54M
>
> 12 0 0 0 0 0 0 0 0 42 54M
>
> 11 1 0 0 0 0 0 0 0 43 54M
>
> 11 0 0 0 0 0 0 0 0 44 54M
>
> 12 1 0 0 0 0 0 0 0 42 54M
>
> 11 1 0 0 13 1 0 0 0 43 36M
>
> 10 1 0 0 0 0 0 0 0 44 36M
>
> 12 1 0 0 0 0 0 0 0 43 36M
>
> 10 1 0 0 13 1 0 0 0 44 54M
>
> 11 1 0 0 0 0 0 0 0 44 54M
>
> 12 2 0 0 11 1 0 0 0 43 12M
>
> input output altrate short long xretry crcerr crypt phyerr rssi rate
>
> 3230 272 0 0 66 7 0 0 0 44 9M
>
> 12 2 0 0 13 1 0 0 0 43 24M
>
> 11 1 0 0 0 0 0 0 0 42 24M
>
> 12 2 0 0 0 0 0 0 0 43 54M
>
> 11 1 0 0 0 0 0 0 0 43 54M
>
> 12 1 0 0 0 0 0 0 0 42 54M
>
> 11 0 0 0 0 0 0 0 0 43 54M
>
> 10 1 0 0 0 0 0 0 0 43 54M
>
> 11 1 0 0 0 0 0 0 0 42 54M
>
> 9 0 0 0 0 0 0 0 0 43 54M
>
> 11 1 0 0 0 0 0 0 0 43 54M
>
> 14 3 0 0 0 0 0 0 0 37 54M
>
> 11 0 0 0 0 0 0 0 0 42 54M
>
> 10 1 0 0 0 0 0 0 0 44 54M
>
> 11 0 0 0 0 0 0 0 0 44 54M
>
> 10 1 0 0 0 0 0 0 0 44 54M
>
> 11 0 0 0 0 0 0 0 0 44 54M
>
> 10 1 0 0 0 0 0 0 0 45 54M
>
> 11 1 0 0 0 0 0 0 0 45 54M
>
> 11 0 0 0 0 0 0 0 0 45 54M
>
> 10 1 0 0 0 0 0 0 0 45 54M
>
> input output altrate short long xretry crcerr crypt phyerr rssi rate
>
> 3460 290 0 0 79 8 0 0 0 44 54M
>
> 10 1 0 0 0 0 0 0 0 44 54M
>
> 11 0 0 0 0 0 0 0 0 41 54M
>
> 11 1 0 0 0 0 0 0 0 43 54M
>
> 10 1 0 0 0 0 0 0 0 44 54M
>
> 11 0 0 0 0 0 0 0 0 44 54M
>
> 12 2 0 0 0 0 0 0 0 42 54M
>
> 11 0 0 0 0 0 0 0 0 43 54M
>
> 11 1 0 0 0 0 0 0 0 43 54M
>
> 12 0 0 0 0 0 0 0 0 42 54M
>
>
>
> -----------------------------------------
>
>
>
> FreeBSD 9.0-STABLE
>
>
>
> mesh-6c9a:~ # athstats -i ath1 anistats -o ani 1
>
> input output altrate short long xretry crcerr crypt phyerr rssi rate
>
> 1315335 48744 431 0 10204 865 630698 0 0 27 12M
>
> 38 0 0 0 0 0 13 0 0 21 12M
>
> 34 1 0 0 0 0 14 0 0 24 12M
>
> 28 0 0 0 0 0 14 0 0 27 12M
>
> 44 8 0 0 1 0 13 0 0 23 12M
>
> 43 1 0 0 0 0 9 0 0 23 12M
>
> 33 1 0 0 0 0 11 0 0 27 12M
>
> 36 1 0 0 0 0 16 0 0 22 12M
>
> 30 0 0 0 0 0 21 0 0 26 12M
>
> 42 5 0 0 1 0 18 0 0 23 12M
>
> 34 3 0 0 0 0 9 0 0 23 12M
>
> 32 0 0 0 0 0 20 0 0 23 12M
>
> 31 3 0 0 0 0 18 0 0 25 12M
>
> 27 1 0 0 0 0 18 0 0 29 54M
>
> 40 2 0 0 0 0 16 0 0 23 54M
>
> 40 3 0 0 0 0 12 0 0 21 54M
>
> 37 2 0 0 0 0 15 0 0 24 54M
>
> 34 1 0 0 0 0 12 0 0 26 54M
>
> 44 2 0 0 0 0 7 0 0 24 54M
>
> 60 1 0 0 0 0 19 0 0 24 54M
>
> 41 0 0 0 0 0 11 0 0 24 54M
>
> input output altrate short long xretry crcerr crypt phyerr rssi rate
>
> 1316118 48780 431 0 10206 865 630996 0 0 23 54M
>
> 39 1 0 0 0 0 12 0 0 21 54M
>
> 42 2 0 0 0 0 10 0 0 22 6M
>
> 36 2 0 0 2 0 15 0 0 21 6M
>
> 41 0 0 0 0 0 9 0 0 23 6M
>
> 34 1 0 0 0 0 7 0 0 26 6M
>
> 30 0 0 0 0 0 16 0 0 26 6M
>
> 36 3 0 0 0 0 15 0 0 22 6M
>
> 45 0 0 0 0 0 26 0 0 26 6M
>
> 38 3 0 0 2 0 18 0 0 21 6M
>
> 38 1 0 0 0 0 13 0 0 25 6M
>
> 36 0 0 0 0 0 13 0 0 20 6M
>
> 27 2 0 0 0 0 20 0 0 24 6M
>
> 39 1 0 0 0 0 15 0 0 21 6M
>
> 40 2 0 0 0 0 13 0 0 23 6M
>
> 38 0 0 0 0 0 8 0 0 24 6M
>
> 35 3 0 0 6 1 18 0 0 23 6M
>
> 34 1 0 0 0 0 11 0 0 22 6M
>
> 48 0 0 0 0 0 23 0 0 24 6M
>
> 35 1 0 0 0 0 8 0 0 24 6M
>
> 34 2 0 0 0 0 14 0 0 20 6M
>
> input output altrate short long xretry crcerr crypt phyerr rssi rate
>
> 1316889 48805 431 0 10216 866 631303 0 0 27 6M
>
> 41 1 0 0 0 0 15 0 0 24 6M
>
> 28 0 0 0 0 0 13 0 0 24 6M
>
> 36 3 0 0 0 0 12 0 0 23 6M
>
> 27 1 0 0 0 0 12 0 0 25 6M
>
> 26 0 0 0 0 0 12 0 0 28 6M
>
> 20 1 0 0 0 0 15 0 0 29 6M
>
> 40 0 0 0 0 0 28 0 0 27 6M
>
>
>
> On Thursday 31 July 2014 16:01:56 Adrian Chadd wrote:
>
>> On 31 July 2014 14:56, Johann Hugo <jhugo@meraka.csir.co.za> wrote:
>
>> > On Thursday 31 July 2014 14:29:55 Adrian Chadd wrote:
>
>> >
>
>> >> Hi,
>
>> >
>
>> >>
>
>> >
>
>> >> Yeah, run athstats 1 on both to see what kind of difference(s) there
>
>> >
>
>> >> are in transmit/receive statistics.
>
>> >
>
>> >>
>
>> >
>
>> >> I wonder if it's changes in the ANI code.
>
>> >
>
>> >
>
>> >
>
>> > Forgot to mention that I only see the problem on cards with an Atheros
>> > 9220
>
>> > chipset and not on older ones with an Atheros 5413 chipset.
>
>> >
>
>> >
>
>> >
>
>>
>
>> Right, but the main changes to the ANI code occured with the 11n HAL,
>
>> not with the pre-11n chips.
>
>>
>
>> There's also changes to the initval arrays used in chip
>
>> initailisation. That may have changed things.
>
>>
>
>>
>
>> -a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1495468.yhTHqENs3S>