linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Hauke Mehrtens <hauke@hauke-m.de>
Cc: "John W. Linville" <linville@tuxdriver.com>,
	Herton Ronaldo Krzesinski <herton@mandriva.com.br>,
	Hin-Tak Leung <htl10@users.sourceforge.net>,
	barreyromartin@gmail.com, linux-wireless@vger.kernel.org
Subject: Re: [RFT V2] rtl8187: Fix OFDM power settings for RTL8187L
Date: Tue, 27 Jan 2009 14:00:25 -0600	[thread overview]
Message-ID: <497F67D9.5040709@lwfinger.net> (raw)
In-Reply-To: <497F5F70.50304@hauke-m.de>

Hauke Mehrtens wrote:
> With this patch included and pid the rate goes up to 24Mb/s, but the
> connection is stable. Without this patch is is only up to 11Mb/s. The
> connection is still unusable with minstrel, it goes up too fare. It
> starts with 24Mb/s and the connection drops. After some time it goes up
> to 54Mb/s, but then it goes down again and the connection is working
> again for a minute till the procedure begins again.
> 
> What do you mean with rc_stats ?

The statistics for the mistrel algorithn are presented in the /sys
tree in a file named rc_stats. The easy way to see that data is to do
the following:

STATS=$(find /sys -name rc_stats)
sudo cat $STATS

You will get output that looks like

rate     throughput  ewma prob   this prob  this succ/attempt
success    attempts
     1         0.9       99.9      100.0          0(  0)        855
      873
     2         1.8       95.7      100.0          0(  0)         11
       11
  P  5.5       5.0       99.9      100.0          0(  0)         77
       77
    11         9.1       95.9      100.0          0(  0)         14
       16
     6         5.4       95.6      100.0          0(  0)         16
       19
     9         8.0       95.7      100.0          0(  0)         11
       11
    12        10.6       95.7      100.0          0(  0)         11
       11
    18        15.5       95.7      100.0          0(  0)         11
       11
    24        20.4       96.0      100.0          0(  0)        276
      279
    36         5.9       96.0      100.0          0(  0)         76
       78
 t  48         6.5       76.5      100.0          0(  0)       2958
     3034
T   54        20.0       99.9      100.0          1(  1)       6220
     6400

Total packet count::    ideal 9216      lookaround 485

These data are for my RTL8187, which is running at 54 Mb/s (the line
with the T) and the success rate at this speed is 6220/6400 (97%).

Let the mistrel method go through several of those cycles that you
mention and then dump and post this table. Perhaps the experts will
see what is wrong.

Larry


Larry




  parent reply	other threads:[~2009-01-27 20:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-23  0:03 [PATCH] rtl8187: Fix driver to return TX retry info for RTL8187L Larry Finger
2009-01-23 15:07 ` Hauke Mehrtens
2009-01-23 15:31   ` John W. Linville
2009-01-24 12:12     ` Hauke Mehrtens
2009-01-24 17:45       ` Larry Finger
2009-01-25 16:55       ` Larry Finger
2009-01-26  1:36       ` [RFT] rtl8187: Fix OFDM power settings " Larry Finger
2009-01-26  3:19       ` [RFT V2] " Larry Finger
2009-01-27 19:24         ` Hauke Mehrtens
2009-01-27 19:41           ` Hin-Tak Leung
2009-01-27 20:00           ` Larry Finger [this message]
2009-01-30 21:28             ` Hauke Mehrtens
2009-01-23 15:34   ` [PATCH] rtl8187: Fix driver to return TX retry info " Larry Finger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=497F67D9.5040709@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=barreyromartin@gmail.com \
    --cc=hauke@hauke-m.de \
    --cc=herton@mandriva.com.br \
    --cc=htl10@users.sourceforge.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).