mirror of
				https://github.com/RangeNetworks/openbts.git
				synced 2025-11-03 21:33:15 +00:00 
			
		
		
		
	Transceiver52M: Generate RACH correlation sequence at initialization
There is no temporal dependency on when the RACH sequence is generated, so there is no need for transceiver to create it in response to a command from GSM core. If we power on the transceiver, we will need the RACH sequence, so just allocate it during initialization. Signed-off-by: Thomas Tsou <tom@tsou.cc> git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6731 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
		@@ -161,6 +161,9 @@ int main(int argc, char *argv[])
 | 
			
		||||
 | 
			
		||||
  Transceiver *trx = new Transceiver(trxPort, trxAddr.c_str(),
 | 
			
		||||
                                     SAMPSPERSYM, GSM::Time(3,0), radio);
 | 
			
		||||
  if (!trx->init()) {
 | 
			
		||||
    LOG(ALERT) << "Failed to initialize transceiver";
 | 
			
		||||
  }
 | 
			
		||||
  trx->receiveFIFO(radio->receiveFIFO());
 | 
			
		||||
  trx->start();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user