summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-13 14:43:51 -0800
committerJosh Blum <josh@joshknows.com>2011-01-13 14:43:51 -0800
commitee0edffb94c9d28b2450971eca17333a7dba949e (patch)
tree0b3cb07b5ae878ae5c8c0fd4c7be23e014efa753 /host
parent41e774c7c38ed8498e8bfad877f237ed090238ce (diff)
downloaduhd-ee0edffb94c9d28b2450971eca17333a7dba949e.tar.gz
uhd-ee0edffb94c9d28b2450971eca17333a7dba949e.tar.bz2
uhd-ee0edffb94c9d28b2450971eca17333a7dba949e.zip
usrp2: calibrated mimo clock delay for n210 (same as usrp2 classic)
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/usrp2/mboard_impl.cpp12
1 files changed, 3 insertions, 9 deletions
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 <uhd/utils/algorithm.hpp>
#include <boost/bind.hpp>
#include <iostream>
-#include <boost/date_time/posix_time/posix_time.hpp>
-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