ath0: lot of bad series hwrate and AH_SUPPORT_AR5416
Adrian Chadd
adrian at freebsd.org
Wed Dec 1 14:37:24 UTC 2010
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 at gmail.com> wrote:
> 2010/12/1 David DEMELIER <demelier.david at gmail.com>:
>> 2010/12/1 Adrian Chadd <adrian at freebsd.org>:
>>> On 1 December 2010 18:11, David Demelier <demelier.david at gmail.com> wrote:
>>>
>>>
>>>>> Or is this somehow running in 11A mode? Would you please paste
>>>>> 'ifconfig wlan0' here?
>>>>
>>>> markand at Melon ~ $ ifconfig wlan0
>>>> wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>>> ether c4:17:fe:c4:14:b9
>>>> inet 130.79.183.186 netmask 0xfffffc00 broadcast 130.79.183.255
>>>> media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g
>>>> status: associated
>>>> ssid osiris-sec channel 11 (2462 MHz 11g) bssid 00:26:99:23:69:23
>>>> regdomain 106 indoor ecm authmode WPA2/802.11i privacy ON
>>>> deftxkey UNDEF TKIP 2:128-bit TKIP 3:128-bit txpower 20 bmiss 7
>>>> scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7
>>>> roam: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=1
>>>
>>
>> Oww,
>>
>> markand at Melon ~ $ sudo sysctl dev.ath.0.sample_stats=1
>> 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
>>
>
>
>
> --
> Demelier David
>
More information about the freebsd-stable
mailing list