Search Linux Wireless

Re: [PATCH 01/19] orinoco: Add ESSID specific scanning for Agere fw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-08-04 at 00:48 -0400, Pavel Roskin wrote:
> On Sat, 2008-08-02 at 11:14 +0100, kilroyd@xxxxxxxxxxxxxx wrote:
> > Pass the ESSID to the card.
> > 
> > This allows 'iwlist eth1 scan essid <essid>' to work, and will help
> > with routers setup not to broadcast the ESSID.
> 
> That's a nice thing to have, but it doesn't seem to work on x86_64 (I
> didn't try other platforms).  I tried wireless-tools 30.pre6 instead of
> 29, but it broke the output completely:
> 
> # iwlist eth1 scan 
> *** Please report to jt@xxxxxxxxxx your platform details
> *** and the following line :
> *** IW_EV_LCP_PK2_LEN = 4 ; IW_EV_POINT_PK2_LEN = 8
> 
> eth1      Scan completed :
>           Cell 01 - Address: 00:19:5B:56:FC:73
>                     ESSID:off/any/hidden
>                     Mode:Master
>                     Frequency=2.437 GHz (Channel 6)
>                     Signal level:-29 dBm  Noise level:-81 dBm
>                     Encryption key:E0
>                     Extra:
>           Cell 02 - Address: 00:15:6D:53:9A:CA
>                     ESSID:off/any/hidden
>                     Mode:Master
>                     Frequency:2.462 GHz (Channel 11)
>                     Signal level:-49 dBm  Noise level:-80 dBm
>                     Encryption key:E0
>                     Extra:
> 
> 
> > +			if (priv->scan_mode & IW_SCAN_THIS_ESSID) {
> 
> The debug output shows that the about condition is never true with
> either version of iwlist.  The command is:
> 
> iwlist eth1 scan essid foo

That code looks right, since srq->flags is getting copied into
priv->scan_mode.

Maybe the wireless-tools breakage you're experiencing is causing this to
fail on x86-64?  Are you using 64-bit wireless-tools and a 64-bit
kernel, or 32-bit wireless tools with a 64-bit kernel?

Dan

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux