All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k: Virtual interface as AP
Date: Fri, 12 Nov 2010 09:22:14 -0800	[thread overview]
Message-ID: <4CDD77C6.7010700@candelatech.com> (raw)
In-Reply-To: <20101112092108.202720@gmx.net>

On 11/12/2010 01:21 AM, "Lorna Gonz?lez" wrote:
>
> Hi Ben,
>
> My scenario looks like this:
> wlan0 operates as an AP using hostapd and it is associated to aclient
> a wlan1 virtual interface is in managed mode and associated to an Ieee 802.11n AP.
> They share the same channel.
> When I measure the throughput with TCP streams in jperf I get following:
>> From wlan1 to the AP = 14,4 MBits/s
>> From wlan0 to the AP = 8 MBits/s (wlan0 is far away from the VAP and AP)
> Both sending traffic at the same time:
>> From wlan1 to the AP = 12 MBits/s
>> From wlan0 to the AP = 1,6 MBits/s (?)

I'm perhaps not thinking well this morning, but I am having trouble
understanding your network.

Can you please draw an ascii or other form of diagram?

Thanks,
Ben

>
> Like you said, it is low because both interfaces share the medium but if I don?t change the rate using iwconfig, this values or at least the first one goes down until 1,5 MBits. That?s way I wonder if there is something that keeps the rate low by the time a virtual interface is created.
>
> Thanks for your response
>
> Best regards
>
> Lorna
>
>
> -------- Original-Nachricht --------
>> Datum: Thu, 11 Nov 2010 09:00:45 -0800
>> Von: Ben Greear<greearb@candelatech.com>
>> An: "Lorna Gonz?lez"<lorna.glez@gmx.net>
>> CC: Jouni Malinen<jouni.malinen@atheros.com>, ath9k-devel at venema.h4ckr.net
>> Betreff: Re: [ath9k-devel] ath9k: Virtual interface as AP
>
>> 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<greearb@candelatech.com>
>> Candela Technologies Inc  http://www.candelatech.com
>>
>


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

  reply	other threads:[~2010-11-12 17:22 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"
2010-11-11 17:00     ` Ben Greear
2010-11-12  9:21       ` "Lorna González"
2010-11-12 17:22         ` Ben Greear [this message]
  -- 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=4CDD77C6.7010700@candelatech.com \
    --to=greearb@candelatech.com \
    --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.