mirror of
				https://github.com/fairwaves/openbts-2.8.git
				synced 2025-11-04 05:53:17 +00:00 
			
		
		
		
	umtrx: set timing offset and clocking frequency
Measured offset and set to zero based on Nokia 3120 handset. Signed-off-by: Thomas Tsou <tom@tsou.cc>
This commit is contained in:
		
				
					committed by
					
						
						Alexander Chemeris
					
				
			
			
				
	
			
			
			
						parent
						
							aa89934815
						
					
				
				
					commit
					d75e3cc13f
				
			@@ -48,14 +48,14 @@
 | 
			
		||||
 | 
			
		||||
    tx_ampl           - Transmit amplitude must be between 0 and 1.0
 | 
			
		||||
*/
 | 
			
		||||
const double master_clk_rt = 52e6;
 | 
			
		||||
const double master_clk_rt = 13e6;
 | 
			
		||||
const size_t smpl_buf_sz = (1 << 20);
 | 
			
		||||
const float tx_ampl = .3;
 | 
			
		||||
 | 
			
		||||
#ifdef RESAMPLE
 | 
			
		||||
const double rx_smpl_offset = .00005;
 | 
			
		||||
#else
 | 
			
		||||
const double rx_smpl_offset = .0000869;
 | 
			
		||||
const double rx_smpl_offset = 9.4457e-5; 
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
static TIMESTAMP init_rd_ts = 0;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user