Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2012 20:10:18 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        freebsd-wireless@freebsd.org
Subject:   Fwd: svn commit: r240226 - head/sys/dev/ath
Message-ID:  <CAJ-VmoknxOmFGEtWKnUHmYKJt90EwJA70PF9Y=afpK4OopiEGg@mail.gmail.com>
In-Reply-To: <201209080256.q882u9fY007905@svn.freebsd.org>
References:  <201209080256.q882u9fY007905@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hiya,

If you run ath(4) on -HEAD with 11n you will definitely want to update. :-)



Adrian

---------- Forwarded message ----------
From: Adrian Chadd <adrian@freebsd.org>
Date: 7 September 2012 19:56
Subject: svn commit: r240226 - head/sys/dev/ath
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
svn-src-head@freebsd.org


Author: adrian
Date: Sat Sep  8 02:56:09 2012
New Revision: 240226
URL: http://svn.freebsd.org/changeset/base/240226

Log:
  Correctly mask out the RTS/CTS flags when forming aggregates.

  This had the side effect of clearing HAL_TXDESC_CLRDMASK for a bunch of
  frames, meaning they'd end up being potentially filtered if there were
  an error.  This is fine in the previous world as they'd just be
  software retried but now that I'm working on filtered frames, these
  descriptors would be endlessly retried until another valid frame would
  come along that had CLRDMASK set.

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

Modified: head/sys/dev/ath/if_ath_tx_ht.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx_ht.c     Sat Sep  8 02:41:50 2012
 (r240225)
+++ head/sys/dev/ath/if_ath_tx_ht.c     Sat Sep  8 02:56:09 2012
 (r240226)
@@ -742,7 +742,7 @@ ath_tx_form_aggr(struct ath_softc *sc, s
                 * subsequent frame with this config.
                 */
                bf->bf_state.bfs_txflags &=
-                   (HAL_TXDESC_RTSENA | HAL_TXDESC_CTSENA);
+                   ~ (HAL_TXDESC_RTSENA | HAL_TXDESC_CTSENA);
                bf->bf_state.bfs_txflags |=
                    bf_first->bf_state.bfs_txflags &
                    (HAL_TXDESC_RTSENA | HAL_TXDESC_CTSENA);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmoknxOmFGEtWKnUHmYKJt90EwJA70PF9Y=afpK4OopiEGg>