| To: | jt@xxxxxxxxxx |
|---|---|
| Subject: | Re: [RFC] Wireless extensions rethink |
| From: | Jeff Garzik <jgarzik@xxxxxxxxx> |
| Date: | Thu, 17 Jun 2004 16:06:25 -0400 |
| Cc: | netdev@xxxxxxxxxxx, Gertjan van Wingerde <gwingerde@xxxxxxx>, sfeldma@xxxxxxxxx, jkmaline@xxxxxxxxx |
| In-reply-to: | <20040617194448.GC31763@bougret.hpl.hp.com> |
| References: | <40D0BD5B.201@pobox.com> <20040616223316.GA29618@bougret.hpl.hp.com> <40D0D265.3070804@pobox.com> <20040617174717.GA30460@bougret.hpl.hp.com> <40D1E185.2010201@pobox.com> <40D1E24C.8090802@pobox.com> <20040617185815.GB32216@bougret.hpl.hp.com> <40D1EAD9.6090403@pobox.com> <20040617191338.GD32216@bougret.hpl.hp.com> <40D1F23E.9090307@pobox.com> <20040617194448.GC31763@bougret.hpl.hp.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510 |
Jean Tourrilhes wrote:
On Thu, Jun 17, 2004 at 03:34:22PM -0400, Jeff Garzik wrote: The patch doesn't kill the type-opaque interface, so only 50% of what I want. So while this patch may be useful in early development, it does not allow the direct exposure of core wireless code to the type-specific interfaces At the moment, "the stuff that calls the driver-local iw_handlers", but hopefully more generic wireless core soon with the merge of HostAP. and as such, it can paper over problems that would be immediately obviously if the type-specific interface were the only one to exist. With the type-opaque interface gone (key design goal), drivers not using the new API will not function... Also there is a fourth -- WE doesn't work 100% when you have a 32-bit userland and a 64-bit kernel. Not really -- it's the same problem as SIOCDEVPRIVATE. Driver-private interfaces by definition change for each driver. Translation of the same ioctl differs on a per-driver basis. Consider what happens when passing pointers from userland, for example... It was for this reason that we created the MII ioctls, which were previously SIOCDEVPRIVATE. Jeff |
| Previous by Date: | Re: [RFC] Wireless extensions rethink, Jeff Garzik |
|---|---|
| Next by Date: | Wireless-2.6 queue updated, Jeff Garzik |
| Previous by Thread: | Re: [RFC] Wireless extensions rethink, Jean Tourrilhes |
| Next by Thread: | Re: [RFC] Wireless extensions rethink, Jean Tourrilhes |
| Indexes: | [Date] [Thread] [Top] [All Lists] |