From 31e4d716185582b4048e864f4051ada1478111cb Mon Sep 17 00:00:00 2001 From: adrian Date: Mon, 11 Mar 2013 04:19:10 +0000 Subject: [PATCH] Add three-stream EVM values. --- sys/dev/ath/if_ath_rx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/ath/if_ath_rx.c b/sys/dev/ath/if_ath_rx.c index 139e8946f358..53d6c8b27c91 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)