PERFORCE change 76726 for review

Sam Leffler sam at FreeBSD.org
Sun May 8 21:30:54 PDT 2005


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

Change 76726 by sam at sam_ebb on 2005/05/09 04:30:35

	o remove meaningless setup for wme on the com
	o auto-enable dynamic turbo

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211.c#8 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211.c#8 (text+ko) ====

@@ -151,11 +151,6 @@
 	/* arbitrarily pick the first channel */
 	ic->ic_curchan = &ic->ic_channels[0];
 
-	/*
-	 * Enable WME by default if we're capable.
-	 */
-	if (ic->ic_caps & IEEE80211_C_WME)
-		ic->ic_flags |= IEEE80211_F_WME;
 	/* NB: must be after ic_curchan is setup */
 	(void) ieee80211_setmode(ic, ic->ic_curmode);
 
@@ -281,6 +276,8 @@
 #endif
 	if (vap->iv_caps & IEEE80211_C_FF)
 		vap->iv_flags |= IEEE80211_F_FF;
+	if (vap->iv_caps & IEEE80211_C_TURBOP)
+		vap->iv_flags |= IEEE80211_F_TURBOP;
 
 	vap->iv_des_chan = IEEE80211_CHAN_ANYC;		/* any channel is ok */
 	vap->iv_dtim_period = IEEE80211_DTIM_DEFAULT;


More information about the p4-projects mailing list