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

Adrian Chadd adrian at FreeBSD.org
Mon Sep 5 10:09:53 UTC 2011


Author: adrian
Date: Mon Sep  5 10:09:53 2011
New Revision: 225393
URL: http://svn.freebsd.org/changeset/base/225393

Log:
  Hacky work around for now - disable the last rate series entry
  when forming aggregates. This is a very low MCS rate in all MCS
  instances and the 4ms frame length limit ends up being quite low.
  Thus larger aggregates don't get a chance to form.
  
  This isn't optimal..

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	Mon Sep  5 09:49:28 2011	(r225392)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c	Mon Sep  5 10:09:53 2011	(r225393)
@@ -3190,6 +3190,8 @@ ath_tx_tid_hw_queue_aggr(struct ath_soft
 		 * the size of the first frame.
 		 */
 		ath_tx_do_ratelookup(sc, bf);
+		bf->bf_state.bfs_rc[3].rix = 0;
+		bf->bf_state.bfs_rc[3].tries = 0;
 		ath_tx_rate_fill_rcflags(sc, bf);
 
 		status = ath_tx_form_aggr(sc, an, tid, &bf_q);


More information about the svn-src-user mailing list