Author: adrian
Date: Wed Nov 28 06:55:34 2012
New Revision: 243647
URL: http://svnweb.freebsd.org/changeset/base/243647

Log:
  Until I figure out what to do here, remind myself that this needs some
  rate control 'adjustment' when NOACK is set.

Modified:
  head/sys/dev/ath/if_ath_tx.c

Modified: head/sys/dev/ath/if_ath_tx.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx.c        Wed Nov 28 03:04:38 2012        
(r243646)
+++ head/sys/dev/ath/if_ath_tx.c        Wed Nov 28 06:55:34 2012        
(r243647)
@@ -522,6 +522,16 @@ ath_tx_set_ratectrl(struct ath_softc *sc
        if (! bf->bf_state.bfs_ismrr)
                rc[1].tries = rc[2].tries = rc[3].tries = 0;
 
+#if 0
+       /*
+        * If NOACK is set, just set ntries=1.
+        */
+       else if (bf->bf_state.bfs_txflags & HAL_TXDESC_NOACK) {
+               rc[1].tries = rc[2].tries = rc[3].tries = 0;
+               rc[0].tries = 1;
+       }
+#endif
+
        /*
         * Always call - that way a retried descriptor will
         * have the MRR fields overwritten.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to