Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
madwifi slow associate w/ non-broadcast essid after suspend
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Tue Oct 23, 2007 3:02 am    Post subject: madwifi slow associate w/ non-broadcast essid after suspend Reply with quote

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
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Wed Oct 24, 2007 12:15 am    Post subject: Reply with quote

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
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Fri Oct 26, 2007 4:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum