Date: Mon, 5 Sep 2011 10:09:53 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r225393 - user/adrian/if_ath_tx/sys/dev/ath Message-ID: <201109051009.p85A9r6a031033@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109051009.p85A9r6a031033>