Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2013 14:55:47 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Andrew <andrew@ugh.net.au>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Debugging Stalls with ath(4)
Message-ID:  <CAJ-VmomAjNKgtu_NHELtmuFZ7DZ1YO2T2_Nz82SDXNfzAC%2BG5A@mail.gmail.com>
In-Reply-To: <BC00ED06-760E-44AB-AB35-E2011765EA5C@ugh.net.au>
References:  <BC00ED06-760E-44AB-AB35-E2011765EA5C@ugh.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
... oh this is kind of strange. Hm, it's interesting that it's
delaying that much; I wonder if the air is really busy and the
transmitter just can't squeeze a frame out into the air.

How close is it? What's the RSSI?



adrian

On 8 January 2013 15:50, Andrew <andrew@ugh.net.au> wrote:
> Hi,
>
> I just installed a TP-Link TL-WN851ND PCI wireless card into my 9.1-STABL=
E (r244942) box. It shows up in dmesg as Atheros 9287 mac 384.2 RF5133.
>
> I am running it in hostap mode, 11g. Things seem to work OK but there are=
 occasionally stalls in traffic across the network. e.g.
>
> PING 10.0.0.1 (10.0.0.1): 56 data bytes
> 64 bytes from 10.0.0.1: icmp_seq=3D0 ttl=3D64 time=3D13.134 ms
> 64 bytes from 10.0.0.1: icmp_seq=3D1 ttl=3D64 time=3D77.776 ms
> 64 bytes from 10.0.0.1: icmp_seq=3D2 ttl=3D64 time=3D246.675 ms
> Request timeout for icmp_seq 3
> 64 bytes from 10.0.0.1: icmp_seq=3D3 ttl=3D64 time=3D1037.327 ms
> 64 bytes from 10.0.0.1: icmp_seq=3D4 ttl=3D64 time=3D37.481 ms
>
> --- 10.0.0.1 ping statistics ---
> 5 packets transmitted, 5 packets received, 0.0% packet loss
> round-trip min/avg/max/stddev =3D 13.134/282.479/1037.327/386.148 ms
>
> I was wondering how I would go about debugging the issue?
>
> I have been playing with wlandebug and I can see that the client I am tes=
ting with (though it doesn't appear to be client specific) is listed as goi=
ng in and out of PS mode once or twice a second. Not sure that that is a pr=
oblem. Using "wlandebug rate" I see:
>
> Jan  9 00:45:25 sanna kernel: wlan0: [00:17:f2:e9:04:b0] ath_rate_tx_comp=
lete: size 1600 (1167 bytes) OK rate/try 48 Mb /0/1
> Jan  9 00:45:25 sanna kernel: wlan0: [00:17:f2:e9:04:b0] ath_rate_tx_comp=
lete: size 1600 (1554 bytes) OK rate/try 48 Mb /0/1
> Jan  9 00:45:25 sanna kernel: wlan0: [00:17:f2:e9:04:b0] ath_rate_tx_comp=
lete: size 1600 (1554 bytes) OK rate/try 48 Mb /0/1
> Jan  9 00:45:25 sanna kernel: wlan0: [7c:c5:37:6d:4c:7e] ath_rate_tx_comp=
lete: size 250 (30 bytes) FAIL rate/try 1 Mb /0/7
> Jan  9 00:45:25 sanna kernel: wlan0: [00:17:f2:e9:04:b0] ath_rate_tx_comp=
lete: size 250 (106 bytes) OK rate/try 11 Mb /0/1
> Jan  9 00:45:25 sanna kernel: wlan0: [00:17:f2:e9:04:b0] ath_rate_tx_comp=
lete: size 250 (122 bytes) OK rate/try 11 Mb /0/1
> Jan  9 00:45:26 sanna kernel: wlan0: [00:17:f2:e9:04:b0] ath_rate_tx_comp=
lete: size 250 (138 bytes) OK rate/try 11 Mb /0/1
> Jan  9 00:45:26 sanna kernel: wlan0: [00:23:14:98:15:b4] ath_rate_findrat=
e: size 250 switch rate 48 (1129/690) -> 54 (736/682) after 2 packets mrr 0
> Jan  9 00:45:26 sanna kernel: wlan0: [64:70:02:f0:c8:03] ath_rate_tx_comp=
lete: size 250 FAIL rate/try 0/5 no rates yet
> Jan  9 00:45:26 sanna kernel: wlan0: [00:17:f2:e9:04:b0] ath_rate_tx_comp=
lete: size 250 (94 bytes) OK rate/try 11 Mb /0/1
> Jan  9 00:45:26 sanna last message repeated 2 times
> Jan  9 00:45:26 sanna kernel: wlan0: [00:23:14:98:15:b4] ath_rate_tx_comp=
lete: size 250 (163 bytes) OK rate/try 54 Mb /0/2
> Jan  9 00:45:26 sanna kernel: wlan0: [00:17:f2:e9:04:b0] ath_rate_tx_comp=
lete: size 250 (137 bytes) OK rate/try 11 Mb /0/1
>
> Given the proximity of the clients and the FreeBSD box I would have expec=
ted it to not have had any trouble maintaing a high connection rate - but p=
erhaps this is a symptom of the stalls.
>
> Can anyone suggest where to go from here?
>
> Thanks,
>
> Andrew
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or=
g"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomAjNKgtu_NHELtmuFZ7DZ1YO2T2_Nz82SDXNfzAC%2BG5A>