From: "\"Lorna González\"" <lorna.glez@gmx.net>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k: Virtual interface as AP
Date: Thu, 11 Nov 2010 16:06:34 +0100 [thread overview]
Message-ID: <20101111150634.288980@gmx.net> (raw)
In-Reply-To: <1288253027.23270.9.camel@jm-desktop>
Hello
I finally got a station an a virtual AP working on the same channel using the setup below. I made some test sending TCP through iperf between the AP and the station and the VAP to a station associated with it.
Using an AP operating with Ieee802.11n, an atheros AR928X and without virtual interfaces I get a max throughput of 50 MBits/s.
As soon as I start using my desired setup, the thoughput of the station is about 15 MBits/s... I actually need to make the rate fixed using iwconfig to get this max. Otherwise the traffic is sent at 1 MBit/s.
Can someone please tell me how is the behaviour of the rate control in case of virtual interfaces on mac80211?
Thanks in advanced
Lorna Gonz?lez.
-------- Original-Nachricht --------
> Datum: Thu, 28 Oct 2010 11:03:47 +0300
> Von: Jouni Malinen <jouni.malinen@atheros.com>
> An: "\\"Lorna Gonz?lez"" <lorna.glez@gmx.net>
> CC: "ath9k-devel at lists.ath9k.org" <ath9k-devel@lists.ath9k.org>
> Betreff: Re: [ath9k-devel] ath9k: Virtual interface as AP
> On Thu, 2010-10-28 at 00:47 -0700, "Lorna Gonz?lez" wrote:
> > After trying to build two virtual interfaces, one as a STA and another
> one as AP on mac80211 with an AR928X, creating a new interface with:
> >
> > iw phy phy0 interface add wlan1 type __ap
> >
> > I got a new interface called wlan1_rename, the one I used to build the
> AP interface.
>
> > But no other stations are able to see this Virtual AP and no more frames
> are sent from the VAP.
>
> How did you set the MAC addresses on the interfaces? Based on a quick
> test, I was able to get hostapd running on the interface created with
> the command above at least when not changing the address on the created
> interface. A station was able to see the AP and associate. Then I
> changed the MAC address of the original interface by setting locally
> administered bit (02:<rest of addr>) and I was able to associate it as a
> station to an AP that was running on the same channel. The ping from the
> virtual AP interface was still going through.
>
> Just keep in mind that not all combinations will work as far as key
> setup is concerned. In other words, you may be able to get associated
> with multiple interfaces, but the data frames may not get through if the
> driver is not yet ready to the setup you tested. These will be
> eventually addressed for most cases, but for now, you may also want to
> experiment with nohwcrypt=1 if you see something that could be caused by
> this.
>
> - Jouni
>
>
--
GMX DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
next prev parent reply other threads:[~2010-11-11 15:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-28 7:47 [ath9k-devel] ath9k: Virtual interface as AP "Lorna González"
2010-10-28 8:03 ` Jouni Malinen
2010-11-11 15:06 ` "Lorna González" [this message]
2010-11-11 17:00 ` Ben Greear
2010-11-12 9:21 ` "Lorna González"
2010-11-12 17:22 ` Ben Greear
-- strict thread matches above, loose matches on Subject: below --
2010-10-31 21:48 "Lorna González"
2010-10-27 14:11 "Lorna González"
2010-10-27 14:24 ` Mohammed Shafi
2010-10-27 14:29 ` "Lorna González"
2010-10-27 14:42 ` Mohammed Shafi
2010-10-27 14:56 ` Peter Stuge
2010-10-27 15:02 ` Jouni Malinen
2010-10-27 16:32 ` "Lorna González"
2010-10-28 7:36 ` jean-pierre cartal
2010-10-27 11:11 "Lorna González"
2010-10-27 12:03 ` Jouni Malinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101111150634.288980@gmx.net \
--to=lorna.glez@gmx.net \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.