Linksys WPC300N Wireless-N Notebook Adapter
Luis,
1. Does ath9k Tx/Rx buffer packets for power save purpose?
2. Do TX power and signal level display go same path to mac80211 through rate control interface? I think iw dev wlan0 station should display Tx power and signal level as well.
---henry
Quoted 32 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 R. Rodriguez" <[email protected]>, "ath9k-devel at lists.ath9k.org" <[email protected]>
Date: Monday, May 18, 2009, 10:41 AMQuoted 4 lines · hong zhang
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.Quoted 1 line
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
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 2 lines
2. Do TX power and signal level display go same path to mac80211 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: 3042422
rx packets: 13165
tx bytes: 177786
tx packets: 947
signal: -30 dBm
tx bitrate: 54.0 MBit/sKeep 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 41 lines
---henry
Quoted 32 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 R. Rodriguez" <[email protected]>, "ath9k-devel at lists.ath9k.org" <[email protected]>
Date: Monday, May 18, 2009, 10:41 AMQuoted 4 lines · hong zhang
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.Quoted 1 line
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
Quoted 6 lines · Luis R. Rodriguez
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
Quoted 8 lines
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.
I think that's a red herring -- dBm display should be good enough or better than rcpi?
Quoted 2 lines
Patches are welcomed to add tx power displaying, not sure why we didn't add that.
I don't think TX power is per station? We currently display max tx power per channel -- which is also what we use if iwconfig (wext) is set to auto and we don't have 11h info. But I'm not sure in what form we should display this since it changes per channel etc.
johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090518/ca8c5b2d/attachment.pgp
Quoted 17 lines · Johannes Berg
Quoted 6 lines · Luis R. Rodriguez
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
Quoted 8 lines
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.
Quoted 2 lines
I think that's a red herring -- dBm display should be good enough or better than rcpi?
Yeah I think for now its more than enough. Since we are reporting dBm userspace could just parse this in terms of RCPI if it wanted to. RCPI seems to require an actual accuracy and I don't think any vendor is adhering to it yet.
Quoted 4 lines
Quoted 2 lines
Patches are welcomed to add tx power displaying, not sure why we didn't add that.
I don't think TX power is per station?
Oh true. Except unless the user users something like radiotap to inject desired tx power for each station.
Quoted 4 lines
We currently display max tx power
per channel -- which is also what we use if iwconfig (wext) is set to auto and we don't have 11h info. But I'm not sure in what form we should display this since it changes per channel etc.
Fine by me. I suspect packet injection with radiotap and reporting the last used tx power for a station would be used mostly by experimenters and for that case a patch is welcomed but we'd then need to add this to the station struct in mac80211 and keep track of it and export it. Not sure if its worth it.
Luis