svn commit: r248142 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Mon Mar 11 04:19:11 UTC 2013


Author: adrian
Date: Mon Mar 11 04:19:10 2013
New Revision: 248142
URL: http://svnweb.freebsd.org/changeset/base/248142

Log:
  Add three-stream EVM values.

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

Modified: head/sys/dev/ath/if_ath_rx.c
==============================================================================
--- head/sys/dev/ath/if_ath_rx.c	Sun Mar 10 22:55:35 2013	(r248141)
+++ head/sys/dev/ath/if_ath_rx.c	Mon Mar 11 04:19:10 2013	(r248142)
@@ -399,7 +399,9 @@ ath_rx_tap_vendor(struct ifnet *ifp, str
 	sc->sc_rx_th.wr_v.evm[0] = rs->rs_evm0;
 	sc->sc_rx_th.wr_v.evm[1] = rs->rs_evm1;
 	sc->sc_rx_th.wr_v.evm[2] = rs->rs_evm2;
-	/* XXX TODO: extend this to include 3-stream EVM */
+	/* These are only populated from the AR9300 or later */
+	sc->sc_rx_th.wr_v.evm[3] = rs->rs_evm3;
+	sc->sc_rx_th.wr_v.evm[4] = rs->rs_evm4;
 
 	/* phyerr info */
 	if (rs->rs_status & HAL_RXERR_PHY)


More information about the svn-src-all mailing list