From owner-freebsd-stable@FreeBSD.ORG Wed Dec 1 11:16:33 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 DB2E01065674; Wed, 1 Dec 2010 11:16:32 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 39A998FC14; Wed, 1 Dec 2010 11:16:32 +0000 (UTC) Received: by bwz2 with SMTP id 2so6335050bwz.13 for ; Wed, 01 Dec 2010 03:16:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vs5XoQOgabeDA5B4EPg8T9t12VcAZklmB/IgQgbfNFg=; b=pqXOU4hF9QL/BclTmxFOY9nxQs8tMXb8TUPn/tM3VI1EXXUXaPasg5NtoFj1uix9mM jttR8uuTodF+IfmSDB1sCYDealT9W05xkzI78PxqhSDftQKFQzAZvLKLBRWjxhSbwNZW XcwojKyNuIyP4R90rTjTTKfF8qR1mJSpe0Gtw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=U5VxxUgS1mVggTZ5pxIisztkiF0TG1btQlEs5SbFc4PT2t6Cmune2kpE+gR74GnGco opH2HMpn/BK/JggvmEmoOZIbI80U7xsa3gLstRCaInXX6t+4mXbEG5YoIAFoQW0QTC1g J0d7ib8CDTe5N2hXDs7IrIYeEMC4/zEo4qwWw= MIME-Version: 1.0 Received: by 10.204.117.12 with SMTP id o12mr6813596bkq.166.1291202190852; Wed, 01 Dec 2010 03:16:30 -0800 (PST) Received: by 10.204.127.20 with HTTP; Wed, 1 Dec 2010 03:16:30 -0800 (PST) In-Reply-To: References: <4CF61F37.1070409@gmail.com> Date: Wed, 1 Dec 2010 12:16:30 +0100 Message-ID: From: David DEMELIER To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 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 11:16:33 -0000 2010/12/1 David DEMELIER : > 2010/12/1 Adrian Chadd : >> On 1 December 2010 18:11, David Demelier wrot= e: >> >> >>>> Or is this somehow running in 11A mode? Would you please paste >>>> 'ifconfig wlan0' here? >>> >>> markand@Melon ~ $ ifconfig wlan0 >>> wlan0: flags=3D8843 metric 0 mt= u 1500 >>> =C2=A0 =C2=A0ether c4:17:fe:c4:14:b9 >>> =C2=A0 =C2=A0inet 130.79.183.186 netmask 0xfffffc00 broadcast 130.79.18= 3.255 >>> =C2=A0 =C2=A0media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g >>> =C2=A0 =C2=A0status: associated >>> =C2=A0 =C2=A0ssid osiris-sec channel 11 (2462 MHz 11g) bssid 00:26:99:2= 3:69:23 >>> =C2=A0 =C2=A0regdomain 106 indoor ecm authmode WPA2/802.11i privacy ON >>> =C2=A0 =C2=A0deftxkey UNDEF TKIP 2:128-bit TKIP 3:128-bit txpower 20 bm= iss 7 >>> =C2=A0 =C2=A0scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:r= ssi 7 >>> =C2=A0 =C2=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] 1:1 (100%) T 1 F 0 avg 1103 last 458798 [12: 250] 720:719 ( 99%) T 791 F 0 avg 728 last 2022 [12:1600] 1:0 ( 0%) T 5 F 1 avg 1480 last 458798 [18: 250] 4381:4381 (100%) T 4785 F 0 avg 634 last 379 [24: 250] 16630:16627 ( 99%) T 18102 F 0 avg 622 last 891 [24:1600] 14:11 ( 78%) T 30 F 1 avg 1125 last 238025 [36: 250] 90373:90368 ( 99%) T 98250 F 0 avg 514 last 877 [36:1600] 125:120 ( 96%) T 168 F 0 avg 973 last 32568 [48: 250] 117104:117092 ( 99%) T 128546 F 0 avg 590 last 362 [48:1600] 198:186 ( 93%) T 280 F 0 avg 690 last 16211 [54: 250] 160999:160989 ( 99%) T 176303 F 0 avg 529 last 820 [54:1600] 495:485 ( 97%) T 609 F 0 avg 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 > --=20 Demelier David