From: Dan Williams <dcbw@redhat.com>
To: Tomas Winkler <tomasw@gmail.com>
Cc: Johannes Berg <johannes@sipsolutions.net>,
Brian Morrison <bdm@fenrir.org.uk>,
linux-wireless@vger.kernel.org
Subject: Re: RE: iwl3945 problem with 2.6.25-rc9
Date: Sun, 20 Apr 2008 20:14:09 -0400 [thread overview]
Message-ID: <1208736849.18548.8.camel@localhost.localdomain> (raw)
In-Reply-To: <1ba2fa240804201339u3232c5f6mede647c5c8521ae3@mail.gmail.com>
On Sun, 2008-04-20 at 23:39 +0300, Tomas Winkler wrote:
> On Sat, Apr 19, 2008 at 11:32 AM, Johannes Berg
> <johannes@sipsolutions.net> wrote:
> >
> > > Second the 3954 and 4965 my uCode may crash intentionally if you send
> > > probe requests on a passive channel.according EEPROM.
> >
> > I really wonder what sort of error handling strategy that is, even if
> > it's done for regulatory compliance purposes I don't see a need to crash
> > the whole card. Especially considering that the userspace MLME in
> > wpa_supplicant will scan by itself (yes, it scans in userspace, whether
> > or not you may like that), of course it would be made comply with
> > regulatory settings but that makes it hard to develop.
>
> It should not scan on not supported channel in any conditions. EEPROM
> and reg.c has to be combined.
The driver should _certainly_ be enforcing regulatory domains. Even if
userspace requests a scan of a channel that is not available in the
regulatory domain, the driver needs to be rejecting the scan request in
situations where the firmware would reject it.
If the firmware triggers an assertion, that definitely indicates a bug
in the driver, where the driver is not properly gating options sent to
the firmware. Only in the most exceptional circumstances should the
firmware actually crash.
> >
> > > I personally wish to not make SW scanning possible at all for that reason.
> >
> > That is not going to happen since you can always "scan" by sending probe
> > requests manually.
>
> Probe request before association is a must, no argue about it.
>
> > > At last iwlwifi HW scanning can handle up to 4 essids for direct scan
> > > but currently wireless tools interface cannot utilize this.
> >
> > Does anybody actually *want* that? I personally dislike the behaviour of
> > scanning for all previously known SSIDs actively when hidden SSIDs are
> > so uncommon, I see it as an information disclosure vulnerability.
>
> Sure you want that. User space applications handles number of
> preferred SSIDs, let's call them profiles. It's desired that you do
> direct scan for those SSIDss for faster connection.
> Currently it takes 20 minutes for NM to connect to network I want in
> crowded air. (I'm exaggerating now I don't have real number... but
> it's something like that)
More like 1 or 2 minutes; though the scanning algorithm in NM 0.7 does
need to be optimized somewhat. Cards that advertise > 14 channels are
assumed to take a prohibitively long time to scan while connected
(madwifi was the largest offender here), and therefore NM will not
request scans for a/b/g devices while connected, but will collect and
use background scan results.
Dan
> It's not just for hidden ssids.
>
> Tomas
> --
> 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
next prev parent reply other threads:[~2008-04-21 0:17 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-15 22:24 iwl3945 problem with 2.6.25-rc9 Marcus Furlong
2008-04-16 18:28 ` Chatre, Reinette
2008-04-16 19:01 ` Marcus Furlong
2008-04-16 19:26 ` Dan Williams
2008-04-16 19:48 ` Marcus Furlong
2008-04-16 20:04 ` Dan Williams
2008-04-16 21:22 ` Chatre, Reinette
2008-04-16 22:05 ` Marcus Furlong
2008-04-16 22:55 ` Chatre, Reinette
2008-04-17 0:06 ` Marcus Furlong
2008-04-18 3:03 ` Marcus Furlong
2008-04-18 21:46 ` Chatre, Reinette
2008-04-18 21:57 ` Johannes Berg
2008-04-18 22:12 ` Chatre, Reinette
2008-04-18 22:23 ` Brian Morrison
2008-04-18 22:35 ` Chatre, Reinette
2008-04-18 22:38 ` Brian Morrison
2008-04-18 22:37 ` Johannes Berg
2008-04-18 22:39 ` Johannes Berg
2008-04-19 0:28 ` Tomas Winkler
2008-04-19 8:32 ` Johannes Berg
2008-04-19 12:39 ` Vincent C Jones
2008-04-19 13:09 ` Johannes Berg
2008-04-19 13:44 ` Vincent C Jones
2008-04-19 13:48 ` Johannes Berg
2008-04-19 13:51 ` Johannes Berg
2008-04-20 15:33 ` Dan Williams
2008-04-20 15:24 ` Dan Williams
2008-04-20 20:39 ` Tomas Winkler
2008-04-21 0:14 ` Dan Williams [this message]
2008-04-21 18:39 ` Tomas Winkler
2008-04-21 19:20 ` Dan Williams
2008-04-21 20:47 ` Tomas Winkler
2008-04-20 15:28 ` Dan Williams
2008-04-19 2:32 ` Marcus Furlong
2008-04-22 23:02 ` Chatre, Reinette
2008-04-23 13:23 ` Marcus Furlong
2008-04-16 23:01 ` Marcus Furlong
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=1208736849.18548.8.camel@localhost.localdomain \
--to=dcbw@redhat.com \
--cc=bdm@fenrir.org.uk \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=tomasw@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).