From owner-freebsd-wireless@FreeBSD.ORG Wed Aug 20 10:22:15 2014 Return-Path: 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 0FADF5C2; Wed, 20 Aug 2014 10:22:15 +0000 (UTC) Received: from marge.meraka.csir.co.za (marge.meraka.csir.co.za [IPv6:2001:4200:7000:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id 1823C3B92; Wed, 20 Aug 2014 10:22:14 +0000 (UTC) Received: from [IPv6:2001:4200:7000:3:223:aeff:fea7:a3c2] (unknown [IPv6:2001:4200:7000:3:223:aeff:fea7:a3c2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by marge.meraka.csir.co.za (Postfix) with ESMTPSA id BFC07D0CC47; Wed, 20 Aug 2014 12:21:53 +0200 (SAST) Message-ID: <53F476C1.5040608@meraka.csir.co.za> Date: Wed, 20 Aug 2014 12:21:53 +0200 From: Johann Hugo User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Ath - clients with weak signals not working after upgrade to FreeBSD 11.0 References: <5520556.ca3p8qHkHk@jeep> <2355251.gdJNgdnIzD@jeep> <1495468.yhTHqENs3S@jeep> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2014 10:22:15 -0000 Ok, it's working fine with freebsd-9 Did some more tests with FreeBSD 11.0-CURRENT. I think the ANI problem is only there when the nodes are in ADHOC mode (default mode for our mesh). The same hardware setup works fine if the nodes are in AP/Client mode. Johann On 08/01/2014 19:56, Adrian Chadd wrote: > 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 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 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 > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"