Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 2008 23:18:00 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 151525 for review
Message-ID:  <200810182318.m9INI0nT076678@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=151525

Change 151525 by sam@sam_ebb on 2008/10/18 23:17:30

	don't reset the inactivity timer on tx ok status unless we
	actually got an ACK back

Affected files ...

.. //depot/projects/vap/sys/dev/ath/if_ath.c#97 edit

Differences ...

==== //depot/projects/vap/sys/dev/ath/if_ath.c#97 (text+ko) ====

@@ -5054,7 +5054,8 @@
 				pri = M_WME_GETAC(bf->bf_m);
 				if (pri >= WME_AC_VO)
 					ic->ic_wme.wme_hipri_traffic++;
-				ni->ni_inact = ni->ni_inact_reload;
+				if ((bf->bf_flags & HAL_TXDESC_NOACK) == 0)
+					ni->ni_inact = ni->ni_inact_reload;
 			} else {
 				if (ts->ts_status & HAL_TXERR_XRETRY)
 					sc->sc_stats.ast_tx_xretries++;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810182318.m9INI0nT076678>