aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e/mboard_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-08-24 19:26:15 +0000
committerJosh Blum <josh@joshknows.com>2010-08-24 19:26:15 +0000
commit65821027b8d41e9c736bc7e29a4fa1f84dc890ba (patch)
tree29229712cc66649e0022cc2f8302c2683c435bdc /host/lib/usrp/usrp_e/mboard_impl.cpp
parentd3501cda50407143db85f7ea5eb894c71ecd8aac (diff)
downloaduhd-65821027b8d41e9c736bc7e29a4fa1f84dc890ba.tar.gz
uhd-65821027b8d41e9c736bc7e29a4fa1f84dc890ba.tar.bz2
uhd-65821027b8d41e9c736bc7e29a4fa1f84dc890ba.zip
usrp-e: fixed codec control gain calculation error, added tx policy registers, set to next packet
Diffstat (limited to 'host/lib/usrp/usrp_e/mboard_impl.cpp')
-rw-r--r--host/lib/usrp/usrp_e/mboard_impl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp_e/mboard_impl.cpp b/host/lib/usrp/usrp_e/mboard_impl.cpp
index 3d4cef069..047db3f7c 100644
--- a/host/lib/usrp/usrp_e/mboard_impl.cpp
+++ b/host/lib/usrp/usrp_e/mboard_impl.cpp
@@ -41,6 +41,10 @@ void usrp_e_impl::mboard_init(void){
_clock_config.pps_source = clock_config_t::PPS_SMA;
//TODO poke the clock config regs
+
+ //setup the tx policy
+ _iface->poke32(UE_REG_CTRL_TX_REPORT_SID, 1);
+ _iface->poke32(UE_REG_CTRL_TX_POLICY, UE_FLAG_CTRL_TX_POLICY_NEXT_PACKET);
}
/***********************************************************************