julien cubizolles a écrit :
> Le vendredi 11 décembre 2009 à 21:56 +0100, Benoit PAPILLAULT a écrit :
> 
>> In order to get more information on what happens in your situation, you
>> need to use debugfs :
>>
>> mount -t debugfs debugfs /sys/kernel/debug
>>
>> Then, minstrel statistics should be available in :
>>
>> /sys/kernel/debug/ieee80211/phy<x>/stations/<mac>/rc_stats
>>
>> Please provide a copy of this file after doing an iperf over your
>> wireless link for instance.
> Could you tell me which iperf command to run ? I've never used it and
> maybe I'm doing something wrong but I tried :
> 
> iperf -c 192.168.0.254 -m -w 200K -i 3 -t 30 -r -r
> 
> and I only get :
> 
> ------------------------------------------------------------
> Server listening on TCP port 5001
> TCP window size:   256 KByte (WARNING: requested   200 KByte)
> ------------------------------------------------------------
> 
> and no measurements (192.168.0.254 is the name of my gateway).


First, you need to run "iperf -s" on a server machine (not on your PC, best is a
machine on your wired LAN). Then, you need to run "iperf -c <server_IP>" on your
PC. It will connect to the iperf server and sends a TCP stream for 10 seconds.
After 10 seconds, it will display the throughput measured. A better command is :
"iperf -c <server_IP> -i 1 -t 60" => iperf will run for 60s instead of 10s and
will display throughput every seconds.

> 
> Here is the corresponding rc_stats file anyway but I guess it's of no
> use:
> 
> rate     throughput  ewma prob   this prob  this succ/attempt   success
> attempts
> TtP  1         0.0        0.0        0.0          1(  0)          0
> 0
>      2         0.0        0.0        0.0          0(  0)          0
> 0
>      5.5       0.0        0.0        0.0          0(  0)          0
> 0
>     11         0.0        0.0        0.0          0(  0)          0
> 0
>      6         0.0        0.0        0.0          0(  0)          0
> 0
>      9         0.0        0.0        0.0          0(  0)          0
> 0
>     12         0.0        0.0        0.0          0(  0)          0
> 0
>     18         0.0        0.0        0.0          0(  0)          0
> 0
>     24         0.0        0.0        0.0          0(  0)          0
> 0
>     36         0.0        0.0        0.0          0(  0)          0
> 0
>     48         0.0        0.0        0.0          0(  0)          0
> 0
>     54         0.0        0.0        0.0          0(  0)          0
> 0
> 
> Total packet count::    ideal 4858      lookaround 255

Your counters are zero, so it's not useful yet, run iperf or browse some web
pages first.

Regards,
Benoit

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to