Date: Wed, 9 Jan 2013 00:50:57 +0100 From: Andrew <andrew@ugh.net.au> To: freebsd-wireless@freebsd.org Subject: Debugging Stalls with ath(4) Message-ID: <BC00ED06-760E-44AB-AB35-E2011765EA5C@ugh.net.au>
next in thread | raw e-mail | index | archive | help
Hi, I just installed a TP-Link TL-WN851ND PCI wireless card into my = 9.1-STABLE (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 = testing with (though it doesn't appear to be client specific) is listed = as going in and out of PS mode once or twice a second. Not sure that = that is a problem. Using "wlandebug rate" I see: Jan 9 00:45:25 sanna kernel: wlan0: [00:17:f2:e9:04:b0] = ath_rate_tx_complete: 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_complete: 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_complete: 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_complete: 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_complete: 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_complete: 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_complete: 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_findrate: 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_complete: 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_complete: 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_complete: 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_complete: size 250 (137 bytes) OK rate/try 11 Mb /0/1 Given the proximity of the clients and the FreeBSD box I would have = expected it to not have had any trouble maintaing a high connection rate = - but perhaps this is a symptom of the stalls. Can anyone suggest where to go from here? Thanks, Andrew=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BC00ED06-760E-44AB-AB35-E2011765EA5C>