On Wed, 11 Jan 2006 17:37:00 +0100, Johannes Berg wrote: > I thought I had addresses this already but maybe no one took notice. I > think the 'master' device should not be represented as a net_dev at all, > but be somewhat abstract. In that, you could delete the last real device > attached to it and create a new one, in fact you might *have to* delete > the last attached virtual device (which is a real net_dev) in order to > make an incompatible one (well, I said it might suffice to bring the > other ones down, which is ok too).
That abstract thing is represented by ieee80211_device (ieee80211_hw). Yes, I'm proposing nearly the same as you, except that I'm trying to preserve backward compatibility. I think we need it, at least for some time. > 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. Sure, it is way more better. But again, it's the question of compatibility. I think that at least for some time the new netlink API and WE should coexist. After some time, WE support can be removed. -- Jiri Benc SUSE Labs - 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