linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Williams <dcbw@redhat.com>
To: Holger Schurig <hs4233@mail.mn-solutions.de>
Cc: linux-wireless@vger.kernel.org,
	Helmut Schaa <helmut.schaa@googlemail.com>,
	"Luis R. Rodriguez" <lrodriguez@atheros.com>,
	Jouni Malinen <j@w1.fi>, Mircea Gherzan <mgherzan@gmail.com>
Subject: Re: Google Summer of Code 2009 -- Linux wireless roaming project
Date: Tue, 24 Mar 2009 06:49:53 -0400	[thread overview]
Message-ID: <1237891793.25734.27.camel@localhost.localdomain> (raw)
In-Reply-To: <200903241146.51795.hs4233@mail.mn-solutions.de>

On Tue, 2009-03-24 at 11:46 +0100, Holger Schurig wrote:
> > Yes, that's a good idea. There are some more scenarios where
> > different roaming algorithms might make sense. However, I'm
> > still not sure where the roaming decision should be made (and
> > thus where the algorithm should be implemented). In user space
> > (wpa_supplicant) or in mac80211. Having it in user space would
> > allow non-mac80211-drivers to benefit too but the driver would
> > have to provide the necessary information.
> 
> User-space is often easier to change *)
> 
> 
> However, if you want to use beacon-information, then user-space 
> doesn't spring to my mind so quickly. Beacons come in quite 
> fast, and I'd if I have to transport all of this to 
> user-space ...
> 
> 
> Or we divide it: if user-spaces tells the kernel, then the kernel 
> maintains a bss-list and whenever the kernel modifies the 
> list "considerably", kernel pushes a nl80211 message to 
> user-space, notifying it about the new state "once in a while". 
> Then data gathering is in kernel, but decision making is in 
> user-space. However, we need a good defintion for "considerably" 
> and "once in a while", thought :-)

Right now the kernel will only keep the list for 10 seconds or so.
That's not enough to determine "considerably" really.  Since of course
not every AP shows up every scan, if you don't keep some scan history
there's no good way to know what "considerably" really means...  So
yeah, it would mean keeping a larger BSS list around in the kernel, or
even the last few BSS lists and a timestamp for each one, and figuring
out an algorithm to 'diff' the scan lists and come up with a threshold
for when that 'diff' is large enough to warrant a signal.

Dan

> 
> 
> 
> 
> *) EXCEPT if we're talking wpa_supplicant. Not everyone find 
> wpa_supplicant easy to modify, because of the number of 
> interwoven state-machines and handled corner-cases.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


      reply	other threads:[~2009-03-24 10:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-20 21:57 Google Summer of Code 2009 -- Linux wireless roaming project Luis R. Rodriguez
2009-03-21 11:43 ` Helmut Schaa
2009-03-24  9:06   ` Holger Schurig
2009-03-24 10:15     ` Helmut Schaa
2009-03-24 10:36       ` Holger Schurig
2009-03-24 11:05         ` Helmut Schaa
2009-03-24 12:52           ` Mats Karlsson
2009-03-24 10:37       ` Dan Williams
2009-03-24 10:46       ` Holger Schurig
2009-03-24 10:49         ` Dan Williams [this message]

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=1237891793.25734.27.camel@localhost.localdomain \
    --to=dcbw@redhat.com \
    --cc=helmut.schaa@googlemail.com \
    --cc=hs4233@mail.mn-solutions.de \
    --cc=j@w1.fi \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lrodriguez@atheros.com \
    --cc=mgherzan@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).