Return-path: Received: from g1t0027.austin.hp.com ([15.216.28.34]:3002 "EHLO g1t0027.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759958AbYHEQWk (ORCPT ); Tue, 5 Aug 2008 12:22:40 -0400 Date: Tue, 5 Aug 2008 09:22:38 -0700 To: Dan Williams Cc: Pavel Roskin , kilroyd@googlemail.com, linux-wireless@vger.kernel.org, orinoco-devel@lists.sourceforge.net, David Kilroy Subject: Re: [PATCH 01/19] orinoco: Add ESSID specific scanning for Agere fw Message-ID: <20080805162238.GA6294@bougret.hpl.hp.com> (sfid-20080805_182244_556284_17B36CE1) Reply-To: jt@hpl.hp.com References: <1217672073-7094-1-git-send-email-kilroyd@gmail.com> <1217672073-7094-2-git-send-email-kilroyd@gmail.com> <1217825304.10989.20.camel@dv> <1217864060.3139.10.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1217864060.3139.10.camel@localhost.localdomain> From: Jean Tourrilhes Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Aug 04, 2008 at 11:34:20AM -0400, Dan Williams wrote: > On Mon, 2008-08-04 at 00:48 -0400, Pavel Roskin wrote: > > On Sat, 2008-08-02 at 11:14 +0100, kilroyd@googlemail.com wrote: > > > Pass the ESSID to the card. > > > > > > This allows 'iwlist eth1 scan 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@hpl.hp.com 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 I still need to look into those 64 bit issues. That's the reason why WT-30 is still pending. The good news is that I now have a 64 bit box. The bad news is work and family. Have fun... Jean