Re: [RFC 3/3] cfg80211 thoughts on configuration

2006-09-20 Thread Thomas Graf
* Johannes Berg [EMAIL PROTECTED] 2006-09-14 12:53 This is some preliminary code how I'm currently thinking (and that might change radically :) ) configuration might look like. It uses the patch I previously posted to make genetlink attributes custom-definable. ---

Re: [RFC 3/3] cfg80211 thoughts on configuration

2006-09-20 Thread Johannes Berg
On Wed, 2006-09-20 at 08:33 +0200, Thomas Graf wrote: I think I brought this up already, it's a lot easier to understand things if you keep it symmetric, i.e. NL80211_CMD_GET_CONFIG triggers sending a NL80211_CMD_NEW_CONFIG. Yes, I think you did :) I'll do that as soon as I get around to

Re: [RFC 3/3] cfg80211 thoughts on configuration

2006-09-20 Thread Thomas Graf
* Johannes Berg [EMAIL PROTECTED] 2006-09-20 09:03 Just use a nested attribute here, this new array format you introduce having 1 byte ID, 1 byte len is equivalent to using a set of nested attributes with nla_type=id, nla_len=len. No, it is only validated, it is then supposed to be copied

[RFC 3/3] cfg80211 thoughts on configuration

2006-09-14 Thread Johannes Berg
This is some preliminary code how I'm currently thinking (and that might change radically :) ) configuration might look like. It uses the patch I previously posted to make genetlink attributes custom-definable. --- wireless-dev.orig/include/linux/nl80211.h 2006-09-13 22:06:10.539647141 +0200