Date: Wed, 1 Dec 2010 12:16:30 +0100 From: David DEMELIER <demelier.david@gmail.com> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: ath0: lot of bad series hwrate and AH_SUPPORT_AR5416 Message-ID: <AANLkTik2O3Lx7GGn%2Be1ufYRxu1tvk1HbjrFS8VEwm1at@mail.gmail.com> In-Reply-To: <AANLkTi=g2Fr%2BGcRmmmwa94Aw7mC=acweYBZgYtuWPba3@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>
next in thread | previous in thread | raw e-mail | index | archive | help
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> wrot= e: >> >> >>>> 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 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik2O3Lx7GGn%2Be1ufYRxu1tvk1HbjrFS8VEwm1at>