linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2
@ 2011-08-09  3:00 Dane Shih
  2011-08-09  3:02 ` Adrian Chadd
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Dane Shih @ 2011-08-09  3:00 UTC (permalink / raw)
  To: linux-wireless

hi all

i try to setup AR9285 Wireless  ap mode on fedora 12

but it seem not stable when setup Master mode use hostapd
so ...i upgrade kernel to  2.6.38.8
it's better, no more disconnect

but ap mode in 80211n

hostapd.conf

nterface=wlan0
driver=nl80211
ssid=test
hw_mode=g
wme_enabled=1
ieee80211n=1
ht_capab=HT40+
channel=7
auth_algs=3
ignore_broadcast_ssid=0

throughput only 20Mbits

install compat-wireless-2.6.38.2-2 on linux

/etc/modprobe.d/ath9.conf
options ath9k nohwcrypt=1
modprobe -v ath9k
insmod /lib/modules/2.6.38.8/updates/net/wireless/cfg80211.ko
insmod /lib/modules/2.6.38.8/updates/drivers/net/wireless/ath/ath.ko
insmod /lib/modules/2.6.38.8/updates/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
insmod /lib/modules/2.6.38.8/updates/drivers/net/wireless/ath/ath9k/ath9k_common.ko
insmod /lib/modules/2.6.38.8/updates/net/mac80211/mac80211.ko
insmod /lib/modules/2.6.38.8/updates/drivers/net/wireless/ath/ath9k/ath9k.ko
nohwcrypt=1

i get maxinum speed is 25Mbit
my pc mac acccess another AP maxinum 50Mbit

setup AR9285 Wireless calint maxinum 30Mbit
AR9285 spec is 150Mbits

thanks for any advice

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2
  2011-08-09  3:00 AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2 Dane Shih
@ 2011-08-09  3:02 ` Adrian Chadd
  2011-08-09  3:07   ` Dane Shih
  2011-08-09  5:29 ` Mohammed Shafi
  2011-08-09  6:36 ` Andreas Hartmann
  2 siblings, 1 reply; 10+ messages in thread
From: Adrian Chadd @ 2011-08-09  3:02 UTC (permalink / raw)
  To: Dane Shih; +Cc: linux-wireless

On 9 August 2011 11:00, Dane Shih <daneshih1981@gmail.com> wrote:

> /etc/modprobe.d/ath9.conf
> options ath9k nohwcrypt=1
> modprobe -v ath9k

Out of curiousity, why are you using nohwcrypt=1 ?


adrian

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2
  2011-08-09  3:02 ` Adrian Chadd
@ 2011-08-09  3:07   ` Dane Shih
  2011-08-09  3:10     ` Adrian Chadd
  0 siblings, 1 reply; 10+ messages in thread
From: Dane Shih @ 2011-08-09  3:07 UTC (permalink / raw)
  To: Adrian Chadd; +Cc: linux-wireless

2011/8/9 Adrian Chadd <adrian@freebsd.org>:
> On 9 August 2011 11:00, Dane Shih <daneshih1981@gmail.com> wrote:
>
>> /etc/modprobe.d/ath9.conf
>> options ath9k nohwcrypt=1
>> modprobe -v ath9k
>
> Out of curiousity, why are you using nohwcrypt=1 ?
>
>
> adrian
>

http://ubuntuforums.org/showthread.php?t=1746326
http://www.fedoraforum.org/forum/showthread.php?t=252404

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2
  2011-08-09  3:07   ` Dane Shih
@ 2011-08-09  3:10     ` Adrian Chadd
  2011-08-09  3:18       ` Dane Shih
  0 siblings, 1 reply; 10+ messages in thread
From: Adrian Chadd @ 2011-08-09  3:10 UTC (permalink / raw)
  To: Dane Shih; +Cc: linux-wireless

See if there are any problems with it enabled?


Adrian

On 9 August 2011 11:07, Dane Shih <daneshih1981@gmail.com> wrote:
> 2011/8/9 Adrian Chadd <adrian@freebsd.org>:
>> On 9 August 2011 11:00, Dane Shih <daneshih1981@gmail.com> wrote:
>>
>>> /etc/modprobe.d/ath9.conf
>>> options ath9k nohwcrypt=1
>>> modprobe -v ath9k
>>
>> Out of curiousity, why are you using nohwcrypt=1 ?
>>
>>
>> adrian
>>
>
> http://ubuntuforums.org/showthread.php?t=1746326
> http://www.fedoraforum.org/forum/showthread.php?t=252404
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2
  2011-08-09  3:10     ` Adrian Chadd
@ 2011-08-09  3:18       ` Dane Shih
  2011-08-09  3:52         ` Adrian Chadd
  0 siblings, 1 reply; 10+ messages in thread
From: Dane Shih @ 2011-08-09  3:18 UTC (permalink / raw)
  To: Adrian Chadd; +Cc: linux-wireless

just look  throughput
in my tests,  throughput not growing when enable the parameter



2011/8/9 Adrian Chadd <adrian@freebsd.org>:
> See if there are any problems with it enabled?
>
>
> Adrian
>
> On 9 August 2011 11:07, Dane Shih <daneshih1981@gmail.com> wrote:
>> 2011/8/9 Adrian Chadd <adrian@freebsd.org>:
>>> On 9 August 2011 11:00, Dane Shih <daneshih1981@gmail.com> wrote:
>>>
>>>> /etc/modprobe.d/ath9.conf
>>>> options ath9k nohwcrypt=1
>>>> modprobe -v ath9k
>>>
>>> Out of curiousity, why are you using nohwcrypt=1 ?
>>>
>>>
>>> adrian
>>>
>>
>> http://ubuntuforums.org/showthread.php?t=1746326
>> http://www.fedoraforum.org/forum/showthread.php?t=252404
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2
  2011-08-09  3:18       ` Dane Shih
@ 2011-08-09  3:52         ` Adrian Chadd
  0 siblings, 0 replies; 10+ messages in thread
From: Adrian Chadd @ 2011-08-09  3:52 UTC (permalink / raw)
  To: Dane Shih; +Cc: linux-wireless

On 9 August 2011 11:18, Dane Shih <daneshih1981@gmail.com> wrote:
> just look  throughput
> in my tests,  throughput not growing when enable the parameter

Right, so it's not likely the hwcrypt parameter. I was just checking. :)


Adrian

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2
  2011-08-09  3:00 AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2 Dane Shih
  2011-08-09  3:02 ` Adrian Chadd
@ 2011-08-09  5:29 ` Mohammed Shafi
  2011-08-09  6:36 ` Andreas Hartmann
  2 siblings, 0 replies; 10+ messages in thread
From: Mohammed Shafi @ 2011-08-09  5:29 UTC (permalink / raw)
  To: Dane Shih; +Cc: linux-wireless, Adrian Chadd

On Tue, Aug 9, 2011 at 8:30 AM, Dane Shih <daneshih1981@gmail.com> wrote:
> hi all
>
> i try to setup AR9285 Wireless  ap mode on fedora 12
>
> but it seem not stable when setup Master mode use hostapd
> so ...i upgrade kernel to  2.6.38.8
> it's better, no more disconnect

please try to with the latest stable compat-wirelesss
http://linuxwireless.org/en/users/Download/stable/#compat-wireless_3.0_stable_releases
also the development version of hostapd
git://w1.fi/srv/git/hostap.git

>
> but ap mode in 80211n
>
> hostapd.conf
>
> nterface=wlan0
> driver=nl80211
> ssid=test
> hw_mode=g
> wme_enabled=1
> ieee80211n=1
> ht_capab=HT40+
> channel=7
> auth_algs=3
> ignore_broadcast_ssid=0
>
> throughput only 20Mbits

also please try to add more ht_capab like shortGI, STBC etc, please
use channel 1 for HT40+

>
> install compat-wireless-2.6.38.2-2 on linux
>
> /etc/modprobe.d/ath9.conf
> options ath9k nohwcrypt=1
> modprobe -v ath9k
> insmod /lib/modules/2.6.38.8/updates/net/wireless/cfg80211.ko
> insmod /lib/modules/2.6.38.8/updates/drivers/net/wireless/ath/ath.ko
> insmod /lib/modules/2.6.38.8/updates/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
> insmod /lib/modules/2.6.38.8/updates/drivers/net/wireless/ath/ath9k/ath9k_common.ko
> insmod /lib/modules/2.6.38.8/updates/net/mac80211/mac80211.ko
> insmod /lib/modules/2.6.38.8/updates/drivers/net/wireless/ath/ath9k/ath9k.ko
> nohwcrypt=1


I don't know why we should do this, its better to use default hardware
encryption, does it cause any issues.

>
> i get maxinum speed is 25Mbit
> my pc mac acccess another AP maxinum 50Mbit
>
> setup AR9285 Wireless calint maxinum 30Mbit
> AR9285 spec is 150Mbits
>
> thanks for any advice
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
shafi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2
  2011-08-09  3:00 AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2 Dane Shih
  2011-08-09  3:02 ` Adrian Chadd
  2011-08-09  5:29 ` Mohammed Shafi
@ 2011-08-09  6:36 ` Andreas Hartmann
  2011-08-09  9:11   ` Dane Shih
  2 siblings, 1 reply; 10+ messages in thread
From: Andreas Hartmann @ 2011-08-09  6:36 UTC (permalink / raw)
  To: Dane Shih; +Cc: linux-wireless

Dane Shih schrieb:
> hi all
> 
> i try to setup AR9285 Wireless  ap mode on fedora 12
> 
> but it seem not stable when setup Master mode use hostapd
> so ...i upgrade kernel to  2.6.38.8
> it's better, no more disconnect
> 
> but ap mode in 80211n
> 
> hostapd.conf
> 
> nterface=wlan0
> driver=nl80211
> ssid=test
> hw_mode=g
> wme_enabled=1
> ieee80211n=1
> ht_capab=HT40+

I'm using

ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40][TX-STBC][RX-STBC1][MAX-AMSDU-3839]
channel=1

with this chip and get about 100 MBit/s (kernel 3.0 or 2.6.39)


Andreas

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2
  2011-08-09  6:36 ` Andreas Hartmann
@ 2011-08-09  9:11   ` Dane Shih
  2011-08-09 10:08     ` Andreas Hartmann
  0 siblings, 1 reply; 10+ messages in thread
From: Dane Shih @ 2011-08-09  9:11 UTC (permalink / raw)
  To: Andreas Hartmann; +Cc: linux-wireless

thanks
kernel upgrade to 3.0
and install compat-wireless_3.0_stable_releases ath9k  driver

[  4] local 192.168.100.254 port 5001 connected with 192.168.100.47 port 49230
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0- 2.1 sec  10.0 MBytes  40.5 Mbits/sec
[  5] local 192.168.100.254 port 5001 connected with 192.168.100.47 port 49231
[  5]  0.0- 6.4 sec  30.0 MBytes  39.2 Mbits/sec

80211n  maxinum throughput 40Mbit

what i should be check

another question
wireless client also get  100 MBit/s

thanks




2011/8/9 Andreas Hartmann <andihartmann@01019freenet.de>:
> Dane Shih schrieb:
>> hi all
>>
>> i try to setup AR9285 Wireless  ap mode on fedora 12
>>
>> but it seem not stable when setup Master mode use hostapd
>> so ...i upgrade kernel to  2.6.38.8
>> it's better, no more disconnect
>>
>> but ap mode in 80211n
>>
>> hostapd.conf
>>
>> nterface=wlan0
>> driver=nl80211
>> ssid=test
>> hw_mode=g
>> wme_enabled=1
>> ieee80211n=1
>> ht_capab=HT40+
>
> I'm using
>
> ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40][TX-STBC][RX-STBC1][MAX-AMSDU-3839]
> channel=1
>
> with this chip and get about 100 MBit/s (kernel 3.0 or 2.6.39)
>
>
> Andreas
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2
  2011-08-09  9:11   ` Dane Shih
@ 2011-08-09 10:08     ` Andreas Hartmann
  0 siblings, 0 replies; 10+ messages in thread
From: Andreas Hartmann @ 2011-08-09 10:08 UTC (permalink / raw)
  To: Dane Shih; +Cc: linux-wireless

Dane Shih schrieb:
> thanks
> kernel upgrade to 3.0
> and install compat-wireless_3.0_stable_releases ath9k  driver

Well, I'm using the original drivers from 3.0.

> [  4] local 192.168.100.254 port 5001 connected with 192.168.100.47 port 49230
> [ ID] Interval       Transfer     Bandwidth
> [  4]  0.0- 2.1 sec  10.0 MBytes  40.5 Mbits/sec
> [  5] local 192.168.100.254 port 5001 connected with 192.168.100.47 port 49231
> [  5]  0.0- 6.4 sec  30.0 MBytes  39.2 Mbits/sec

Where does this output come from? I don't know it. You could use netperf
for testing the bandwith.

#!/bin/sh

dest="your_srv" # set the servername

while true ; do
netperf -t TCP_MAERTS -H $dest
netperf -t TCP_STREAM -H $dest
netperf -t TCP_SENDFILE -H $dest
done

Start netserver on the server side before you start this script (script
can be stopped with CTRL-C).

I'm using hostapd from hostapd git from 21.04.2011.

> 
> 80211n  maxinum throughput 40Mbit
> 
> what i should be check
> 
> another question
> wireless client also get  100 MBit/s
> 
> thanks

Sorry - I don't understand you :-(.


Andreas

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-08-09 10:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-09  3:00 AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2 Dane Shih
2011-08-09  3:02 ` Adrian Chadd
2011-08-09  3:07   ` Dane Shih
2011-08-09  3:10     ` Adrian Chadd
2011-08-09  3:18       ` Dane Shih
2011-08-09  3:52         ` Adrian Chadd
2011-08-09  5:29 ` Mohammed Shafi
2011-08-09  6:36 ` Andreas Hartmann
2011-08-09  9:11   ` Dane Shih
2011-08-09 10:08     ` Andreas Hartmann

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).