mirror of
				https://github.com/RangeNetworks/openbts.git
				synced 2025-11-03 21:33:15 +00:00 
			
		
		
		
	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 <ttsou@vt.edu> git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2648 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
		@@ -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();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user