From dd5485ec5d0e21c67b08adda5d29b8fd6cb80434 Mon Sep 17 00:00:00 2001 From: Kurtis Heimerl Date: Sat, 26 Nov 2011 03:17:32 +0000 Subject: [PATCH] uhd: disable adaptive buffering in 52 MHz transceiver Similar to the non-52 Mhz case, 589dd9091ef594ef6ef5804fbf6bfa70f3f02858 This drastically reduces underruns on the E100. Signed-off-by: Thomas Tsou git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2648 19bc5d8c-e614-43d4-8b26-e1612bc8e597 --- Transceiver52M/Transceiver.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp index 4d7b36a..07b2777 100644 --- a/Transceiver52M/Transceiver.cpp +++ b/Transceiver52M/Transceiver.cpp @@ -712,6 +712,7 @@ void Transceiver::driveTransmitFIFO() while (radioClock->get() + mTransmitLatency > mTransmitDeadlineClock) { // if underrun, then we're not providing bursts to radio/USRP fast // enough. Need to increase latency by one GSM frame. +#ifndef USE_UHD if (mRadioInterface->isUnderrun()) { // only do latency update every 10 frames, so we don't over update if (radioClock->get() > mLatencyUpdateTime + GSM::Time(10,0)) { @@ -731,6 +732,7 @@ void Transceiver::driveTransmitFIFO() } } } +#endif // time to push burst to transmit FIFO pushRadioVector(mTransmitDeadlineClock); mTransmitDeadlineClock.incTN();