public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Theodore Tso <tytso@mit.edu>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: Jeff Garzik <jeff@garzik.org>,
	jt@hpl.hp.com, Linus Torvalds <torvalds@osdl.org>,
	Lee Revell <rlrevell@joe-job.com>,
	Alessandro Suardi <alessandro.suardi@gmail.com>,
	Norbert Preining <preining@logic.at>,
	hostap@shmoo.com, ipw3945-devel@lists.sourceforge.net,
	Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org, johannes@sipsolutions.net
Subject: Re: wpa supplicant/ipw3945, ESSID last char missing
Date: Tue, 3 Oct 2006 19:16:48 -0400	[thread overview]
Message-ID: <20061003231648.GB26351@thunk.org> (raw)
In-Reply-To: <20061003214038.GE23912@tuxdriver.com>

On Tue, Oct 03, 2006 at 05:40:44PM -0400, John W. Linville wrote:
> Unfortunately, I don't see any way to "fix" WE-21 without similarly
> breaking wireless-tools 29 and other "WE-21 aware" apps.  And since
> I'll bet that the various WE-aware apps have checks like "if WE >
> 20" for managing ESSID length settings, we may have painted ourselves
> into a korner (sic).

OK, I'm going to ask a stupid question.  Why is the kernel<->wireless
driver interface have to be tied to the userspace<->wireless
interface?  The first is internal to the kernel and is free to change,
and if it breaks out-of-tree drivers, I'll complain to Intel about why
the !@#@ the ipw3945 driver hasn't been merged, but we've never made
any guarantees about break out-of-tree drivers, so I wouldn't have the
right to complain to anyone else.

The second is an external userspace ABI, and that should remain
constant.  It sounds like right now one gets pushed straight out to
the other, but what if the wireless infrastructure layer in the kernel
provided "interface glue" so you can translate between multiple
interface versions --- and then force the userspace (or at least new
versions of the userspace) to declare to the kernel what version of
the interface they are expecting?  

That's what we do with the stat system call.  Userspace tells the
kernel whether they want the v1, v2, v3, v4, or v5 version of the stat
structure, and we have interface glue to support all of the old versions.  

Is there some reason why this would be too hard to do with the current
interface?  Or is the arguement that if you're going to invest that
much energy in fixing the userspace interface code, you would rather
go to d80211/nl80211?

Regards,

						- Ted

  parent reply	other threads:[~2006-10-03 23:18 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-02  8:59 wpa supplicant/ipw3945, ESSID last char missing Norbert Preining
2006-10-02  9:21 ` Alessandro Suardi
2006-10-02 11:32   ` Norbert Preining
2006-10-02 12:21     ` Alessandro Suardi
2006-10-02 12:46       ` Norbert Preining
2006-10-02 16:50         ` Norbert Preining
2006-10-02 16:58           ` Dan Williams
2006-10-02 18:15             ` Andrew Morton
2006-10-02 18:55               ` Jean Tourrilhes
2006-10-02 19:22                 ` Dan Williams
2006-10-02 19:59                   ` Jean Tourrilhes
2006-10-02 19:34                 ` Dmitry Torokhov
2006-10-02 19:39                   ` Jean Tourrilhes
2006-10-02 19:49                     ` Dmitry Torokhov
2006-10-02 19:47                 ` Rafael J. Wysocki
2006-10-02 21:00                   ` Dan Williams
2006-10-02 21:26                     ` Theodore Tso
2006-10-02 21:58                       ` Jean Tourrilhes
2006-10-05 10:39                         ` Keith Owens
2006-10-02 22:08                       ` Alessandro Suardi
2006-10-03 12:12                         ` Dan Williams
2006-10-03 12:49                           ` John W. Linville
2006-10-03 13:38                             ` Theodore Tso
2006-10-03 14:12                               ` Dan Williams
2006-10-03 14:30                                 ` John W. Linville
2006-10-03 16:00                                 ` Theodore Tso
2006-10-03 17:03                                   ` Jean Tourrilhes
2006-10-03 16:52                               ` Jean Tourrilhes
2006-10-03 17:23                               ` Jean Tourrilhes
2006-10-03 17:38                                 ` Jean Tourrilhes
2006-10-03 17:40                                 ` Dan Williams
2006-10-03 22:30                                 ` Theodore Tso
2006-10-03 22:51                                   ` Jean Tourrilhes
2006-10-03 12:53                           ` Alessandro Suardi
2006-10-03 16:41                           ` Jean Tourrilhes
2006-10-10  6:29                       ` Reinhard Tartler
2006-10-02 19:41               ` Jean Tourrilhes
2006-10-02 20:57                 ` Dan Williams
2006-10-02 21:04                   ` Jean Tourrilhes
2006-10-02 16:44   ` Lee Revell
2006-10-03 12:38     ` John W. Linville
2006-10-03 12:59       ` Theodore Tso
2006-10-03 15:54       ` Lee Revell
2006-10-03 16:27         ` Linus Torvalds
2006-10-03 18:05           ` John W. Linville
2006-10-03 18:19             ` Jeff Garzik
2006-10-03 18:38               ` Jean Tourrilhes
2006-10-03 18:59                 ` Jeff Garzik
2006-10-03 19:48                   ` Jean Tourrilhes
2006-10-03 19:52                   ` Jean Tourrilhes
2006-10-03 21:40                   ` John W. Linville
2006-10-03 21:48                     ` Jeff Garzik
2006-10-03 22:27                       ` Jean Tourrilhes
2006-10-03 22:41                         ` Jeff Garzik
2006-10-04  2:10                         ` Jouni Malinen
2006-10-03 21:59                     ` Linus Torvalds
2006-10-03 22:16                       ` Jean Tourrilhes
2006-10-03 22:30                         ` Jeff Garzik
2006-10-04 18:10                       ` Jean Tourrilhes
2006-10-04 18:32                         ` Jeff Garzik
2006-10-04 18:42                           ` Jean Tourrilhes
2006-10-04 18:38                         ` Linus Torvalds
2006-10-04 18:59                           ` Jean Tourrilhes
2006-10-04 19:12                             ` Jeff Garzik
2006-10-04 19:21                             ` Linus Torvalds
2006-10-04 19:52                               ` Jean Tourrilhes
2006-10-04 20:12                                 ` Linus Torvalds
2006-10-04 20:19                                   ` Linus Torvalds
2006-10-04 20:47                                   ` Jean Tourrilhes
2006-10-04 22:26                                     ` Linus Torvalds
2006-10-05  0:26                                       ` Jean Tourrilhes
2006-10-05  2:19                                         ` Linus Torvalds
2006-10-05 15:20                                         ` Alessandro Suardi
2006-10-05 16:28                                           ` Jean Tourrilhes
2006-10-06 21:31                                         ` Pavel Machek
2006-10-04 21:08                                 ` John W. Linville
2006-10-04 23:29                             ` Theodore Tso
2006-10-05  0:30                               ` Jean Tourrilhes
2006-10-05  1:55                               ` LEAP (was: wpa supplicant/ipw3945, ESSID last char missing) Jouni Malinen
2006-10-03 23:14                     ` [ipw3945-devel] wpa supplicant/ipw3945, ESSID last char missing mabbas
2006-10-03 23:16                     ` Theodore Tso [this message]
2006-10-03 23:31                       ` Jean Tourrilhes
     [not found]                         ` <20061003202754.ce69f03a.seanlkml@sympatico.ca>
2006-10-04  0:27                           ` Sean
2006-10-04  0:30                           ` Jean Tourrilhes
     [not found]                             ` <20061003203646.60d9589a.seanlkml@sympatico.ca>
2006-10-04  0:36                               ` Sean
2006-10-04 12:36                               ` John W. Linville
2006-10-04  7:49                       ` Johannes Berg
2006-10-05 16:35                         ` Jean Tourrilhes
2006-10-05 16:43                           ` Jeff Garzik
2006-10-05 17:42                             ` Erik Andersen
2006-10-05 17:45                               ` Jeff Garzik
2006-10-05 18:36                               ` John W. Linville
2006-10-04  7:50                     ` Johannes Berg
2006-10-03 19:08                 ` Dmitry Torokhov
2006-10-03 19:49                   ` Jean Tourrilhes
2006-10-04  2:21                     ` Jouni Malinen
2006-10-04  7:33                       ` Arjan van de Ven
2006-10-04 12:39                         ` John W. Linville
2006-10-03 18:31             ` Hugh Dickins
2006-10-03 18:40               ` 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=20061003231648.GB26351@thunk.org \
    --to=tytso@mit.edu \
    --cc=akpm@osdl.org \
    --cc=alessandro.suardi@gmail.com \
    --cc=hostap@shmoo.com \
    --cc=ipw3945-devel@lists.sourceforge.net \
    --cc=jeff@garzik.org \
    --cc=johannes@sipsolutions.net \
    --cc=jt@hpl.hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=preining@logic.at \
    --cc=rlrevell@joe-job.com \
    --cc=torvalds@osdl.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