From cb3f7db78de5b88c8a7114b4c28ae5e7a9a19196 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 18 Nov 2016 11:23:33 -0800 Subject: device3: Backed-out the alignment adaption --- host/lib/usrp/device3/device3_io_impl.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'host/lib/usrp') diff --git a/host/lib/usrp/device3/device3_io_impl.cpp b/host/lib/usrp/device3/device3_io_impl.cpp index a490ae5b4..6df9f6336 100644 --- a/host/lib/usrp/device3/device3_io_impl.cpp +++ b/host/lib/usrp/device3/device3_io_impl.cpp @@ -473,10 +473,6 @@ void device3_impl::update_rx_streamers(double /* rate */) if (samp_rate == rfnoc::rate_node_ctrl::RATE_UNDEFINED) { samp_rate = 1.0; } - // This formula is not derived by any scientific means -- we just need to - // increase the failure threshold as we increase rates. For 1 Msps, we use - // the default. - const size_t alignment_failure_factor = std::max(size_t(1), size_t(samp_rate * 1000 / tick_rate)); double scaling = my_streamer->get_terminator()->get_output_scale_factor(); if (scaling == rfnoc::scalar_node_ctrl::SCALE_UNDEFINED) { scaling = 1/32767.; @@ -485,8 +481,6 @@ void device3_impl::update_rx_streamers(double /* rate */) my_streamer->set_tick_rate(tick_rate); my_streamer->set_samp_rate(samp_rate); - // 1000 packets is the default alignment failure threshold - my_streamer->set_alignment_failure_threshold(1000 * alignment_failure_factor); my_streamer->set_scale_factor(scaling); } } -- cgit v1.2.3