Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2009 21:37:02 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191545 - head/sys/net80211
Message-ID:  <200904262137.n3QLb2Vp095642@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sam
Date: Sun Apr 26 21:37:02 2009
New Revision: 191545
URL: http://svn.freebsd.org/changeset/base/191545

Log:
  don't fragment ampdu aggregates

Modified:
  head/sys/net80211/ieee80211_output.c

Modified: head/sys/net80211/ieee80211_output.c
==============================================================================
--- head/sys/net80211/ieee80211_output.c	Sun Apr 26 21:34:53 2009	(r191544)
+++ head/sys/net80211/ieee80211_output.c	Sun Apr 26 21:37:02 2009	(r191545)
@@ -1110,7 +1110,7 @@ ieee80211_encap(struct ieee80211vap *vap
 	txfrag = (m->m_pkthdr.len > vap->iv_fragthreshold &&
 	    !IEEE80211_IS_MULTICAST(wh->i_addr1) &&
 	    (vap->iv_caps & IEEE80211_C_TXFRAG) &&
-	    (m->m_flags & M_FF) == 0);		/* NB: don't fragment ff's */
+	    (m->m_flags & (M_FF | M_AMPDU_MPDU)) == 0);
 	if (key != NULL) {
 		/*
 		 * IEEE 802.1X: send EAPOL frames always in the clear.



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