PERFORCE change 113999 for review
Sepherosa Ziehau
sephe at FreeBSD.org
Sun Feb 4 14:38:25 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=113999
Change 113999 by sephe at sephe_zealot:sam_wifi on 2007/02/04 14:37:36
Don't set bg scan duration to mindwell, instead set it to maxdwell,
so bg scan can be scheduled correctly.
Reviewed-by: sam@
Approved-by: sam@
Affected files ...
.. //depot/projects/wifi/sys/net80211/ieee80211_scan.c#10 edit
Differences ...
==== //depot/projects/wifi/sys/net80211/ieee80211_scan.c#10 (text+ko) ====
@@ -73,7 +73,7 @@
* XXX tunable
* XXX check against configured listen interval
*/
-#define IEEE80211_SCAN_OFFCHANNEL msecs_to_ticks(150*1000/hz)
+#define IEEE80211_SCAN_OFFCHANNEL msecs_to_ticks(150)
/*
* Roaming-related defaults. RSSI thresholds are as returned by the
@@ -564,7 +564,7 @@
}
/* NB: flush frames rx'd before 1st channel change */
SCAN_PRIVATE(ss)->ss_iflags |= ISCAN_DISCARD;
- ss->ss_mindwell = duration;
+ ss->ss_maxdwell = duration;
if (scan_restart(SCAN_PRIVATE(ss), duration)) {
ic->ic_flags |= IEEE80211_F_SCAN;
ic->ic_flags_ext |= IEEE80211_FEXT_BGSCAN;
More information about the p4-projects
mailing list