laforge
/
openbts-osmo
Archived
1
0
Fork 0

uhd: disable adaptive buffering in 52 MHz transceiver

Similar to the non-52 Mhz case,

589dd9091e

This drastically reduces underruns on the E100.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
This commit is contained in:
Thomas Tsou 2011-05-23 12:02:56 -07:00
parent 4f08ddf45a
commit e94b1f4827
2 changed files with 3 additions and 1 deletions

View File

@ -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();

View File

@ -78,7 +78,7 @@ int main(int argc, char *argv[])
return EXIT_FAILURE;
}
RadioInterface* radio = new RadioInterface(usrp,3);
Transceiver *trx = new Transceiver(5700,"127.0.0.1",SAMPSPERSYM,GSM::Time(2,0),radio);
Transceiver *trx = new Transceiver(5700,"127.0.0.1",SAMPSPERSYM,GSM::Time(3,0),radio);
trx->receiveFIFO(radio->receiveFIFO());
trx->start();