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] vifs management
Date: Tue, 02 Nov 2010 12:30:55 -0700	[thread overview]
Message-ID: <4CD066EF.7090000@candelatech.com> (raw)
In-Reply-To: <AANLkTikEK2oL4VwKiL9v3B4wTusd_4dYUFXqqSDCEt=o@mail.gmail.com>

On 11/02/2010 11:43 AM, Jo?o Maur?cio wrote:
> Without PS, how can the client stay associated with each of the
> different APs?
>
> What I'm trying to do is create, for instance, 2 vifs, each one
> associated to a different AP and manually (or not) control which is
> "active" at a time. In my mind, in order to stay associated with the 2
> APs without packet loss, 1 of the vifs should send a fake PS=1 frame to
> its AP and the other should operate normally. Then, if a "switching
> order" comes in, the operating vif should send its own fake PS=1 frame
> to the corresponding AP and the "sleeping" one should send a PS=0 frame
> to its AP, receiving all the buffered packets.
> Isn't that the logic? I'm really getting confused :S.

My method assumes that all your stations will be on the same
frequency.  When that is the case, two different VIFS can communicate
to two different APs concurrently.  You do not have to play any
special tricks.

If you want your VIFs to function on different channels, then you
are going to have to attempt virtual wiphys probably..and my initial
attempt at using them went poorly.

> Ben Greear wrote:
>  > We have had good luck (assuming you are running the latest code +
>  > the tx-side locking that is yet to make it into wireless-testing)
>  > with creating and using lots of virtual stations on a single
>  > phy.
>
> Yup, I'm running the latest code, but what do you mean about "tx-side
> locking"?
> Also, I don't want to use lots of virtual stations, I guess that 3 would
> be nice.

Sure...we've been testing with 100+ to flush out bugs, but a smaller number is certainly
valid.

I'm not sure all of the tx DMA patches are upstream yet, but they should
be there soon.

Thanks,
Ben

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

  reply	other threads:[~2010-11-02 19:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-01 18:38 [ath9k-devel] vifs management João Maurício
2010-11-01 19:11 ` Ben Greear
2010-11-01 22:59   ` Peter Stuge
2010-11-02 18:43     ` João Maurício
2010-11-02 19:30       ` Ben Greear [this message]
2010-11-04  0:08         ` João Maurício
2010-11-07  0:33           ` João Maurício
2010-11-07 20:42             ` Ben Greear
2010-11-08  1:10               ` João Maurício

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=4CD066EF.7090000@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.