Re: WCONF, netlink based WE replacement.
From: Harald Welte <laforge@gnumonks.org>
Date: 2006-01-20 08:48:36
Also in:
lkml
Attachments
- (unnamed) [application/pgp-signature] 189 bytes
From: Harald Welte <laforge@gnumonks.org>
Date: 2006-01-20 08:48:36
Also in:
lkml
On Fri, Jan 13, 2006 at 02:15:03PM +0100, Thomas Graf wrote:
* Michael Buesch [off-list ref] 2006-01-12 18:24quoted
This is an attempt to rewrite the Wireless Extensions userspace API, using netlink sockets. There should also be a notification API, to inform userspace for changes (config changes, state changes, etc). It is not implemented, yet.I'll only comment on the netlink bits and leave the rest to others. I'd highly recommend the use of attributes instead of fixed message structures to allow the interface to be flexible to extensions while staying binary compatible.
I can only second Thomas' suggestion. The power and flexibility of the use of netlink is only really unveiled if you use attributes. This way you can easily extend your data structures later on without breaking compatibility, etc. -- - Harald Welte [off-list ref] http://gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)