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.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to