aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-06-12 13:36:15 -0700
committerJosh Blum <josh@joshknows.com>2012-06-12 13:36:15 -0700
commitf8bf633965156d937b37a893ae243788413c0c26 (patch)
treeefcbd0fc675ff75f326bae12fa1be7a55f549eec /host/lib/usrp
parenta80b715583de5f282bd3857348d982f2709ef770 (diff)
downloaduhd-f8bf633965156d937b37a893ae243788413c0c26.tar.gz
uhd-f8bf633965156d937b37a893ae243788413c0c26.tar.bz2
uhd-f8bf633965156d937b37a893ae243788413c0c26.zip
RFX: added support for calibration utils
Special CAL RX antenna rule: keep mixer enabled to reduce transients. 0 dB gains settings for RX and TX to deal with RFX sensitivity range.
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/dboard/db_rfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/db_rfx.cpp b/host/lib/usrp/dboard/db_rfx.cpp
index d934be294..cf3b29ddc 100644
--- a/host/lib/usrp/dboard/db_rfx.cpp
+++ b/host/lib/usrp/dboard/db_rfx.cpp
@@ -272,7 +272,7 @@ void rfx_xcvr::set_rx_ant(const std::string &ant){
//set the rx atr regs that change with antenna setting
if (ant == "CAL") {
- this->get_iface()->set_atr_reg(dboard_iface::UNIT_RX, dboard_iface::ATR_REG_TX_ONLY, _power_up | ANT_TXRX | MIXER_DIS);
+ this->get_iface()->set_atr_reg(dboard_iface::UNIT_RX, dboard_iface::ATR_REG_TX_ONLY, _power_up | ANT_TXRX | MIXER_ENB);
this->get_iface()->set_atr_reg(dboard_iface::UNIT_RX, dboard_iface::ATR_REG_FULL_DUPLEX, _power_up | ANT_TXRX | MIXER_ENB);
this->get_iface()->set_atr_reg(dboard_iface::UNIT_RX, dboard_iface::ATR_REG_RX_ONLY, _power_up | MIXER_ENB | ANT_TXRX );
}