Subject: Re: ath(4) packet loss problem
To: David Young <dyoung@pobox.com>
From: Andreas Wrede <andreas@planix.com>
List: current-users
Date: 07/11/2007 20:12:53
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-1--266456707
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


On Jul 11, 2007, at 17:15 , David Young wrote:

> On Wed, Jul 11, 2007 at 04:38:00PM -0400, Andreas Wrede wrote:
>>
>> On Jul 11, 2007, at 15:59 , David Young wrote:
>>

>>
>> # ifconfig -v ath0 | grep -v ': 0$'
>> ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>         ssid Planix -frag nwkey 65536:"",
>> 0x5a5f2b45f816925fead885174f485f71,0xd4e8eaea44dbee833e922a782a59a9b2 
>> ,""
>>         powersave off
>>         bssid 00:19:e3:33:c7:1b chan 1
>>         address: 00:02:6f:20:f5:4a
>>         media: IEEE802.11 autoselect (OFDM12 mode 11g)
>>         status: active
>>         input: 531874 packets, 54761325 bytes, 440569 multicasts,
>> 155647 errors
>>         output: 91659 packets, 8982475 bytes, 5 multicasts, 148  
>> errors
>>         rx from wrong bssid: 915
>>         rx discard 'cuz dup: 1537
>>         rx discard 'cuz mcast echo: 17
>>         rx discard mgt frames: 56
>>         rx discard ctrl frames: 35
>>         rx beacon frames: 7041100
>>         rx element unknown: 14083044
>>         rx frame chan mismatch: 357
>>         rx w/ incorrect keyid: 6
>>         rx seq# violation (TKIP): 32
>>         tx failed 'cuz no defkey: 7
>>         active scans started: 7
>>         inet 10.99.254.240 netmask 0xffff0000 broadcast 10.99.255.255
>>         inet6 fe80::202:6fff:fe20:f54a%ath0 prefixlen 64 scopeid 0x4

> Is it possible to turn off crypto on the AP and on your client, and
> try again?

Similar results:
ping

389 packets transmitted, 184 packets received, 52.7% packet loss
round-trip min/avg/max/stddev = 0.711/1.674/24.617/3.199 ms

ping -f

19163 packets transmitted, 19149 packets received, 0.1% packet loss
round-trip min/avg/max/stddev = 0.593/0.819/24.094/0.584 ms
   1198.1 packets/sec sent,  1197.3 packets/sec received

# ifconfig -v ath0 | grep -v ': 0$'
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         ssid Planix -frag
         powersave off
         bssid 00:19:e3:33:c7:1b chan 1
         address: 00:02:6f:20:f5:4a
         media: IEEE802.11 autoselect (OFDM24 mode 11g)
         status: active
         input: 39434 packets, 3811094 bytes, 3090 multicasts, 11836  
errors
         output: 36363 packets, 3563470 bytes, 5 multicasts
         rx discard 'cuz dup: 780
         rx discard 'cuz mcast echo: 11
         rx beacon frames: 21876
         rx element unknown: 43786
         rx frame chan mismatch: 16
         active scans started: 1
         inet 10.99.254.240 netmask 0xffff0000 broadcast 10.99.255.255
         inet6 fe80::202:6fff:fe20:f54a%ath0 prefixlen 64 scopeid 0x4

> Is your client very near your AP?  Within 3 feet?  10 feet?

Yes, they are the opposite ends of the workbench, about 4 feet apart.  
That will change once they get deployed..


-- 
     aew


--Apple-Mail-1--266456707
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFGlXIJEh/h9J/TQyERAs0tAKDBDEEgRuOUVDq/URo3GzlsWUYhaACfQU7n
aFyLOBlkfpDX4xcN7X2DR1M=
=uOQE
-----END PGP SIGNATURE-----

--Apple-Mail-1--266456707--