[openfirmware] [commit] r3633 - dev

repository service svn at openfirmware.info
Tue Apr 2 04:46:18 CEST 2013


Author: quozl
Date: Tue Apr  2 04:46:16 2013
New Revision: 3633
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3633

Log:
OLPC - libertas, reduce the scan time to 30ms per channel for an active scan, and raise it to 110ms per channel for a passive scan, based on a kernel patch provided by Marvell.

Modified:
   dev/libertas.fth

Modified: dev/libertas.fth
==============================================================================
--- dev/libertas.fth	Thu Mar 28 12:34:12 2013	(r3632)
+++ dev/libertas.fth	Tue Apr  2 04:46:16 2013	(r3633)
@@ -1166,9 +1166,10 @@
    dup channel-is-5ghz?  if 1 else 0 then       ( channel# band# )
    +xb                          \ Band #
    +xb                          \ Channel #
-   scan-type +xb                \ Scan type - 0:active  or  1:passive
-   d# 100 +xw                   \ Min scan time
-   d# 100 +xw                   \ Max scan time ( r: payload' )
+   scan-type dup +xb            \ Scan type - 0:active  or  1:passive
+   if  d# 30  else  d# 110  then
+   dup +xw                      \ Min scan time
+   +xw                          \ Max scan time ( r: payload' )
    'x r@ -  r> 2- le-w!                         ( )
 ;
 



More information about the openfirmware mailing list