Skip to contentSkip to conversation

Ubnt rs pro ar9220 ath9k driver

ath9k-devel hongjianli.nudt at gmail.com 4 participants 11 messages Mar 2, 2010 – Mar 5, 2010

lore
Share & tools
lore
#1 lore raw
Quoted 3 lines · hongjianli.nudt at gmail.com

Hi list,
I'm using the UBNT RS pro with ar9220 interface. Is there anyone to run it in 802.11n mode? or give me some hints, Thank you!

I tested Ubiquti SR71-12 in 802.11n mode with no problems. It's also AR9220 based.

It's better that you describe the problem rather than look for somebody who has exactly the same hardware and knows what you are talking about.

Signature · 2 lines
Regards,
Pavel Roskin
#2 lore raw
In reply to hongjianli.nudt at gmail.com

there are 2 RS pro with ar9220 interface.
wlan0 IEEE 802.11abgn ESSID:"test"

          Mode:Ad-Hoc  Frequency:2.427 GHz  Cell: 26:56:B1:2A:08:9C   
          Tx-Power=20 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

node 2:
wlan0 IEEE 802.11abgn ESSID:"test"

          Mode:Ad-Hoc  Frequency:2.427 GHz  Cell: 26:56:B1:2A:08:9C   
          Tx-Power=20 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

But the result of iperf is
root at OpenWrt:/# iperf -c 192.168.11.10 -i 5 -t 500
------------------------------------------------------------
Client connecting to 192.168.11.10, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.11.20 port 51512 connected with 192.168.11.10 port 5001

[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 5.0 sec  10.3 MBytes  17.4 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  5.0-10.0 sec  9.36 MBytes  15.7 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3] 10.0-15.0 sec  9.08 MBytes  15.2 Mbits/sec

May I miss something?

2010-03-03

???? Pavel Roskin
????? 2010-03-03 12:01:45
???? hongjianli.nudt
??? ath9k-devel
??? Re: [ath9k-devel] Ubnt rs pro ar9220 ath9k driver

Quoted 3 lines · hongjianli.nudt at gmail.com

Hi list,
I'm using the UBNT RS pro with ar9220 interface. Is there anyone to run it in 802.11n mode? or give me some hints, Thank you!

I tested Ubiquti SR71-12 in 802.11n mode with no problems. It's also AR9220 based.
It's better that you describe the problem rather than look for somebody who has exactly the same hardware and knows what you are talking about.

Signature · 5 lines
Regards,
Pavel Roskin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100303/15f2de92/attachment.htm 
#3 lore raw

You're running ad-hoc mode, I have never seen that supports 11N HT speed,? though you can easily get 11n/HT under AP/STA scenario.

xxiao

--- On Wed, 3/3/10, hongjianli.nudt at gmail.com <[email protected]> wrote:

From: [email protected] <[email protected]>
Subject: Re: [ath9k-devel] Ubnt rs pro ar9220 ath9k driver
To: "ath9k-devel" <[email protected]>
Date: Wednesday, March 3, 2010, 1:07 AM

_filtered #yiv1617265202 {
font-family:??;
}
_filtered #yiv1617265202 {
font-family:Verdana;
}
_filtered #yiv1617265202 {

}
_filtered #yiv1617265202 {margin:72.0pt 90.0pt 72.0pt 90.0pt;}
#yiv1617265202 P.MsoNormal {
TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;} #yiv1617265202 LI.MsoNormal {
TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;} #yiv1617265202 DIV.MsoNormal {
TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;} #yiv1617265202 A:link {
COLOR:blue;TEXT-DECORATION:underline;}
#yiv1617265202 SPAN.MsoHyperlink {
COLOR:blue;TEXT-DECORATION:underline;}
#yiv1617265202 A:visited {
COLOR:purple;TEXT-DECORATION:underline;}
#yiv1617265202 SPAN.MsoHyperlinkFollowed {
COLOR:purple;TEXT-DECORATION:underline;}
#yiv1617265202 SPAN.EmailStyle17 { FONT-WEIGHT:normal;COLOR:windowtext;FONT-STYLE:normal;FONT-FAMILY:Verdana;TEXT-DECORATION:none;} #yiv1617265202 DIV.Section1 {
}
#yiv1617265202 UNKNOWN {
FONT-SIZE:10pt;}
#yiv1617265202 BLOCKQUOTE {
MARGIN-TOP:0px;MARGIN-BOTTOM:0px;MARGIN-LEFT:2em;}
#yiv1617265202 OL {
MARGIN-TOP:0px;MARGIN-BOTTOM:0px;}
#yiv1617265202 UL {
MARGIN-TOP:0px;MARGIN-BOTTOM:0px;}

there are 2 RS pro with ar9220
interface.

wlan0?????IEEE?802.11abgn??ESSID:"test"?? ??????????Mode:Ad-Hoc??Frequency:2.427?GHz??Cell:?26:56:B1:2A:08:9C??? ??????????Tx-Power=20?dBm??? ??????????RTS?thr:off???Fragment?thr:off ??????????Encryption?key:off
??????????Power?Management:off
?
node 2:

wlan0?????IEEE?802.11abgn??ESSID:"test"?? ??????????Mode:Ad-Hoc??Frequency:2.427?GHz??Cell:?26:56:B1:2A:08:9C??? ??????????Tx-Power=20?dBm??? ??????????RTS?thr:off???Fragment?thr:off ??????????Encryption?key:off
??????????Power?Management:off
?
But the result of iperf is
root at OpenWrt:/#?iperf?-c?192.168.11.10?-i?5?-t?500
------------------------------------------------------------
Client?connecting?to?192.168.11.10,?TCP?port?5001 TCP?window?size:?16.0?KByte?(default)
------------------------------------------------------------
[??3]?local?192.168.11.20?port?51512?connected?with?192.168.11.10?port?5001 [?ID]?Interval???????Transfer?????Bandwidth [??3]??0.0-?5.0?sec??10.3?MBytes??17.4?Mbits/sec [?ID]?Interval???????Transfer?????Bandwidth [??3]??5.0-10.0?sec??9.36?MBytes??15.7?Mbits/sec [?ID]?Interval???????Transfer?????Bandwidth [??3]?10.0-15.0?sec??9.08?MBytes??15.2?Mbits/sec
?
?
May I miss something?
?
?
2010-03-03

???? Pavel Roskin
????? 2010-03-03? 12:01:45

???? hongjianli.nudt

??? ath9k-devel
??? Re: [ath9k-devel] Ubnt rs
pro ar9220 ath9k driver

Quoted 3 lines · On?Tue,?2010-03-02?at?23:56?+0800,?hongjianli.nudt at gmail.com?wrote:

?Hi?list, ?I'm?using?the?UBNT?RS?pro?with?ar9220?interface.?Is?there?anyone?to ?run?it?in?802.11n?mode??or?give?me?some?hints,?Thank?you!

I?tested?Ubiquti?SR71-12?in?802.11n?mode?with?no?problems.??It's?also AR9220?based.

It's?better?that?you?describe?the?problem?rather?than?look?for?somebody who?has?exactly?the?same?hardware?and?knows?what?you?are?talking?about.

--?
Regards,
Pavel?Roskin
-----Inline Attachment Follows-----

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100303/598e3c21/attachment.htm

#4 lore raw

Thank you for your reply.
But I can't config it in AP mode.
root at OpenWrt:/# iw dev wlan0 set type ap
See http://wireless.kernel.org/RTFM-AP.

and how do I config it in AP mode? (RS pro and ar9220 chipset)

2010-03-03

???? xxiao
????? 2010-03-03 22:25:00
???? ath9k-devel; hongjianli.nudt
???
??? Re: [ath9k-devel] Ubnt rs pro ar9220 ath9k driver

You're running ad-hoc mode, I have never seen that supports 11N HT speed, though you can easily get 11n/HT under AP/STA scenario.

xxiao

--- On Wed, 3/3/10, hongjianli.nudt at gmail.com <[email protected]> wrote:

From: [email protected] <[email protected]>
Subject: Re: [ath9k-devel] Ubnt rs pro ar9220 ath9k driver
To: "ath9k-devel" <[email protected]>
Date: Wednesday, March 3, 2010, 1:07 AM

there are 2 RS pro with ar9220 interface.
wlan0 IEEE 802.11abgn ESSID:"test"

          Mode:Ad-Hoc  Frequency:2.427 GHz  Cell: 26:56:B1:2A:08:9C   
          Tx-Power=20 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

node 2:
wlan0 IEEE 802.11abgn ESSID:"test"

          Mode:Ad-Hoc  Frequency:2.427 GHz  Cell: 26:56:B1:2A:08:9C   
          Tx-Power=20 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

But the result of iperf is
root at OpenWrt:/# iperf -c 192.168.11.10 -i 5 -t 500
------------------------------------------------------------
Client connecting to 192.168.11.10, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.11.20 port 51512 connected with 192.168.11.10 port 5001

[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 5.0 sec  10.3 MBytes  17.4 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  5.0-10.0 sec  9.36 MBytes  15.7 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3] 10.0-15.0 sec  9.08 MBytes  15.2 Mbits/sec

May I miss something?

2010-03-03

???? Pavel Roskin
????? 2010-03-03 12:01:45
???? hongjianli.nudt
??? ath9k-devel
??? Re: [ath9k-devel] Ubnt rs pro ar9220 ath9k driver

Quoted 3 lines · hongjianli.nudt at gmail.com

Hi list,
I'm using the UBNT RS pro with ar9220 interface. Is there anyone to run it in 802.11n mode? or give me some hints, Thank you!

I tested Ubiquti SR71-12 in 802.11n mode with no problems. It's also AR9220 based.
It's better that you describe the problem rather than look for somebody who has exactly the same hardware and knows what you are talking about.

Signature · 13 lines
Regards,
Pavel Roskin

-----Inline Attachment Follows-----


_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100303/0177481a/attachment-0001.htm 
#5 lore raw
Quoted 7 lines · On Wed, 2010-03-03 at 22:30 +0800, =?utf-8?B??= wrote:

?
Thank you for your reply.
But I can't config it in AP mode.
root at OpenWrt:/# iw dev wlan0 set type ap
See http://wireless.kernel.org/RTFM-AP.

and how do I config it in AP mode? (RS pro and ar9220 chipset)

Use hostapd. You'll need to enable 802.11n in the hostapd configuration file.

Signature · 2 lines
Regards,
Pavel Roskin
#6 lore raw
Quoted 11 lines · Pavel Roskin
Quoted 7 lines · On Wed, 2010-03-03 at 22:30 +0800, =?utf-8?B??= wrote:

?
Thank you for your reply.
But I can't config it in AP mode.
root at OpenWrt:/# iw dev wlan0 set type ap
See http://wireless.kernel.org/RTFM-AP.

and how do I config it in AP mode? (RS pro and ar9220 chipset)

Use hostapd. You'll need to enable 802.11n in the hostapd configuration file.

Please read:

http://wireless.kernel.org/en/users/Documentation/hostapd

People who have worked hard on documentation would appreciate if its spread.

Luis

#9 lore raw
In reply to Pavel Roskin

Thank you. I have do it successful. I can associate with the ap. but the speed is still low.

ap:
iwconfig:
wlan0 IEEE 802.11abgn Mode:Master Frequency:2.437 GHz Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Power Management:off

mon.wlan0 IEEE 802.11abgn Mode:Monitor Frequency:2.437 GHz Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Power Management:off
hostapd.conf
interface=wlan0
driver=nl80211
ssid=mytest
hw_mode=g
channel=6
ieee80211n=1

     ht_capab=[HT40-][SHORT-GT-40][DSSS_CCK-40]
macaddr_acl=0
#auth_algs=1
#ignore_broadcast_ssid=0
     #wpa=2
      #wpa_passphrase=lihongjian

#wpa_key_mgmt=WPA-PSK
#wpa_pairwise=TKIP
#rsn_pairwise=CCMP

station:channel 6,11g

wlan0 IEEE 802.11abgn ESSID:"mytest"
Mode:Managed Frequency:2.437 GHz Access Point: 00:80:48:68:06:A7
Bit Rate=11 Mb/s Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=70/70 Signal level=-34 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root at OpenWrt:/# iperf -c 192.168.11.1 -i 5 -t 600
------------------------------------------------------------
Client connecting to 192.168.11.1, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.11.121 port 47226 connected with 192.168.11.1 port 5001

[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 5.0 sec  3.43 MBytes  5.75 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  5.0-10.0 sec  3.52 MBytes  5.91 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3] 10.0-15.0 sec  3.07 MBytes  5.15 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3] 15.0-20.0 sec  3.47 MBytes  5.82 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3] 20.0-25.0 sec  3.45 MBytes  5.78 Mbits/sec

And if I run ap and station in 11a mode with 5GHz, the speed is about 200~300kbps.

how do I find my problem?
2010-03-04

???? Luis R. Rodriguez
????? 2010-03-04 08:55:55
???? Pavel Roskin
??? hongjianli.nudt at gmail.com; ath9k-devel ??? Re: [ath9k-devel] Ubnt rs pro ar9220 ath9k driver

Quoted 11 lines · Pavel Roskin
Quoted 7 lines · On Wed, 2010-03-03 at 22:30 +0800, =?utf-8?B??= wrote:

?
Thank you for your reply.
But I can't config it in AP mode.
root at OpenWrt:/# iw dev wlan0 set type ap
See http://wireless.kernel.org/RTFM-AP.

and how do I config it in AP mode? (RS pro and ar9220 chipset)

Use hostapd. You'll need to enable 802.11n in the hostapd configuration file.

Please read:
http://wireless.kernel.org/en/users/Documentation/hostapd
People who have worked hard on documentation would appreciate
if its spread.
Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100304/fe4b6a85/attachment-0001.htm

#10 lore raw

How to change the parameter of Bit Rate of station?

2010-03-04

????
????? 2010-03-04 15:06:21
???? Luis R. Rodriguez; Pavel Roskin
??? hongjianli.nudt at gmail.com; ath9k-devel ??? Re: Re: [ath9k-devel] Ubnt rs pro ar9220 ath9k driver

Thank you. I have do it successful. I can associate with the ap. but the speed is still low.

ap:
iwconfig:
wlan0 IEEE 802.11abgn Mode:Master Frequency:2.437 GHz Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Power Management:off

mon.wlan0 IEEE 802.11abgn Mode:Monitor Frequency:2.437 GHz Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Power Management:off
hostapd.conf
interface=wlan0
driver=nl80211
ssid=mytest
hw_mode=g
channel=6
ieee80211n=1

     ht_capab=[HT40-][SHORT-GT-40][DSSS_CCK-40]
macaddr_acl=0
#auth_algs=1
#ignore_broadcast_ssid=0
     #wpa=2
      #wpa_passphrase=lihongjian

#wpa_key_mgmt=WPA-PSK
#wpa_pairwise=TKIP
#rsn_pairwise=CCMP

station:channel 6,11g

wlan0 IEEE 802.11abgn ESSID:"mytest"
Mode:Managed Frequency:2.437 GHz Access Point: 00:80:48:68:06:A7
Bit Rate=11 Mb/s Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=70/70 Signal level=-34 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root at OpenWrt:/# iperf -c 192.168.11.1 -i 5 -t 600
------------------------------------------------------------
Client connecting to 192.168.11.1, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.11.121 port 47226 connected with 192.168.11.1 port 5001

[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 5.0 sec  3.43 MBytes  5.75 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  5.0-10.0 sec  3.52 MBytes  5.91 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3] 10.0-15.0 sec  3.07 MBytes  5.15 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3] 15.0-20.0 sec  3.47 MBytes  5.82 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3] 20.0-25.0 sec  3.45 MBytes  5.78 Mbits/sec

And if I run ap and station in 11a mode with 5GHz, the speed is about 200~300kbps.

how do I find my problem?
2010-03-04

???? Luis R. Rodriguez
????? 2010-03-04 08:55:55
???? Pavel Roskin
??? hongjianli.nudt at gmail.com; ath9k-devel ??? Re: [ath9k-devel] Ubnt rs pro ar9220 ath9k driver

Quoted 11 lines · Pavel Roskin
Quoted 7 lines · On Wed, 2010-03-03 at 22:30 +0800, =?utf-8?B??= wrote:

?
Thank you for your reply.
But I can't config it in AP mode.
root at OpenWrt:/# iw dev wlan0 set type ap
See http://wireless.kernel.org/RTFM-AP.

and how do I config it in AP mode? (RS pro and ar9220 chipset)

Use hostapd. You'll need to enable 802.11n in the hostapd configuration file.

Please read:
http://wireless.kernel.org/en/users/Documentation/hostapd
People who have worked hard on documentation would appreciate
if its spread.
Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100304/c72073c4/attachment.htm

#7 lore raw
In reply to Luis R. Rodriguez
Quoted 13 lines · Luis R. Rodriguez
Quoted 11 lines · Pavel Roskin
Quoted 7 lines · On Wed, 2010-03-03 at 22:30 +0800, =?utf-8?B??= wrote:

?
Thank you for your reply.
But I can't config it in AP mode.
root at OpenWrt:/# iw dev wlan0 set type ap
See http://wireless.kernel.org/RTFM-AP.

and how do I config it in AP mode? (RS pro and ar9220 chipset)

Use hostapd. You'll need to enable 802.11n in the hostapd configuration file.

Quoted 6 lines

Please read:

http://wireless.kernel.org/en/users/Documentation/hostapd

People who have worked hard on documentation would appreciate if its spread.

Actually, the former link redirect to the later. Unfortunately, that page is titled "hostapd Linux documentation page", so that users are not told explicitly that they should run hostapd. Instead, they are directed to a page that they may consider irrelevant to the problem.

I would prefer if http://wireless.kernel.org/RTFM-AP was a short page saying that hostapd must be used with mac80211 based drivers even if WPA is not used.

Also, I would prefer that we phase out the "RTFM", as it may be offensive to some users. It would be much nicer to say "please use hostapd to set AP mode".

Signature · 2 lines
Regards,
Pavel Roskin
#8 lore raw
Quoted 26 lines · Pavel Roskin
Quoted 13 lines · Luis R. Rodriguez
Quoted 11 lines · Pavel Roskin
Quoted 7 lines · On Wed, 2010-03-03 at 22:30 +0800, =?utf-8?B??= wrote:

?
Thank you for your reply.
But I can't config it in AP mode.
root at OpenWrt:/# iw dev wlan0 set type ap
See http://wireless.kernel.org/RTFM-AP.

and how do I config it in AP mode? (RS pro and ar9220 chipset)

Use hostapd. ?You'll need to enable 802.11n in the hostapd configuration file.

Quoted 6 lines

Please read:

http://wireless.kernel.org/en/users/Documentation/hostapd

People who have worked hard on documentation would appreciate if its spread.

Actually, the former link redirect to the later. ?Unfortunately, that page is titled "hostapd Linux documentation page", so that users are not told explicitly that they should run hostapd. ?Instead, they are directed to a page that they may consider irrelevant to the problem.

Quoted 7 lines

I would prefer if http://wireless.kernel.org/RTFM-AP was a short page saying that hostapd must be used with mac80211 based drivers even if WPA is not used.

Also, I would prefer that we phase out the "RTFM", as it may be offensive to some users. ?It would be much nicer to say "please use hostapd to set AP mode".

I think the RTFM is hard coded on iw :)

Luis