Skip to contentSkip to conversation

Linksys WPC300N Wireless-N Notebook Adapter

ath9k-devel hong zhang 2 participants 2 messages May 18, 2009

lore
Share & tools
lore

hong zhang

author
#0 lore raw
Quoted 30 lines · Luis R. Rodriguez

From: Luis R. Rodriguez <[email protected]>
Subject: Re: [ath9k-devel] Linksys WPC300N Wireless-N Notebook Adapter
To: "hong zhang" <[email protected]>
Cc: "Luis Rodriguez" <[email protected]>, "Luis R. Rodriguez" <[email protected]>, "ath9k-devel at lists.ath9k.org" <[email protected]>, "Johannes Berg" <[email protected]>
Date: Monday, May 18, 2009, 12:33 PM

Quoted 4 lines · hong zhang

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.

Quoted 1 line

2. Do TX power and signal level display go same path

to mac80211

Quoted 1 line

? ? through rate control interface?

I don't understand your question.

Quoted 2 lines

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:

Quoted 16 lines

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

If signal -30dBm is Tx power on a channel, why the channel number is not displayed here?

Quoted 97 lines

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

Quoted 5 lines

---henry

--- On Mon, 5/18/09, Luis R. Rodriguez <[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines

From: Luis R. Rodriguez <[email protected]>
Subject: Re: [ath9k-devel] Linksys WPC300N

Wireless-N Notebook Adapter

Quoted 2 lines
Quoted 2 lines

To: "hong zhang" <[email protected]>
Cc: "Luis R. Rodriguez" <[email protected]>,

"ath9k-devel at lists.ath9k.org"
<[email protected]>

Quoted 7 lines
Quoted 7 lines

Date: Monday, May 18, 2009, 10:41 AM

Quoted 4 lines · hong zhang

Luis,

Have you experience XJperf (windows graphic

version

Quoted 1 line
Quoted 1 line

iperf) to measure UDP/TCP throughput? I think it

does not

Quoted 1 line
Quoted 1 line

work properly because UDP throughput is always

1Mbites/s.

Quoted 2 lines
Quoted 2 lines

No, thanfully I don't have a windows box anywhere

near my

Quoted 2 lines
Quoted 2 lines

home or office,
that's just a serious security risk. But I see

xjperf runs

Quoted 4 lines
Quoted 4 lines

in Linux, I'll give
it a shot some time.

Quoted 1 line

Also, does "iw dev ath0 station dump"

display bit rate

Quoted 3 lines
Quoted 3 lines

(I have not tested my WPC300N yet)?

Right now ath9k does not report the proper 11n

rate, that

Quoted 2 lines
Quoted 2 lines

work needs a
decent rewrite on rate handling in ath9k. For now

please

Quoted 2 lines
Quoted 2 lines

use the ath9k
debugfs file, rcstat. That'll show you counters

for every

Quoted 7 lines
Quoted 4 lines

MCS rate.

???Luis

#1 lore raw
Quoted 51 lines · hong zhang
Quoted 34 lines · Luis R. Rodriguez

From: Luis R. Rodriguez <[email protected]>
Subject: Re: [ath9k-devel] Linksys WPC300N Wireless-N Notebook Adapter
To: "hong zhang" <[email protected]>
Cc: "Luis Rodriguez" <[email protected]>, "Luis R. Rodriguez" <[email protected]>, "ath9k-devel at lists.ath9k.org" <[email protected]>, "Johannes Berg" <[email protected]>
Date: Monday, May 18, 2009, 12:33 PM

Quoted 4 lines · hong zhang

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.

Quoted 1 line

2. Do TX power and signal level display go same path

to mac80211

Quoted 1 line

? through rate control interface?

I don't understand your question.

Quoted 2 lines

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:

Quoted 12 lines
   3042422
        rx packets:
   13165
        tx bytes:
   177786
        tx packets:
   947
        signal:
   -30 dBm
        tx bitrate:
   54.0 MBit/s
Quoted 1 line

If signal -30dBm is Tx power on a channel, why the channel number is not displayed here?

That's seems reasoanble, patches are welcomed.

Luis

Quoted 102 lines
Quoted 99 lines

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

Quoted 5 lines

---henry

--- On Mon, 5/18/09, Luis R. Rodriguez <[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines

From: Luis R. Rodriguez <[email protected]>
Subject: Re: [ath9k-devel] Linksys WPC300N

Wireless-N Notebook Adapter

Quoted 2 lines
Quoted 2 lines

To: "hong zhang" <[email protected]>
Cc: "Luis R. Rodriguez" <[email protected]>,

"ath9k-devel at lists.ath9k.org"
<[email protected]>

Quoted 7 lines
Quoted 7 lines

Date: Monday, May 18, 2009, 10:41 AM

Quoted 4 lines · hong zhang

Luis,

Have you experience XJperf (windows graphic

version

Quoted 1 line
Quoted 1 line

iperf) to measure UDP/TCP throughput? I think it

does not

Quoted 1 line
Quoted 1 line

work properly because UDP throughput is always

1Mbites/s.

Quoted 2 lines
Quoted 2 lines

No, thanfully I don't have a windows box anywhere

near my

Quoted 2 lines
Quoted 2 lines

home or office,
that's just a serious security risk. But I see

xjperf runs

Quoted 4 lines
Quoted 4 lines

in Linux, I'll give
it a shot some time.

Quoted 1 line

Also, does "iw dev ath0 station dump"

display bit rate

Quoted 3 lines
Quoted 3 lines

(I have not tested my WPC300N yet)?

Right now ath9k does not report the proper 11n

rate, that

Quoted 2 lines
Quoted 2 lines

work needs a
decent rewrite on rate handling in ath9k. For now

please

Quoted 2 lines
Quoted 2 lines

use the ath9k
debugfs file, rcstat. That'll show you counters

for every

Quoted 7 lines
Quoted 4 lines

MCS rate.

???Luis