The problem with your idea is that there is only a nebulous definition of
what is a Wifi device, and what is a WiMAX device etc. What userspace should be looking
for is "does device XXX support API yyy?" and if it supports API
yyy then I it can be configured that way.
There already is some information in sysfs like /sys/class/net/XXX/type
which gives the hardware type (ARPHRD_ETHER, etc). Why not a better version
of something like this that provides "can do FOO" interface?
Doing a several system calls (open/read/close) per device is not a big
issue. Even an android phone can do open/read/close in less than a millisecond
I bet.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html