summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-03-11 04:19:10 +0000
committeradrian <adrian@FreeBSD.org>2013-03-11 04:19:10 +0000
commit31e4d716185582b4048e864f4051ada1478111cb (patch)
tree18833b841eb2151c94b0e70d294347a5f8abbdcc
parentc7a8a1916c6f3c5e9d18a8fcf3ab25b48bd036fb (diff)
downloadFreeBSD-src-31e4d716185582b4048e864f4051ada1478111cb.zip
FreeBSD-src-31e4d716185582b4048e864f4051ada1478111cb.tar.gz
Add three-stream EVM values.
-rw-r--r--sys/dev/ath/if_ath_rx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_rx.c b/sys/dev/ath/if_ath_rx.c
index 139e894..53d6c8b 100644
--- a/sys/dev/ath/if_ath_rx.c
+++ b/sys/dev/ath/if_ath_rx.c
@@ -399,7 +399,9 @@ ath_rx_tap_vendor(struct ifnet *ifp, struct mbuf *m,
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)
OpenPOWER on IntegriCloud