Re: [RFC] Implement basic background scanning
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2008-09-15 16:00:21
Attachments
- signature.asc [application/pgp-signature] 836 bytes
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2008-09-15 16:00:21
On Mon, 2008-09-15 at 14:29 +0200, Helmut Schaa wrote:
Basic implementation of software background scanning functionality. The patch basically enhances the scanning state machine by two further states (SCAN_DEFER, SCAN_OPERATION). In state SCAN_DEFER the driver is advised to switch back to the operating channel while SCAN_OPERATION tells the access point about being back from power saving and restarts the tx queue. Just before SCAN_SET_CHANNEL sets the next channel to scan it notifies the access point about going to power save state and stops the tx queue. However one (still unresolved) issue is that the code does not wait for the appropriate ACK from the access point after notifying the new power state. Any thoughts or comments?
This doesn't play well at all with hardware assisted scan as far as I can tell. johannes