linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stanislaw Gruszka <sgruszka@redhat.com>
To: Robert Hancock <hancockrwd@gmail.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	users@rt2x00.serialmonkey.com,
	Andreas Hartmann <andihartmann@01019freenet.de>
Subject: Re: [rt2x00-users] Poor performance and lockup with rt2800usb and Asus USB-N13 adapter
Date: Thu, 22 Dec 2011 17:18:28 +0100	[thread overview]
Message-ID: <20111222161810.GB13554@redhat.com> (raw)
In-Reply-To: <20111220144317.GA6027@redhat.com>

On Tue, Dec 20, 2011 at 03:43:17PM +0100, Stanislaw Gruszka wrote:
> I just discovered that at least some problems are related with power
> save. After "iwconfig wlanX power off" I have pretty short ping times
> and good throughput, both comparable with vendor driver. But I did not
> check that on all adapters that I have yet.
>
> Looking a bit more at that seem we stop and wake queues several times
> between sending each frame. Looks like that thing need to be optimized
> in mac80211, or some parameters have to be setup properly by rt2x00 ...
> 
> Also rt2800 PCI and SOC have PS disabled by default ...

There is no bug with ping latencies when power save is enabled. Ping
send packet every second, between that we put driver in power save
mode (i.e. tell AP that we are sleeping and it has to buffer frame
to us). When we send ping packet, we wake up and receive packet from
a AP after longer time than in normal operation mode.

I did more testing here and I have one device that works very bad,
no matter if PS is configured or not. It is 

phy6 -> rt2x00_set_chip: Info - Chipset detected - rt: 3071, rf: 0008, rev: 021c.

I'm going to investigate problems with that device, hopefully these are the
same problems that Robert and Andreas have.

Stanislaw

  reply	other threads:[~2011-12-22 16:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29  1:50 Poor performance and lockup with rt2800usb and Asus USB-N13 adapter Robert Hancock
2011-11-29 11:46 ` [rt2x00-users] " Stanislaw Gruszka
2011-11-29 12:47   ` Andreas Hartmann
2011-12-01  2:21   ` Robert Hancock
2011-12-20 14:43     ` Stanislaw Gruszka
2011-12-22 16:18       ` Stanislaw Gruszka [this message]
2011-12-22 17:31         ` Andreas Hartmann
2011-12-22 17:51           ` Gertjan van Wingerde
2011-12-22 18:58             ` Andreas Hartmann
2011-12-25  1:20         ` Robert Hancock

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=20111222161810.GB13554@redhat.com \
    --to=sgruszka@redhat.com \
    --cc=andihartmann@01019freenet.de \
    --cc=hancockrwd@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=users@rt2x00.serialmonkey.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).