|
From: <do_...@wu...> - 2013-10-25 14:42:07
|
Author: ttsou
Date: 2013-10-25 09:42:00 -0500 (Fri, 25 Oct 2013)
New Revision: 6817
Modified:
software/public/openbts/trunk/Transceiver52M/UHDDevice.cpp
Log:
Transceiver52M: Reset overrun and underrun indicators
Underruns are only explicitly set on the downlink side. Overruns
are logged but unused. In either case, reset indicators to false
to avoid sending false state information.
Signed-off-by: Thomas Tsou <to...@ts...>
Modified: software/public/openbts/trunk/Transceiver52M/UHDDevice.cpp
===================================================================
--- software/public/openbts/trunk/Transceiver52M/UHDDevice.cpp 2013-10-24 23:02:20 UTC (rev 6816)
+++ software/public/openbts/trunk/Transceiver52M/UHDDevice.cpp 2013-10-25 14:42:00 UTC (rev 6817)
@@ -727,6 +727,9 @@
if (skip_rx)
return 0;
+ *overrun = false;
+ *underrun = false;
+
// Shift read time with respect to transmit clock
timestamp += ts_offset;
@@ -801,6 +804,8 @@
metadata.end_of_burst = false;
metadata.time_spec = convert_time(timestamp, tx_rate);
+ *underrun = false;
+
// No control packets
if (isControl) {
LOG(ERR) << "Control packets not supported";
|