All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luis R. Rodriguez <lrodriguez@atheros.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Linksys WPC300N Wireless-N Notebook Adapter
Date: Mon, 18 May 2009 10:33:31 -0700	[thread overview]
Message-ID: <20090518173331.GI20637@tesla> (raw)
In-Reply-To: <98786.73657.qm@web57902.mail.re3.yahoo.com>

On Mon, May 18, 2009 at 09:36:43AM -0700, hong zhang wrote:
> 
> Luis,
> 
> 1. Does ath9k Tx/Rx buffer packets for power save purpose?

You mean in AP mode? If you are on a kernel >= 2.6.29 yes. That is
even if you are using compat-wireless you need at least 2.6.29 still.

> 2. Do TX power and signal level display go same path to mac80211
>    through rate control interface?

I don't understand your question.

> I think iw dev wlan0 station should
>    display Tx power and signal level as well.

'iw dev wlan0 station dump' does display signal. I get:

mcgrof at tesla ~ $ iw dev wlan2 station dump
Station 00:0b:85:5b:8d:6c (on wlan2)
        inactive time:  22628 ms
        rx bytes:       3042422
        rx packets:     13165
        tx bytes:       177786
        tx packets:     947
        signal:         -30 dBm
        tx bitrate:     54.0 MBit/s


Keep in mind wireless extensions added a 'quality' term which
unfortunately was used differently between drivers. What we add to
nl80211 should remain consistant accross drivers and it should be
defined properly. If there is some enhancement to this reporting which
you can think of please feel free to address this on linux-wireless
with your recommendation. The next best thing we have to report
signal would be through using the RCPI concept [1], but note that it
specifically defines it as "the received RF power in the channel measured
over the entire received frame or by other equivalent means which meet the
specified accuracy". The last part is a little vague, that of
"or by other equivalent means which meet the specified accuracy" and
its questionable whether or not all devices support this. Anyway
this could just be used by userspace and nl80211 should not have to know
about this except maybe whether or not the device claims to support
this accuracy terminology, I am also not sure what the status of 802.11k
is which the group working on this, so it may be premature to just add
it to nl80211/cfg80211.

[1] http://www.spinics.net/lists/netdev/msg12028.html

Patches are welcomed to add tx power displaying, not sure why we didn't
add that.

  Luis

> 
> 
> ---henry
> 
> --- On Mon, 5/18/09, Luis R. Rodriguez <lrodriguez@atheros.com> wrote:
> 
> > From: Luis R. Rodriguez <lrodriguez@atheros.com>
> > Subject: Re: [ath9k-devel] Linksys WPC300N Wireless-N Notebook Adapter
> > To: "hong zhang" <henryzhang62@yahoo.com>
> > Cc: "Luis R. Rodriguez" <mcgrof@gmail.com>, "ath9k-devel at lists.ath9k.org" <ath9k-devel@lists.ath9k.org>
> > Date: Monday, May 18, 2009, 10:41 AM
> > On Sat, May 16, 2009 at 10:51:57PM
> > -0700, hong zhang wrote:
> > >
> > > Luis,
> > >
> > > Have you experience XJperf (windows graphic version
> > iperf) to measure UDP/TCP throughput? I think it does not
> > work properly because UDP throughput is always 1Mbites/s.
> >
> > No, thanfully I don't have a windows box anywhere near my
> > home or office,
> > that's just a serious security risk. But I see xjperf runs
> > in Linux, I'll give
> > it a shot some time.
> >
> > > Also, does "iw dev ath0 station dump" display bit rate
> > (I have not tested my WPC300N yet)?
> >
> > Right now ath9k does not report the proper 11n rate, that
> > work needs a
> > decent rewrite on rate handling in ath9k. For now please
> > use the ath9k
> > debugfs file, rcstat. That'll show you counters for every
> > MCS rate.
> >
> >   Luis
> >
> 
> 
> 

  reply	other threads:[~2009-05-18 17:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-18 16:36 [ath9k-devel] Linksys WPC300N Wireless-N Notebook Adapter hong zhang
2009-05-18 17:33 ` Luis R. Rodriguez [this message]
2009-05-18 17:43   ` Johannes Berg
2009-05-18 17:49     ` Luis R. Rodriguez
  -- strict thread matches above, loose matches on Subject: below --
2009-05-26 16:33 hong zhang
2009-05-26 17:26 ` Luis R. Rodriguez
2009-05-23  7:16 hong zhang
2009-05-26 16:22 ` Luis R. Rodriguez
2009-05-18 19:35 hong zhang
2009-05-18 20:05 ` Luis R. Rodriguez
2009-05-17  5:51 hong zhang
2009-05-18 15:41 ` Luis R. Rodriguez
2009-05-17  3:10 hong zhang
2009-05-17  4:06 ` Luis R. Rodriguez

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=20090518173331.GI20637@tesla \
    --to=lrodriguez@atheros.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.