Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2005 04:30:53 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 76726 for review
Message-ID:  <200505090430.j494UriN026534@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=76726

Change 76726 by sam@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505090430.j494UriN026534>