svn commit: r225751 - user/adrian/if_ath_tx/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Sun Sep 25 07:43:07 UTC 2011


Author: adrian
Date: Sun Sep 25 07:43:07 2011
New Revision: 225751
URL: http://svn.freebsd.org/changeset/base/225751

Log:
  First cut at the AR5416 blockack/aggregation bug.
  It doesn't do the reset; it just prints out a debug message.

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	Sun Sep 25 07:39:19 2011	(r225750)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c	Sun Sep 25 07:43:07 2011	(r225751)
@@ -3035,7 +3035,12 @@ ath_tx_aggr_comp_aggr(struct ath_softc *
 	}
 
 	/* AR5416 BA bug; this requires an interface reset */
-	/* XXX TODO */
+	if (isaggr && tx_ok && (! hasba)) {
+		device_printf(sc->sc_dev,
+		    "%s: AR5416 bug: hasba=%d; txok=%d, isaggr=%d, seq_st=%d\n",
+		    __func__, hasba, tx_ok, isaggr, seq_st);
+		/* XXX TODO: schedule an interface reset */
+	}
 
 	/*
 	 * Walk the list of frames, figure out which ones were correctly


More information about the svn-src-user mailing list