From ee0edffb94c9d28b2450971eca17333a7dba949e Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 13 Jan 2011 14:43:51 -0800 Subject: usrp2: calibrated mimo clock delay for n210 (same as usrp2 classic) --- host/lib/usrp/usrp2/mboard_impl.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'host/lib/usrp/usrp2/mboard_impl.cpp') diff --git a/host/lib/usrp/usrp2/mboard_impl.cpp b/host/lib/usrp/usrp2/mboard_impl.cpp index 24e8ba06f..44f60d686 100644 --- a/host/lib/usrp/usrp2/mboard_impl.cpp +++ b/host/lib/usrp/usrp2/mboard_impl.cpp @@ -25,15 +25,12 @@ #include #include #include -#include -static const double mimo_clock_delay_usrp2_rev4 = 4.18e-9; -static const double mimo_clock_delay_usrp_n2xx = 0; //TODO -static const int mimo_clock_sync_delay_cycles = 137; +static const double mimo_clock_delay_usrp_all = 4.18e-9; +static const size_t mimo_clock_sync_delay_cycles = 137; using namespace uhd; using namespace uhd::usrp; -using namespace boost::posix_time; /*********************************************************************** * Structors @@ -219,11 +216,8 @@ void usrp2_mboard_impl::update_clock_config(void){ switch(_iface->get_rev()){ case usrp2_iface::USRP_N200: case usrp2_iface::USRP_N210: - _clock_ctrl->set_mimo_clock_delay(mimo_clock_delay_usrp_n2xx); - break; - case usrp2_iface::USRP2_REV4: - _clock_ctrl->set_mimo_clock_delay(mimo_clock_delay_usrp2_rev4); + _clock_ctrl->set_mimo_clock_delay(mimo_clock_delay_usrp_all); break; default: break; //not handled -- cgit v1.2.3