PERFORCE change 77119 for review

Sam Leffler sam at FreeBSD.org
Tue May 17 17:07:24 PDT 2005


http://perforce.freebsd.org/chv.cgi?CH=77119

Change 77119 by sam at sam_ebb on 2005/05/18 00:07:10

	o purge IEEE80211_C_COMMON
	o tweak min bg scan parameters

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_var.h#12 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_var.h#12 (text+ko) ====

@@ -70,10 +70,10 @@
 #define	IEEE80211_BINTVAL_MIN	25	/* min beacon interval (TU's) */
 #define	IEEE80211_BINTVAL_DEFAULT 100	/* default beacon interval (TU's) */
 
-#define	IEEE80211_BGSCAN_INTVAL_MIN	30	/* min bg scan intvl (secs) */
+#define	IEEE80211_BGSCAN_INTVAL_MIN	(1*60)	/* min bg scan intvl (secs) */
 #define	IEEE80211_BGSCAN_INTVAL_DEFAULT	(5*60)	/* default bg scan intvl */
 
-#define	IEEE80211_BGSCAN_IDLE_MIN	500	/* min idle time (ms) */
+#define	IEEE80211_BGSCAN_IDLE_MIN	250	/* min idle time (ms) */
 #define	IEEE80211_BGSCAN_IDLE_DEFAULT	(10*1000) /* default idle time (ms) */
 
 #define	IEEE80211_PS_SLEEP	0x1	/* STA is in power saving mode */
@@ -364,12 +364,6 @@
 /* XXX protection/barker? */
 
 #define	IEEE80211_C_CRYPTO	0x0000002f	/* CAPABILITY: crypto alg's */
-#define	IEEE80211_C_COMMON			/* propagated to vap's */\
-	(IEEE80211_C_CRYPTO | IEEE80211_C_FF | IEEE80211_C_TURBOP | \
-	 IEEE80211_C_PMGT | IEEE80211_C_SWRETRY | IEEE80211_C_TXPMGT | \
-	 IEEE80211_C_SHSLOT | IEEE80211_C_SHPREAMBLE | IEEE80211_C_TKIPMIC | \
-	 IEEE80211_C_WPA | IEEE80211_C_BURST | IEEE80211_C_WME | \
-	 IEEE80211_C_BGSCAN)
 
 /* check if a capability was negotiated for use */
 #define	IEEE80211_ATH_CAP(vap, ni, bit) \


More information about the p4-projects mailing list