Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #740 (new defect)

Opened 15 years ago

Last modified 15 years ago

Resume in STA mode should cause scan results to be cleared

Reported by: espy@pepper.com Assigned to:
Priority: major Milestone:
Component: madwifi: 802.11 stack Version: v0.9.1
Keywords: Cc:
Patch is attached: 0 Pending:

Description

When the driver running in STA/managed mode is resumed after being suspended, the scan results cache should be cleared. This doesn't appear to be the case as of v0.9.1.

Here's the scenario:

User in location 'A' scans with the Pepper Pad, sees a set of access points, and connects to one of them. Pepper pad is put to sleep; this causes the driver ath_pci_suspend() function to get called. Pad is woken up in a new location 'B' at some later time; this causes ath_pci_resume() to get called. On wakeup, the Pepper WiFi code causes a fresh active scan to occur. The results returned from wpa_supplicant include APs from location 'A' AND location 'B'. I understand there is an aging process for entries in the cache, but in this situation, it seems like the right thing to do is to clear them all on resume.

I ran into a similar problem with the HostAP driver and fixed it by explicitly causing the scan results to get cleared on resume.

Change History

04/07/07 02:06:07 changed by jeremy@goop.ogr

I see this too, but it never seems to start scanning again after resume. I need to unload/reload the module to get it to function again.