Files
openairinterface5g/openair1/SIMULATION/RF
Laurent THOMAS a1b4220a91 Exclusively use OAI_RNGSEED env variable everywhere
Hide normal table initialization of Ziggurat generator from outside to
force the usage of randominit() for RNG initialization. In this step,
remove the randominit() seed parameter and only rely on OAI_RNGSEED for
a consistent RNG initialization, as this parameter was used differently
("0" as fixed number or to force a random seed).

Now, only use OAI_RNGSEED env variable to force the usage of a fixed
seed.
2025-12-01 12:10:31 +01:00
..
2018-01-11 16:50:50 +01:00

This directory holds the C language implementation of the
RF impairments simulation.  It contains
the following files:

defs.h         : Defines function prototypes and data structures
rf.c           : routines for generation of random RF impairments 
Makefile       : Makefile for standalone generation of channel

See Doxygen output for API description
 
Compilation Variables
	    RF_MAIN : Compile the code with a test main entry point.  This mode allows 
			   the user to generate to generate impairments for a sinusoidal input and generate
			   output testing data to analyze results in MATLAB/OCTAVE. The command line 
			   arguments are:
			   
			   rf 

			       test_output_re.m :  Real part of output
					           Variable is rfout_re
			       test_output_im.m :  Imaginary part of output
						   Variable is rfout_im