From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Greear Date: Thu, 11 Nov 2010 09:00:45 -0800 Subject: [ath9k-devel] ath9k: Virtual interface as AP In-Reply-To: <20101111150634.288980@gmx.net> References: <20101028074721.191890@gmx.net> <1288253027.23270.9.camel@jm-desktop> <20101111150634.288980@gmx.net> Message-ID: <4CDC213D.5090407@candelatech.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On 11/11/2010 07:06 AM, "Lorna Gonz?lez" wrote: > > 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? Can you give a more detailed description/diagram of your virtual AP setup and network throughput test? It sounds like you are using the same radio as AP and STA? If so, then of course you are going to get less bandwidth on the VIFS because they have to share the radio. I'm not sure it should drop all the way to 15Mbps, though. We haven't done a lot of throughput testing yet, but if we use two STA vifs on the ath9k box connected to an 80211n AP (trendnet), then we can set a max of about 9Mbps tx + rx across each STA (the STAs are sending to each other). That is around 40Mbps total tx + rx across the radio. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com