Date: Wed, 28 Nov 2012 06:55:34 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r243647 - head/sys/dev/ath Message-ID: <201211280655.qAS6tYlb060981@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211280655.qAS6tYlb060981>