don't fragment ampdu aggregates

This commit is contained in:
Sam Leffler 2009-04-26 21:37:02 +00:00
parent 9e80b1df7e
commit e9cfc1f500

View File

@ -1110,7 +1110,7 @@ ieee80211_encap(struct ieee80211vap *vap, struct ieee80211_node *ni,
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.