On Wed, 2008-09-10 at 09:51 +0200, Johannes Berg wrote: > On Sun, 2008-06-22 at 11:43 -0400, Dan Williams wrote: > > mrv8k has commands that get called before and after the scan has been > > done to save and restore hardware state. Add optional callbacks to > > mac80211 to enable low-level drivers to know when the stack is about to > > start scanning, and when it's done. > > Was just talking to Sujith about something on IRC and realised that > maybe this is required to turn off IBSS beaconing when leaving the > channel for a scan? On the other hand, we should add API to turn off beaconing anyway, which userspace might actually request. And when we do that, we can use it to turn off IBSS beaconing. The beaconing API in total is a bit strange, we tell the driver when the beacon changes and it can then request one, but we never tell it when to start/stop beaconing, which means that currently your driver has to figure to start out beaconing on the first beacon change, and then cannot possibly stop again... We can return NULL from the beacon get function but that could be an error condition too... I think we just need to add start/stop beacon bits, and then we can use them around a scan too, thoughts? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part