linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: Maciek Kaliszewski <mkalkal@interia.pl>
Cc: linux-wireless@vger.kernel.org
Subject: Re: iwl3945 and WPA
Date: Fri, 13 Jun 2008 17:08:07 -0400	[thread overview]
Message-ID: <1213391287.22425.31.camel@dv> (raw)
In-Reply-To: <4852D6EB.3020304@interia.pl>

On Fri, 2008-06-13 at 22:22 +0200, Maciek Kaliszewski wrote:

> I've checked and 0.6.3 is latest development version of wpa_supplicant.
> > Try removing "scan_ssid=1".   Also try ESSID scanning in iwlist:
> > iwlist wlan0_rename scanning essid APTEKA
> >   
>  Removing scan_ssid doesn't help .
> 
> iwlist wlan0_rename scanning essid APTEKA
> 
> gives the same results like
> 
> iwlist wlan0_rename scanning
> and
> iwlist wlan0_rename scanning essid AAAA
> so driver ignores essid parameter

Well, if iwlist doesn't confuse the driver by "essid", neither should
wpa_supplicant.

> It looks like driver issue (driver is returning bogus data)

But why does iwlist display the same data correctly?  If iwlist can
parse it, wpa_supplicant should be able to parse it as well.

Google search for "Invalid freq in scan results" finds another such case
back in year 2004:
http://lists.shmoo.com/pipermail/hostap/2004-March/thread.html#6134

> there is no AP with BSSID 00:00:01:00:00:1d and hidden SSID in vicinity 
> . There is only one (my) AP in the range .

Of course.  It looks like the initial "00:00:01:00" is bogus and the
final "00:1d" is the beginning of the correct BSSID.

> Moreover p54pci.ko driver  (from the  same family  )  works  just fine 
> with  this  version  of  wpa_supplicant .
> Command line and config file I run wpa_supplicant with  is the same.

It may be an alignment issue.  Different drivers may include different
data, in different order.

I suggest that you debug wpa_supplicant, specifically
wpa_driver_wext_get_scan_results() in src/drivers/driver_wext.c.  Try
printing iwe->cmd and iwe->len before the switch.  And please move it to
the hostap list.  If there is anything definitely wrong with the driver,
then please let us know.

-- 
Regards,
Pavel Roskin

  reply	other threads:[~2008-06-13 21:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-13 12:18 iwl3945 and WPA Maciek Kaliszewski
2008-06-13 12:57 ` Tomas Winkler
2008-06-13 13:21   ` Maciek Kaliszewski
2008-06-13 13:23 ` John W. Linville
2008-06-13 13:37   ` Tomas Winkler
2008-06-13 14:00     ` Maciek Kaliszewski
2008-06-13 16:36       ` Pavel Roskin
2008-06-13 20:22         ` Maciek Kaliszewski
2008-06-13 21:08           ` Pavel Roskin [this message]
2008-06-13 22:24             ` Maciek Kaliszewski
2008-06-14  9:38               ` Jouni Malinen
2008-06-14  9:42                 ` Johannes Berg
2008-06-14  9:51                   ` Jouni Malinen

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=1213391287.22425.31.camel@dv \
    --to=proski@gnu.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mkalkal@interia.pl \
    /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).