Skip to contentSkip to conversation

wpa supplicant interface up delay

DISCUSSION Johannes Berg 3 participants 4 messages Oct 7, 2008

lore
Share & tools
lore
#0 lore raw

* Wait some time to allow driver to initialize before
* starting configuring the driver. This seems to be
* needed at least some drivers that load firmware etc.
* when the interface is set up.

which drivers are those, and why can't we fix the drivers instead? This seems like a bug in the drivers that they return from their open callback prematurely.

johannes

#1 lore raw
Quoted 8 lines · Johannes Berg

* Wait some time to allow driver to initialize before
* starting configuring the driver. This seems to be
* needed at least some drivers that load firmware etc.
* when the interface is set up.

which drivers are those, and why can't we fix the drivers instead? This seems like a bug in the drivers that they return from their open callback prematurely.

In any case, this delay should certainly be removed from the nl80211 driver; when porting drivers to the new APIs we can make sure this is done correctly.

johannes

#2 lore raw
Quoted 6 lines · Johannes Berg
Quoted 5 lines · Johannes Berg

* Wait some time to allow driver to initialize before
* starting configuring the driver. This seems to be
* needed at least some drivers that load firmware etc.
* when the interface is set up.

Quoted 7 lines
Quoted 3 lines

which drivers are those, and why can't we fix the drivers instead? This seems like a bug in the drivers that they return from their open callback prematurely.

In any case, this delay should certainly be removed from the nl80211 driver; when porting drivers to the new APIs we can make sure this is done correctly.

ACK

Signature · 2 lines
John W. Linville		Linux should be at the core
[email protected]			of your literate lifestyle.
#3 lore raw
In reply to Johannes Berg
Quoted 8 lines · Johannes Berg

* Wait some time to allow driver to initialize before
* starting configuring the driver. This seems to be
* needed at least some drivers that load firmware etc.
* when the interface is set up.

which drivers are those, and why can't we fix the drivers instead? This seems like a bug in the drivers that they return from their open callback prematurely.

I've observed issues with a driver that (at least at the time) was not fully open source. I didn't feel like fixing the driver at the time.

Anyway, I'm perfectly fine with removing this from nl80211. As far as driver_wext.c is concerned, I would like to first verify what the original issue is and whether the driver could be fixed easily.

Signature · 1 line
Jouni Malinen                                            PGP id EFC895FA