On Tue, 2007-11-20 at 12:21 -0500, Dan Williams wrote: > > Johannes > > The firmware will go back to the old setting, the ones before scan, once > > done scanning by it self. The calls by mac80211 after scan complete to > > set channel will be ignored by the iwl driver if we still tuned to the > > same channel, iwl wont call firmware on the same setting, it has to be a > > change to call down to firmware. I need to check what happen if user > > change channel during scan, this call might be necessary in this case. > > I'd expect that either (a) the scan gets canceled and then the channel > change happens, or (b) the channel change gets queued and happens > immediately after the scan completes. (b) is probably the easier thing > to do here unless the ucode has a cancel-scan command, but then you have > to wait until the scan is actually canceled anyway, which sort of > implies (b) too. So maybe just do (b) and be done with it :) mac80211 software scanning will do (b) so I expect the driver to handle the configuration callback and queue the channel switch to after the ucode finishes scanning. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part