netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jean Tourrilhes <jt@bougret.hpl.hp.com>
To: Gertjan van Wingerde <gwingerde@home.nl>
Cc: sfeldma@pobox.com, netdev@oss.sgi.com, jkmaline@cc.hut.fi
Subject: Re: [RFC] Wireless extensions rethink
Date: Wed, 16 Jun 2004 13:42:48 -0700	[thread overview]
Message-ID: <20040616204248.GA23617@bougret.hpl.hp.com> (raw)
In-Reply-To: <40D08769.3070106@home.nl>

On Wed, Jun 16, 2004 at 07:46:17PM +0200, Gertjan van Wingerde wrote:
> 
> Scott,
> 
> I'm afraid that this isn't enough. I think we have to split up the various 
> settings over
> multiple commands. If we add just two commands (one for GET and one for 
> SET) we have to
> change the binary ioctl-interface every time a new setting arrives (e.g. 
> see how new
> settings will be added due to WPA support. That solution just isn't 
> future-proof.
> 
> Jean, Jouni, Jeff: What are your thoughts about this?

	You are asking me what I think about throwing away the API I
designed and restarting from scratch. You must be joking ;-)
	Furthermore, if you really want to redesign the API, then you
don't want to ask the guy responsible of the first one to avoid its
influence and avoid doing the same mistakes ;-)

	If you really want to have more background on my thoughts,
please look at this thread :
		http://marc.theaimsgroup.com/?t=107835339400003&r=1&w=2

	Seriously, these are my thoughts :
	o Backward/forward compatibility has always be my number one
priority since 1996. There is many wireless drivers *NOT* in the
kernel (see my web page) and many utilities using the current API. For
example, both the Red-Hat configurator and the Debian installer link
with libiw. So, it's not just about rewritting iwconfig.
	o Designing an API is not about choosing if you use multiple
ioctls or a single ioctl, or another mechanism. I don't care about
those details. Making choices will always make people unhappy.
	o I'm slow and lazy, but not opposed to changes, as long as
they are well motivated and designed. Yeah, for WPA, I totally suck,
but Jouni is going to save the day. I'm not opposed to fixing my
mistakes, as long as it's painless for people using the API.
	o If you really want to improve Linux-802.11 support, we
should focus first on the missing parts (in-kernel 802.11 framing and
management), not redo the stuff that already works.
	o I don't want to get in your way, so don't expect much from
me. If you can do a better job than me, then we all win.

	I also asked Jeff why he want to redesign the API, and in the
end there was only two issues :
	1) type-safe handler versus generic handler. I personally
disagree with Jeff on that one. But, you can easilly fix it by
offering wrapper to the current API :
	http://marc.theaimsgroup.com/?l=linux-netdev&m=107896289630224&w=2
	2) The use of ioctls. I've created a patch to add RtNetlink
support to the Wireless Extension API, and so far nobody has commented
on this :
	http://marc.theaimsgroup.com/?l=linux-netdev&m=107846135617655&w=2
	A more recent/functional version of this patch is on my web
page. I'm not going to waste time on this if nobody cares.

> I agree that we should be able to remove the commit 
> command if we are
> able to set multiple settings that belong together at the same time.

	Setting that belong together is highly dependant on how the
firware is written. With most cards, *all* setting belong together
(check the Raylink driver if you have time).
	The commit command in current WE is optional. You don't like
it, you don't use it.

	Are those the answer you were looking for, or did I miss
something ?

	Have fun...

	Jean

  parent reply	other threads:[~2004-06-16 20:42 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-11 18:49 [RFC] Wireless extensions rethink Feldman, Scott
2004-06-15 16:39 ` Gertjan van Wingerde
2004-06-15 17:22   ` Vladimir Kondratiev
2004-06-16  9:13   ` Scott Feldman
2004-06-16 15:28     ` Gerald Britton
2004-06-16 17:40       ` Vladimir Kondratiev
2004-06-16 17:53       ` Scott Feldman
2004-06-16 19:06         ` Gerald Britton
2004-06-17  5:57         ` Luis R. Rodriguez
2004-06-16 17:46     ` Gertjan van Wingerde
2004-06-16 19:06       ` Scott Feldman
2004-06-16 19:49         ` Jeff Garzik
2004-06-16 22:25           ` Scott Feldman
2004-06-16 20:50         ` Jean Tourrilhes
2004-06-16 20:42       ` Jean Tourrilhes [this message]
2004-06-16 21:36         ` Jeff Garzik
2004-06-16 22:33           ` Jean Tourrilhes
2004-06-16 23:06             ` Jeff Garzik
2004-06-16 23:11               ` Jean Tourrilhes
2004-06-17 17:47               ` Jean Tourrilhes
2004-06-17 18:23                 ` Jeff Garzik
2004-06-17 18:26                   ` Jeff Garzik
2004-06-17 18:30                     ` Gertjan van Wingerde
2004-06-17 18:51                     ` Stephen Hemminger
2004-06-17 19:00                       ` Jean Tourrilhes
2004-06-17 19:10                         ` Jeff Garzik
2004-06-17 18:58                     ` Jean Tourrilhes
2004-06-17 19:02                       ` Jeff Garzik
2004-06-17 19:13                         ` Jean Tourrilhes
2004-06-17 19:34                           ` Jeff Garzik
2004-06-17 19:44                             ` Jean Tourrilhes
2004-06-17 20:06                               ` Jeff Garzik
2004-06-17 20:39                                 ` Jean Tourrilhes
2004-06-17 18:56                   ` Jean Tourrilhes
2004-06-17 19:09                     ` Jeff Garzik
2004-06-17 19:11                       ` Jeff Garzik
2004-06-17 19:31                       ` Jean Tourrilhes
2004-06-17 19:52                         ` Jeff Garzik
2004-06-17 20:46                           ` Jean Tourrilhes
2004-06-18 22:11                             ` Andrew Morton
2004-06-18 22:54                               ` Jeff Garzik
2004-06-16 22:48         ` Scott Feldman
  -- strict thread matches above, loose matches on Subject: below --
2004-06-07 19:51 Gertjan van Wingerde
2004-06-07 20:52 ` Ben Greear
2004-06-07 18:33 Feldman, Scott
2004-06-07 18:39 ` Stephen Hemminger
2004-06-08 11:19 ` Herbert Xu

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=20040616204248.GA23617@bougret.hpl.hp.com \
    --to=jt@bougret.hpl.hp.com \
    --cc=gwingerde@home.nl \
    --cc=jkmaline@cc.hut.fi \
    --cc=jt@hpl.hp.com \
    --cc=netdev@oss.sgi.com \
    --cc=sfeldma@pobox.com \
    /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).