From owner-freebsd-stable@FreeBSD.ORG Wed Dec 1 14:37:23 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E05191065694 for ; Wed, 1 Dec 2010 14:37:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6C8A08FC19 for ; Wed, 1 Dec 2010 14:37:21 +0000 (UTC) Received: by wyf19 with SMTP id 19so6991205wyf.13 for ; Wed, 01 Dec 2010 06:37:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=iIn3PPx8LyMefrutBqNPGy2IVZf/Qn3pHF10ZBTklyk=; b=QmLENsucN2i68vdzACbQGkotmREUKPj4Jttv/ON/Oto+kOgXWHxB6kq+j4HywzmnMb aCCNp8tMcrd2diJ9Et55YY+cYA07QkXSSJKp/yngpBRHs8F+wdQS0RkKhoXFKsEDI6zR 2+U3r+6uNpuTEyJP6puJI7cyuMaFyYw8O1ybs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=JB53uGFbTo4u1iacLAZZmJjyPtGenvdNlHidCHOaVoGR9MNKNHR4hYdTVKc5fWyo2Q DbAj5ypC3Askf23zw4hTN+TIfqUfRoiCuz0jSsWTXn2uRP1tOV9Ri8N38+BlyAE/Qn9G I4QZDSXorTKCNOCtOSbCEm5J1KzuMd5jP5r6s= MIME-Version: 1.0 Received: by 10.216.191.210 with SMTP id g60mr208860wen.5.1291214240579; Wed, 01 Dec 2010 06:37:20 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.65.210 with HTTP; Wed, 1 Dec 2010 06:37:20 -0800 (PST) In-Reply-To: References: <4CF61F37.1070409@gmail.com> Date: Wed, 1 Dec 2010 22:37:20 +0800 X-Google-Sender-Auth: GOcwDcWET6hcKpxk34fnA58G9Yk Message-ID: From: Adrian Chadd To: David DEMELIER Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable Subject: Re: ath0: lot of bad series hwrate and AH_SUPPORT_AR5416 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2010 14:37:24 -0000 Ok; please dump that into a PR and email me the PR number. I'll go see whether there's something simple that can be done - eg, whether that ratemask actually allows the rate being TX'ed and if it doesn't, why the heck it's happening. :-) Adrian On 1 December 2010 19:16, David DEMELIER wrote: > 2010/12/1 David DEMELIER : >> 2010/12/1 Adrian Chadd : >>> On 1 December 2010 18:11, David Demelier wro= te: >>> >>> >>>>> Or is this somehow running in 11A mode? Would you please paste >>>>> 'ifconfig wlan0' here? >>>> >>>> markand@Melon ~ $ ifconfig wlan0 >>>> wlan0: flags=3D8843 metric 0 m= tu 1500 >>>> =A0 =A0ether c4:17:fe:c4:14:b9 >>>> =A0 =A0inet 130.79.183.186 netmask 0xfffffc00 broadcast 130.79.183.255 >>>> =A0 =A0media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g >>>> =A0 =A0status: associated >>>> =A0 =A0ssid osiris-sec channel 11 (2462 MHz 11g) bssid 00:26:99:23:69:= 23 >>>> =A0 =A0regdomain 106 indoor ecm authmode WPA2/802.11i privacy ON >>>> =A0 =A0deftxkey UNDEF TKIP 2:128-bit TKIP 3:128-bit txpower 20 bmiss 7 >>>> =A0 =A0scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 >>>> =A0 =A0roam:rate 5 protmode CTS wme burst roaming MANUAL bintval 102 >>> >>> Ok, so it's in 11bg mode. I'd have to do some digging to try and >>> understand what's busted. CAn you please do this: >>> >>> sysctl dev.ath.0.sample_stats=3D1 >>> >> >> Oww, >> >> markand@Melon ~ $ sudo sysctl dev.ath.0.sample_stats=3D1 >> dev.ath.0.sample_stats: 0 -> 0 >> > > [00:26:99:23:69:23] refcnt 4 static_rix -1 ratemask 0xfc8 > [ 250] cur rix 10 since switch: packets 79 ticks 6548703 > [ 250] last sample 7 cur sample -1 packets sent 390165 > [ 250] packets since sample 3 sample tt 524 > [1600] cur rix 10 since switch: packets 4 ticks 6532752 > [1600] last sample 11 cur sample -1 packets sent 802 > [1600] packets since sample 10 sample tt 644 > [11: 250] =A0 =A0 =A0 =A01:1 =A0 =A0 =A0 =A0(100%) T =A0 =A0 =A0 =A01 F = =A0 =A00 avg =A01103 last 458798 > [12: 250] =A0 =A0 =A0720:719 =A0 =A0 =A0( 99%) T =A0 =A0 =A0791 F =A0 =A0= 0 avg =A0 728 last 2022 > [12:1600] =A0 =A0 =A0 =A01:0 =A0 =A0 =A0 =A0( =A00%) T =A0 =A0 =A0 =A05 F= =A0 =A01 avg =A01480 last 458798 > [18: 250] =A0 =A0 4381:4381 =A0 =A0 (100%) T =A0 =A0 4785 F =A0 =A00 avg = =A0 634 last 379 > [24: 250] =A0 =A016630:16627 =A0 =A0( 99%) T =A0 =A018102 F =A0 =A00 avg = =A0 622 last 891 > [24:1600] =A0 =A0 =A0 14:11 =A0 =A0 =A0 ( 78%) T =A0 =A0 =A0 30 F =A0 =A0= 1 avg =A01125 last 238025 > [36: 250] =A0 =A090373:90368 =A0 =A0( 99%) T =A0 =A098250 F =A0 =A00 avg = =A0 514 last 877 > [36:1600] =A0 =A0 =A0125:120 =A0 =A0 =A0( 96%) T =A0 =A0 =A0168 F =A0 =A0= 0 avg =A0 973 last 32568 > [48: 250] =A0 117104:117092 =A0 ( 99%) T =A0 128546 F =A0 =A00 avg =A0 59= 0 last 362 > [48:1600] =A0 =A0 =A0198:186 =A0 =A0 =A0( 93%) T =A0 =A0 =A0280 F =A0 =A0= 0 avg =A0 690 last 16211 > [54: 250] =A0 160999:160989 =A0 ( 99%) T =A0 176303 F =A0 =A00 avg =A0 52= 9 last 820 > [54:1600] =A0 =A0 =A0495:485 =A0 =A0 =A0( 97%) T =A0 =A0 =A0609 F =A0 =A0= 0 avg =A0 986 last 20730 > ath0: bad series3 hwrate 0x1b, tries 2 ts_status 0x1 > > Ah I didn't see there was output. > >>> then look at dmesg; it'll dump the sample rate statistics out there. >>> >>> Also, please create a PR for this. I'd like to squish any obvious bugs >>> here before I commit any new stuff. :) >>> >>> >>> Adrian >>> >> >> >> >> -- >> Demelier David >> > > > > -- > Demelier David >