Mike (mwester) wrote:
Andy Green wrote: There are several really good reasons to make the wlan driver a module. Resource usage and security are the two biggest I can think of. I would have to agree, however, that using it for a last resort reset is probably not a good idea. We should be able to figure out what rmmod/insmod is doing that isn't being done in the case of ifdown/ifup. One big assumption here is that the userspace "ifup"/"ifdown" commands come from a single source base, and a further assumption is that "ifup"/"ifdown" is the only way the interface is manipulated. There are now many distros for the device (Qtopia, several OE-based distros, Debian, and more), and even in the core Om image (OE-based) we have the "ifup"/"ifdown" commands provided by busybox, the full version provided by the full utilities which can be "opkg" installed, then there's the ifconfig tools (which are still used by some), and frankly I have no idea what NetWorkManager and the various GUI-based autoconfig tools use. Beyond that, I really wonder what will happen if "ifup" (for example) pulls the module out and re-inserts it, if we don't start also patching - er, hacking up udev scripts -- could be some interesting things happening deep below the surface. We were also going to look at mdev as a faster udev at some point; if anyone wants to experiment with that they'll also need to accomodate any hackery required to ignore the appearance/disappearance of the i/f if it was "expected" because ifup/ifdown was already handling it. I think this one needs to be re-opened as a high-priority kernel problem. It seems likely that hackery will be required, but it would be preferable if that hackery was hidden inside the kernel rather than requiring the equivalent of access hatches cut into the engine compartment and a full set of wrenches and tools, just to be able to let the driver shift gears. Mike (mwester) |
- State of the OpenMoko wlan driver Henning Rogge
- Re: State of the OpenMoko wlan driver Andy Green
- Re: State of the OpenMoko wlan driver Henning Rogge
- Re: State of the OpenMoko wlan driver Tore Martin Hagen
- Re: State of the OpenMoko wlan driv... Andy Green
- Re: State of the OpenMoko wlan ... Mike (mwester)
- Re: State of the OpenMoko ... Sean McNeil
- Re: State of the OpenMoko ... Andy Green
- Re: State of the OpenM... Werner Almesberger
- Re: State of the O... Andy Green
- Re: State of the O... Werner Almesberger
- Re: State of the OpenMoko wlan ... Marco Trevisan (TreviƱo)
- Re: State of the OpenMoko wlan driv... Werner Almesberger
- Re: State of the OpenMoko wlan ... Tore Martin Hagen
- Re: State of the OpenMoko ... Werner Almesberger
- Re: State of the OpenM... Werner Almesberger
- Re: State of the O... Tore Martin Hagen
