Search Linux Wireless

Re: [PATCH 7/7] cfg80211: increase scan result expire time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Donnerstag, 23. Juli 2009 schrieb Johannes Berg:
> On Thu, 2009-07-23 at 12:14 +0200, Helmut Schaa wrote:
> > Using background scanning in mac80211 the time a scan needs to
> > finish can exceed 10 seconds. Hence, increase the scan results
> > expire time to 15 seconds which should be sufficient.
> >     
> > Signed-off-by: Helmut Schaa <helmut.schaa@xxxxxxxxxxxxxx>
> 
> Heh.

;)

Maybe we could later use a dynamic expire time based on the time
the last scan took or something similar. But for now 15 seconds
should suffice.

> Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
> 
> johannes
> 
> > ---
> > 
> >  net/wireless/scan.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/net/wireless/scan.c b/net/wireless/scan.c
> > index 4ad8b4b..0850b98 100644
> > --- a/net/wireless/scan.c
> > +++ b/net/wireless/scan.c
> > @@ -15,7 +15,7 @@
> >  #include "core.h"
> >  #include "nl80211.h"
> >  
> > -#define IEEE80211_SCAN_RESULT_EXPIRE	(10 * HZ)
> > +#define IEEE80211_SCAN_RESULT_EXPIRE	(15 * HZ)
> >  
> >  void __cfg80211_scan_done(struct work_struct *wk)
> >  {
> > 
> > 
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux