From: Pavel Roskin <proski@gnu.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: nl80211 and wext interoperability
Date: Thu, 09 Jul 2009 13:13:45 -0400 [thread overview]
Message-ID: <1247159625.28654.30.camel@mj> (raw)
In-Reply-To: <1247139797.2144.27.camel@johannes.local>
On Thu, 2009-07-09 at 13:43 +0200, Johannes Berg wrote:
> Currently, if you use wpa_supplicant -Dwext and -Dnl80211 mixed,
> -Dnl80211 gets confused because -Dwext will set a 32-byte random SSID to
> "disconnect". When then the interface is brought UP again, the cfg80211
> code assumes that you set configuration while it was DOWN, and tries to
> recover that configuration. This means it will start scanning for the
> network, which means -Dnl80211 gets -EBUSY for the scan and it all gets
> very delayed. This also happens if you set an SSID with iwconfig before
> using -Dnl80211.
I'm seeing delay is I start wpa_supplicant with -Dwext on the current
wireless-testing. I don't use -Dnl80211 on that system at all, as it
has stock Fedora 11 wpa_supplicant without nl80211 support.
I think using random data is a problem by itself. Are we exposing
random pieces of kernel memory in probe requests? That's bad.
> Do we just ignore that issue? It's only added timeout and people using
> purely nl80211 will never have a problem.
>
> I'm all for ignoring wext issues, but I can also see people complain
> about things like this. Not sure what mac80211 did, did it just ignore
> settings while interfaces were down? I never really made sense of that
> code.
If your description is correct, I think the fix should be easy.
--
Regards,
Pavel Roskin
next prev parent reply other threads:[~2009-07-09 17:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-09 11:43 nl80211 and wext interoperability Johannes Berg
2009-07-09 14:43 ` John W. Linville
2009-07-09 17:13 ` Pavel Roskin [this message]
2009-07-09 17:48 ` Johannes Berg
2009-07-13 17:55 ` Dan Williams
2009-07-09 17:53 ` Luis R. Rodriguez
2009-07-09 18:15 ` Johannes Berg
2009-07-13 17:53 ` Dan Williams
2009-07-13 17:54 ` Johannes Berg
2009-07-13 19:10 ` Dan Williams
2009-07-13 19:14 ` Johannes Berg
2009-07-13 20:52 ` Dan Williams
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=1247159625.28654.30.camel@mj \
--to=proski@gnu.org \
--cc=johannes@sipsolutions.net \
--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 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.