[lwlan-devel] timing issues with udev and firmware loading
Solomon Peachy
solomon at linux-wlan.com
Tue Feb 26 17:31:48 EST 2008
On Tue, Feb 26, 2008 at 09:39:29PM +0000, Karl Relton wrote:
> Your alteration misses the point! The ifstate_enable needs to happen
> before the register_wlan ... otherwise we will still have the same
> timing issue.
... yes and no -- It's happening after the corereset, which is also a
major source of delay. At least on non-usb targets, assuming that it
hasn't been overridden.
> So as it stands things are still broken.
Yeah, I see that, but with the patch they're still broken; only
differently. The ifstate_enable isn't guaranteed to succeed, so
at netdev_register, the hardware is still in an unknown state.
From my perspective, wlan-udev.sh should do nothing if we're in
wlan_wext_write=1 mode and the hardware is initialized. These days the
only real reason to do anything is if the user explicitly wants to do a
firmware load, and that will screw with NetworkManager or other apps
anyway.
Of course, the RightWay(tm) to solve all of these problems is to push
the firmware loading/plugging into the kernel, so we can use the hotplug
firmware loader and have everything up and running before we call
register_netdevice().
- Solomon
--
Solomon Peachy solomon at linux-wlan.com
AbsoluteValue Systems http://www.linux-wlan.com
721-D North Drive +1 (321) 259-0737 (office)
Melbourne, FL 32934 +1 (321) 259-0286 (fax)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.linux-wlan.com/pipermail/linux-wlan-devel/attachments/20080226/990012c1/attachment.bin
More information about the Linux-wlan-devel
mailing list