public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Dan Williams <dcbw@redhat.com>
To: Jouni Malinen <j@w1.fi>
Cc: Kalle Valo <kalle.valo@nokia.com>,
	Holger Schurig <hs4233@mail.mn-solutions.de>,
	linux-wireless@vger.kernel.org
Subject: Re: Pondering: how to improve mac80211 roaming ...
Date: Thu, 14 Aug 2008 14:30:18 -0400	[thread overview]
Message-ID: <1218738618.22939.11.camel@localhost.localdomain> (raw)
In-Reply-To: <20080814082519.GI4981@jm.kir.nu>

On Thu, 2008-08-14 at 11:25 +0300, Jouni Malinen wrote:
> On Thu, Aug 14, 2008 at 10:05:27AM +0300, Kalle Valo wrote:
> 
> > What about PMKSA caching? Shouldn't user space need to provide PMKIDs
> > (or the IEs) to mac80211 before association?
> 
> There are two possible designs for this. In wpa_supplicant terms,
> ap_scan=2 would most likely mean that driver is responsible for
> generating the RSN IE, including PMKID list, and wpa_supplicant is
> providing the driver a list of currently available PMKs (PMKIDs for
> them). In ap_scan=1, there is option for the driver to use the RSN IE
> from wpa_supplicant (which is something that mac80211 is doing at the
> moment) and in that case, yes, PMKIDs would indeed need to be updated
> in the RSN IE just before association.

The problem with ap_scan is that it really has two uses: roaming (it's
original meaning) and hidden SSID support (the acquired meaning because
of WEXT command ordering issues and lack of SSID scan support).

It's important to note that historically, mac80211 has completely failed
with ap_scan=2 and I'm not sure it's worth fixing that because effort
should be directed into cfg80211.

So if you're going to suggest that people should actually start using
roaming support and fixing it up, we need to figure out how to do
scanning better in the supplicant config too.

Dan



  reply	other threads:[~2008-08-14 18:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12  6:38 Pondering: how to improve mac80211 roaming Holger Schurig
2008-08-12  8:22 ` Jouni Malinen
2008-08-12  9:56   ` Holger Schurig
2008-08-12 12:40   ` Helmut Schaa
2008-08-12 15:42     ` Jouni Malinen
2008-08-12 17:56       ` Luis R. Rodriguez
2008-08-13  6:41         ` Holger Schurig
2008-08-13  6:50           ` Jouni Malinen
2008-08-13 12:26       ` Helmut Schaa
2008-08-13 12:49         ` Dan Williams
2008-08-13 12:53           ` Helmut Schaa
2008-08-13 14:18         ` Holger Schurig
2008-08-13 14:26           ` Helmut Schaa
2008-08-13  6:52   ` Holger Schurig
2008-08-13 12:02     ` Dan Williams
2008-08-13 14:28       ` Holger Schurig
2008-08-14  7:05   ` Kalle Valo
2008-08-14  8:25     ` Jouni Malinen
2008-08-14 18:30       ` Dan Williams [this message]
2008-08-14  6:42 ` Kalle Valo

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=1218738618.22939.11.camel@localhost.localdomain \
    --to=dcbw@redhat.com \
    --cc=hs4233@mail.mn-solutions.de \
    --cc=j@w1.fi \
    --cc=kalle.valo@nokia.com \
    --cc=linux-wireless@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox