Skip to contentSkip to conversation

ath9k-devel Digest, Vol 27, Issue 8

ath9k-devel linux_pro 1 participant 1 message Sep 8, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

linux_pro

author
#1 lore raw

dear Alexander Simon:
please check this file. is about ath9k performance.

AP is dir-825.
client is WIN7 x64. INTEL 6200.

2010/9/7 <[email protected]>

Quoted 302 lines

Send ath9k-devel mailing list submissions to
ath9k-devel at lists.ath9k.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
or, via email, send a message with subject or body 'help' to
ath9k-devel-request at lists.ath9k.org

You can reach the person managing the list at
ath9k-devel-owner at lists.ath9k.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of ath9k-devel digest..."

Today's Topics:

1. Re: ath9k as simultaneous AP/client (Mike Pithouse)
2. 802.11n performance again (Alexander Simon)
3. Re: 802.11n performance again (Peter Stuge)
4. multiple SSID's for hostapd? (At Santos)
5. Re: multiple SSID's for hostapd? (Alexander Simon)

----------------------------------------------------------------------

Message: 1
Date: Mon, 6 Sep 2010 10:21:54 +0100
From: "Mike Pithouse" <[email protected]>
Subject: Re: [ath9k-devel] ath9k as simultaneous AP/client
To: "pat-lkml" <[email protected]>
Cc: ath9k-devel at venema.h4ckr.net
Message-ID:

       <[email protected]>

Content-Type: text/plain; charset="us-ascii"

Hi Pat,

Thanks for your response. I think the missing piece of the jigsaw was the MAC change you mention. Hopefully I'll get the chance to try this soon.

Thanks again, Mike.

From: pat-lkml [mailto:pat-lkml at erley.org]
Sent: 31 August 2010 17:22
To: Mike Pithouse
Cc: ath9k-devel at venema.h4ckr.net
Subject: Re: [ath9k-devel] ath9k as simultaneous AP/client

On 8/31/2010 10:00 AM, Mike Pithouse wrote:

Hi all,

I need to set up an ath9k-driven atheros wi-fi card to behave as an access_point and client at the same time. I can see that it is possible for cards which use the madwifi driver (wlanconfig command), but haven't been able to find any information for doing this on cards which use the ath9k driver.

I've used hostapd to run an access point and wpa_supplicant to behave as a client but don't seem to be able to run both at the same time.

Can you let me know if this behaviour is possible with the ath9k driver?

Thanks, Mike.

iw phy phy0 interface add ap0 type station
iw phy phy0 interface add sta0 type station

configure hostapd to use ap0 on same channel as ap you're connecting to start hostapd
configure wpa_supplicant to use sta0
start wpa_supplicant

has always worked for me

Forgot to add: change mac address of sta0...

Pat

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100906/b9c0b810/attachment.html

------------------------------

Message: 2
Date: Mon, 6 Sep 2010 16:52:49 +0200
From: Alexander Simon <[email protected]>
Subject: [ath9k-devel] 802.11n performance again
To: ath9k-devel at lists.ath9k.org
Message-ID: <[email protected]>
Content-Type: Text/Plain; charset="us-ascii"

Dear Developers,

during the last weeks i've been experimenting with multiple AR9x Atheros cards
driven by ath9k.
I did some 802.11n throuput tests with an Ubiquiti SR-71-12 (AR9220-AC1E) and
Unex DNMA-H5 (AR9160-BC1B) in an Alix 3D Geode Board and another Ubiquiti SR-71 (AR9220) in an Acer Dual-Core Atom Netbook.
I've been using linux-next checked out on Friday, 06.09.2010 for all my tests.

First, I measured the performance against the cards themselves. I always got
around 90mbit/s, HT20 AND HT40. Then, i connected to an Apple (don't know which card), Win7 Intel 5100, and a D-Link DIR-825 Router (AR9220, Atheros Blob). The results always were just the same: Sending rate towards these devices was always around 20mbit/s, MCS varying from 3 to 5, receiving around
90mbit/s. I did all my tests in the same room.
There was another network at g band, but not a. But results were the same. Using adhoc, AP or station with iw or wpa_supplicant also made no differences.

To exclude environmental influences, i connected the Atheros cards to the D-
Link by wire. ath9k was sending with full MCS15 SGI, 240mbit/s from the netbook, 220mbit/s from the Alix board (iperf UDP). Looks fine. I tried ath9k_rate_control and minstrel_ht with the same results. Are there problems with signal quality calculation or what forces the rate algorithms to choose such a low bitrate?

Rx still didn't exceed those 90mbit/s. As the Netbook operated at the same rate, I think I can exclude CPU problems.

There must be some reason limiting the overall transfer rate to ~90mbit/s!

Examining debugfs a little, i can see there are no rx drops nor lost interrupts. Does anyone have a hint what this could be related to? Where should i start investigating?
I have experience with driver programming, but ath9k and mac80211 are still pretty new to me.

Thanks in Advance,

Alex

------------------------------

Message: 3
Date: Mon, 6 Sep 2010 19:28:52 +0200
From: Peter Stuge <[email protected]>
Subject: Re: [ath9k-devel] 802.11n performance again
To: ath9k-devel at lists.ath9k.org
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Quoted 3 lines · Alexander Simon

Examining debugfs a little, i can see there are no rx drops nor lost interrupts. Does anyone have a hint what this could be related to? Where should i start investigating?

I hope you'll get some input, but I would not hold my breath if I were you.

//Peter

------------------------------

Message: 4
Date: Tue, 7 Sep 2010 08:45:57 +0100
From: At Santos <[email protected]>
Subject: [ath9k-devel] multiple SSID's for hostapd?
To: <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Say I want to have 2 SSID's for my hostapd ( but I only have 1 wifi card). So I want 1 wifi card to host 2 wifi networks.

Do I need to run 2 instances of hostapd?
Or can hostapd.conf handle multiple SSID configurations? If so, how? I can't find any clear examples googling.
I found this
http://www.mail-archive.com/ath9k-devel at lists.ath9k.org/msg01346.html but it is not clear to me.

Thanks in advance

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100907/38901b5d/attachment-0001.htm

------------------------------

Message: 5
Date: Tue, 7 Sep 2010 10:51:37 +0200
From: Alexander Simon <[email protected]>
Subject: Re: [ath9k-devel] multiple SSID's for hostapd?
To: ath9k-devel at lists.ath9k.org
Message-ID: <[email protected]>
Content-Type: Text/Plain; charset="iso-8859-15"

Hi At,

Both ways work.

* Two hostapds:

I tested it with a recent ath9k version.
Each interface has to have an own MAC adress.

As far as i understand this, the driver has to generate a bitmask the MAC is
programmed with that filters according BSSIDs, because these are automatically
ACKed. So ideally you would have to program two mac adresses that only differ
in one bit.

Say,

# ifconfig wlan0
gives you
HWaddr 00:0B:6B:54:5A:B3
then 0x3 is 0011. Then you would have to add wlan1 with
# iw phy phy0 interface add wlan1 type managed
and change its MAC to (0010 is 0x2)
# ifconfig wlan1 hw ether 00:0B:6B:54:5A:B2

Then you should be able to start two hostapd on the same channel.

* One hostapd (which i think is better)

hostapd.conf (0.7.2) files have a section "Multiple BSSID support" at their end. I used:

bss=wlan0_0
ssid=ath9ktest2
bssid=00:15:6d:84:1f:28 <- enter you calculated MAC address here #you can have another encryption for your 2nd ssid wpa=2
wpa_pairwise=TKIP CCMP
wpa_passphrase=anothersecret

# hostapd /etc/hostapd.conf
Using interface wlan0 with hwaddr 00:15:6d:84:1f:29 and ssid 'ath9ktest'
Using interface wlan0_0 with hwaddr 00:15:6d:84:1f:28 and ssid 'ath9ktest2'

Commenting out bssid and let hostapd calculate did not work for me.

Alex

Am Dienstag, 7. September 2010, 09:45:57 schrieb At Santos:

Quoted 1 line

Say I want to have 2 SSID's for my hostapd ( but I only have 1 wifi

card).

Quoted 10 lines

So I want 1 wifi card to host 2 wifi networks.

Do I need to run 2 instances of hostapd?
Or can hostapd.conf handle multiple SSID configurations? If so, how? I can't find any clear examples googling.
I found this
http://www.mail-archive.com/ath9k-devel at lists.ath9k.org/msg01346.html but it is not clear to me.

Thanks in advance

------------------------------

Quoted 9 lines

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

End of ath9k-devel Digest, Vol 27, Issue 8
******************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100908/9b16ef08/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Desktop.rar
Type: application/octet-stream
Size: 84147 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100908/9b16ef08/attachment-0001.obj