GNOME Bugzilla – Bug 596469
[enh] optimize reconnect on resume
Last modified: 2012-08-24 14:54:05 UTC
A Mac is within a second online after it wakes up from sleep. Somehow it does this by caching network configurations I think
Seems that according to people wicd is much faster http://wicd.sourceforge.net/
Apple is also able to highly optimize their drivers. There are a number of issues at play here: 1) NM only asks for scan results once after resume. If this fails, NM waits 20 seconds until it requests them again. If we fail immediately after starting up or resuming from sleep, NM should re-request the scan. Eventually we should just dump all configured wifi networks into the supplicant's config with appropriate priorities and let it handle most of that. 2) The supplicant is a bit stupid, and after NM tells it to connect using known-good AP info, the supplicant performs another scan. The supplicant should get fixed to use existing scan results if they are less than 10 or 15 seconds old. This right here would save at least 3 to 5 seconds of connection time. 3) The gnome-keyring doesn't unlock successfully after the screensaver disappears; or really, it doesn't unlock the keyring and dismiss open keyring dialogs at that time, which prevents NM from connecting faster because it can't get your wifi secrets.
Good to hear that there are wins available on the non-driver level
*** Bug 597743 has been marked as a duplicate of this bug. ***
From the duplicate bug: Dan Williams: "sounds like the first scan is timing out; my iwl5100 card is always connected within 5 seconds or so. What hardware do you have? In any case, -> the duped bug." My answer is that I have the same card in ubuntu 9.10. I have to wait 15 seconds for the connection to be detected, than other almost 10 seconds to be extabilished. I'm using a wireless configured with "available for all users"
The fix for #2 above is: http://lists.shmoo.com/pipermail/hostap/2009-November/020617.html And yeah, it really does help.
Fedora builds with the patch included: https://admin.fedoraproject.org/updates/wpa_supplicant-0.6.8-7.fc12 https://admin.fedoraproject.org/updates/wpa_supplicant-0.6.8-6.fc11
*** Bug 582842 has been marked as a duplicate of this bug. ***
*** Bug 664289 has been marked as a duplicate of this bug. ***
We probably only need to maintain individual bug reports for specific problems.