svn commit: r224786 - user/adrian/if_ath_tx/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Thu Aug 11 19:31:34 UTC 2011
Author: adrian
Date: Thu Aug 11 19:31:33 2011
New Revision: 224786
URL: http://svn.freebsd.org/changeset/base/224786
Log:
Update the BAW when packets from an aggregate TID session are being
deleted.
Modified:
user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c
Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c Thu Aug 11 19:21:48 2011 (r224785)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c Thu Aug 11 19:31:33 2011 (r224786)
@@ -1809,7 +1809,14 @@ ath_tx_tid_free_pkts(struct ath_softc *s
if (bf == NULL) {
break;
}
- /* XXX update BAW if needed? */
+
+ /*
+ * If the current TID is running AMPDU, update
+ * the BAW.
+ */
+ if (ath_tx_ampdu_running(sc, an, tid))
+ ath_tx_update_baw(sc, an, atid,
+ SEQNO(bf->bf_state.bfs_seqno));
ATH_TXQ_REMOVE_HEAD(atid, bf_list);
ath_tx_freebuf(sc, bf, -1);
}
More information about the svn-src-user
mailing list