linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jean Tourrilhes <jt@hpl.hp.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Dan Williams <dcbw@redhat.com>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: iwlist and network-manager bug report
Date: Tue, 18 Sep 2007 10:37:18 -0700	[thread overview]
Message-ID: <20070918173718.GA1466@bougret.hpl.hp.com> (raw)
In-Reply-To: <1190110522.23521.36.camel@johannes.berg>

On Tue, Sep 18, 2007 at 12:15:22PM +0200, Johannes Berg wrote:
> On Mon, 2007-09-17 at 17:36 -0700, Jean Tourrilhes wrote:
> 
> > > Yeah, I don't think they cared for non-ascii at the time.
> > 
> > 	There were not concerned about UI, witness the mess in
> > specifying WEP keys (do you want passphrase with that ?).
> 
> Is passphrase actually specified in 802.11? I always thought it was some
> external hashing but didn't look it up.

	Yes, it's some external hashing, and if I remember there is at
least two variants of it.

> But yes, I don't think in 1999
> many people cared about general UIs...
> 
> > 	I'm talking of all driver that have their own private API :
> > --------------------------------
> > # cat /proc/driver/aironet/eth0/SSID 
> > MY_ESSID
> > --------------------------------
> 
> Oh. I didn't think that existed. Is there any point in that or could we
> just remove it?

	I say we just ignore it, it mostly legacy drivers, and some
people may use it.

> > 	I forgot one little issue.
> > 	Remember all the fuss about the ESSID API change a long while
> > back ? The goal was to support ESSID a array of char as opposed to
> > ASCII strings in the API. There was a big fuss, and at that time John
> > did a backward compatibility hack to support the old API in the
> > kernel.
> > 	Well, the hack of John is broken on the receive side. It
> > basically prevents us to implement what you want, amongst other
> > things. This is what you currently get :
> > ---------------------------------------
> > >./iwconfig eth0
> > eth0      IEEE 802.11b  ESSID:"my_essid\x00"  Nickname:"HERMES I"
> >           Mode:Managed  Frequency:2.422 GHz  Access Point: Not-Associated   
> >           Bit Rate:11 Mb/s   Sensitivity:1/3  
> > ---------------------------------------
> 
> Hmmm. So we already \x00-escape the trailing NUL?

	No, that's only in the brand new version of Wireless Tools
30.pre1 that include the escaping code. I coded that following your
suggestions, it includes full escaping in output and input. But now
I'm stuck because of that bug, I can't really distribute it.

> > 	I've already sent the patch to fix that to John, don't know
> > where it went :
> > 		http://marc.info/?t=118401941300001&r=1&w=2
> > 	I can resend you a copy if you want. I feel this patch ought
> > to go also in the various stable series.
> 
> Probably got lost, you should probably resend and to -stable as well.

	I'll do, but you seem much more efficient at getting stuff in
the kernel ;-)

> johannes

	Regards,

	Jean


  reply	other threads:[~2007-09-18 17:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-11 16:07 iwlist and network-manager bug report Johannes Berg
2007-09-12 15:22 ` Dan Williams
2007-09-12 17:01   ` Jean Tourrilhes
2007-09-13  7:11     ` Johannes Berg
2007-09-13 18:18       ` Johannes Berg
2007-09-14 18:09         ` Dan Williams
2007-09-14 18:25           ` Johannes Berg
2007-09-14 18:33             ` Dan Williams
2007-09-14 18:39               ` Johannes Berg
2007-09-14 19:12           ` dragoran
2007-09-14 20:05             ` Dan Williams
2007-09-14 20:10               ` dragoran
2007-09-18  0:36       ` Jean Tourrilhes
2007-09-18 10:15         ` Johannes Berg
2007-09-18 17:37           ` Jean Tourrilhes [this message]
2007-09-18 19:02             ` Dan Williams
2007-10-16  0:57 ` Jean Tourrilhes
2007-10-16 16:58   ` John W. Linville
2007-10-16 17:29     ` Jean Tourrilhes
2007-10-16 17:39     ` Jean Tourrilhes

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=20070918173718.GA1466@bougret.hpl.hp.com \
    --to=jt@hpl.hp.com \
    --cc=dcbw@redhat.com \
    --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 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).