Date: Wed, 1 Dec 2010 22:37:20 +0800 From: Adrian Chadd <adrian@freebsd.org> To: David DEMELIER <demelier.david@gmail.com> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: ath0: lot of bad series hwrate and AH_SUPPORT_AR5416 Message-ID: <AANLkTinGhMOy=NyuOZtYK-hUo-YLgcq-s_sMhO2hK0Vu@mail.gmail.com> In-Reply-To: <AANLkTik2O3Lx7GGn%2Be1ufYRxu1tvk1HbjrFS8VEwm1at@mail.gmail.com> References: <AANLkTinBwNJJ_9Psg1yrmNR9j%2BHPPMd_qWr3HpNeWGYU@mail.gmail.com> <AANLkTimJkSx=_Z25sQ0ExWp6Q0oW4XDELn7viL51CGYB@mail.gmail.com> <4CF61F37.1070409@gmail.com> <AANLkTimcgEip1wFNvNGd095OajA1M5nLjcsU-%2BS73Zz6@mail.gmail.com> <AANLkTi=g2Fr%2BGcRmmmwa94Aw7mC=acweYBZgYtuWPba3@mail.gmail.com> <AANLkTik2O3Lx7GGn%2Be1ufYRxu1tvk1HbjrFS8VEwm1at@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <demelier.david@gmail.com> wrote: > 2010/12/1 David DEMELIER <demelier.david@gmail.com>: >> 2010/12/1 Adrian Chadd <adrian@freebsd.org>: >>> On 1 December 2010 18:11, David Demelier <demelier.david@gmail.com> wro= te: >>> >>> >>>>> Or is this somehow running in 11A mode? Would you please paste >>>>> 'ifconfig wlan0' here? >>>> >>>> markand@Melon ~ $ ifconfig wlan0 >>>> wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinGhMOy=NyuOZtYK-hUo-YLgcq-s_sMhO2hK0Vu>