2011-08-09 03:00:13

by Dane Shih

[permalink] [raw]
Subject: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2

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


2011-08-09 03:10:31

by Adrian Chadd

[permalink] [raw]
Subject: Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2

See if there are any problems with it enabled?


Adrian

On 9 August 2011 11:07, Dane Shih <[email protected]> wrote:
> 2011/8/9 Adrian Chadd <[email protected]>:
>> On 9 August 2011 11:00, Dane Shih <[email protected]> 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 [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>

2011-08-09 06:42:21

by Andreas Hartmann

[permalink] [raw]
Subject: Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2

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

2011-08-09 10:08:24

by Andreas Hartmann

[permalink] [raw]
Subject: Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2

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

2011-08-09 05:29:29

by Mohammed Shafi

[permalink] [raw]
Subject: Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2

On Tue, Aug 9, 2011 at 8:30 AM, Dane Shih <[email protected]> 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 [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>



--
shafi

2011-08-09 09:11:20

by Dane Shih

[permalink] [raw]
Subject: Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2

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 <[email protected]>:
> 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
>

2011-08-09 03:02:16

by Adrian Chadd

[permalink] [raw]
Subject: Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2

On 9 August 2011 11:00, Dane Shih <[email protected]> wrote:

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

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


adrian

2011-08-09 03:52:01

by Adrian Chadd

[permalink] [raw]
Subject: Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2

On 9 August 2011 11:18, Dane Shih <[email protected]> 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

2011-08-09 03:07:06

by Dane Shih

[permalink] [raw]
Subject: Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2

2011/8/9 Adrian Chadd <[email protected]>:
> On 9 August 2011 11:00, Dane Shih <[email protected]> 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

2011-08-09 03:19:00

by Dane Shih

[permalink] [raw]
Subject: Re: AR9285 Wireless 80211n mode get only 25Mbit with Linux 2.6.38.8 and compat-wireless-2.6.38.2-2

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



2011/8/9 Adrian Chadd <[email protected]>:
> See if there are any problems with it enabled?
>
>
> Adrian
>
> On 9 August 2011 11:07, Dane Shih <[email protected]> wrote:
>> 2011/8/9 Adrian Chadd <[email protected]>:
>>> On 9 August 2011 11:00, Dane Shih <[email protected]> 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 [email protected]
>> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>>
>