View previous topic :: View next topic |
Author |
Message |
mikegpitt Advocate


Joined: 22 May 2004 Posts: 3224
|
Posted: Tue Oct 23, 2007 3:02 am Post subject: madwifi slow associate w/ non-broadcast essid after suspend |
|
|
The subject pretty much says it all. On my laptop it takes a long time for my card to associate after a suspend. I'm using the 2.6.22-suspend2 sources, madwifi-0.9.3.2 , and wpa_supplicant-0.5.7.
When I reboot the machine it will associate to my ap almost instantly, but after it is suspended even once it seems to take several minutes (upwards of 5-10 mins) to associate.
I have tried to unload/reload all the madwifi related modules (ath_pci, wlan_scan_sta, ath_rate_sample, ath_hal, wlan) to see if this helps, but it doesn't seem to have any effect. My theory is that something that I built into the kernel gets messed up on a resume, but I'm not sure what that would be.
Here is the relevant part of my wpa_supplicant.conf, althoguh I don't think the problem lies here, since as I mentioned it works flawless on a fresh boot.
On networks that broadcast their essid it seems to connect fine.
Code: |
network={
ssid="myssid"
bssid=XX:XX:XX:XX:XX:XX
scan_ssid=1
key_mgmt=NONE
priority=3
} |
|
|
Back to top |
|
 |
Dirk.R.Gently Guru


Joined: 29 Jan 2007 Posts: 546 Location: Titan
|
Posted: Wed Oct 24, 2007 12:15 am Post subject: |
|
|
You shouldn't have to pull in any modules beside ath_pci as it will pull in any modules that are required. I had this problem too and got around it by using a direct-connection. Have you tried rmmod before actually suspending? _________________ • Helpful Linux Tidbits |
|
Back to top |
|
 |
mikegpitt Advocate


Joined: 22 May 2004 Posts: 3224
|
Posted: Fri Oct 26, 2007 4:22 am Post subject: |
|
|
Dirk.R.Gently wrote: | You shouldn't have to pull in any modules beside ath_pci as it will pull in any modules that are required. I had this problem too and got around it by using a direct-connection. Have you tried rmmod before actually suspending? | I hadn't tried that, but I just did and I get the same problem. |
|
Back to top |
|
 |
|