Only consider QoS frames for TX packet aggregation.

This commit is contained in:
Bernhard Schmidt 2011-06-04 11:56:20 +00:00
parent bf6998c568
commit 98b4acc4c3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222680

View File

@ -3314,7 +3314,8 @@ iwn_tx_data(struct iwn_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
}
ac = M_WME_GETAC(m);
if (IEEE80211_AMPDU_RUNNING(&ni->ni_tx_ampdu[ac])) {
if (IEEE80211_QOS_HAS_SEQ(wh) &&
IEEE80211_AMPDU_RUNNING(&ni->ni_tx_ampdu[ac])) {
struct ieee80211_tx_ampdu *tap = &ni->ni_tx_ampdu[ac];
ring = &sc->txq[*(int *)tap->txa_private];