aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
diff options
context:
space:
mode:
authorTrung N Tran <trung.tran@ettus.com>2017-10-31 12:55:01 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:05:05 -0800
commitb48cc6c48040eb89dd4e8072616cd26504731ba3 (patch)
tree9fa7526653e8673a2b0e762cff6c68ea40beefde /host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
parentd884d7af8e5e62a1650884a6ef5d255ff04708b8 (diff)
downloaduhd-b48cc6c48040eb89dd4e8072616cd26504731ba3.tar.gz
uhd-b48cc6c48040eb89dd4e8072616cd26504731ba3.tar.bz2
uhd-b48cc6c48040eb89dd4e8072616cd26504731ba3.zip
n3xx: add atr switch update for tx direction
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
index 7cebc168d..e2cfab304 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
@@ -222,7 +222,11 @@ private:
//! All gain
double _all_rx_gain = 0.0;
double _all_tx_gain = 0.0;
-
+ //! TRX switch state of 2 channels
+ std::map<magnesium_cpld_ctrl::chan_sel_t,magnesium_cpld_ctrl::sw_trx_t> _sw_trx = {
+ {magnesium_cpld_ctrl::CHAN1, magnesium_cpld_ctrl::SW_TRX_FROMLOWERFILTERBANKTXSW1},
+ {magnesium_cpld_ctrl::CHAN2, magnesium_cpld_ctrl::SW_TRX_FROMLOWERFILTERBANKTXSW1}
+ };
}; /* class radio_ctrl_impl */
}} /* namespace uhd::rfnoc */