Johannes Berg wrote: >>> - "Global" configuration requests (setting channel etc.) can be performed on >>> any device and will affect all devices. >> Yup. > > I disagree. I rather envision a netlink protocol that says 'you cannot > change the channel on just this single device' (unless the driver > supports it), so you need a request saying 'change channel on all > virtual devices'. Userspace helpers would tell the user that if > necessary.
I second this. The global options are properties of the radio (and, depending on how particular firmware handles things, maybe other stuff), and should be configured there. The virtual interfaces should export only their own properties (not limited to virtual stuff, when the card allows for per packet txpower, the interfaces could allow to set the txpower as their own independent property, for exmple), the parent should be used for the rest. That whould nicely describe the sharing. The ioctls could of course handle this transparently and allow to configure anything over any virtual interface. Feyd - 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