This all sounds good to me. A few comments here, to give you something to read when you get home.
On 8/15/06, Johannes Berg <[EMAIL PROTECTED]> wrote:
- we implement a bunch of commands, for example NL80211_CMD_INJECT and _SETATTR, _GETATTR[(attrnumber)] [easy with dumpit()], _GETATTRGROUP, ...
Basically redo WE completely from scratch using netlink.
- we have a whole bunch of possible attributes: NL80211_ATTR_FLAGS: flags for injecting a packet (e.g. want_notify)
For per packet this makes sense, for modification of all packets I think configfs would be more suitable. Then again this is just an addition, I'm not disagreeing here with the approach. The same goes for several common wireless settings -- we could also have a configfs directory for each device which would allow manual read/writing for setting/getting certain values; mind you that congifs does allow for setting/getting multiple values at the same time, for those of you who have wondered. This could just could easily go in as a wrapper for configfs->new NL API.
NL80211_ATTR_IFINDEX: index of interface to use (NL80211_ATTR_PHYIDX: (later) index of wiphy to configure)
Do you mean to have a wireless device have its own device index, separate from the netdevice index? Can you elaborate a bit on this?
NL80211_ATTR_ESSID, FRAGTHRESHOLD, CHANNEL,...: most of the old wext ioctls map to attributes now
With WE we were restricted to the number of attributes possibly changed by the number of ioctls and later by sub-ioctl hack restrictions. What restrictions are we to face with this? Do we want to map each attribute directly to the respective WE ioctl number to make it easy to do backward compatibility? Luis - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html