mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
- all RAN code, CI code, configuration files, dockerfiles, in CSSL v1.0
- all deployment code (openshift, charts, ancillary files like shell
scripts), in MIT
- documentation in CC-BY-4.0
- exceptions might apply and are listed in NOTICE
- there is a new LICENSES folder with all licenses
- CONTRIBUTIONS.md has been updated accordingly
For automated changes based on OAI PL v1.1:
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.{c,h,cpp}
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.ts
perl -i~ -0pe 's/<!--.*Licensed to the OpenAirInterface.*openairinterface.org\n.*-->/<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->/s' **/*.xml
The rest (cmake, files with missing license, cmake) manually.
28 lines
1.2 KiB
Markdown
28 lines
1.2 KiB
Markdown
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
|
|
|
|
# RF emulator library
|
|
|
|
The RF emulator is a simple network stack terminator on the RF side.
|
|
It is meant to run the network stack without real radio and without RF simulation.
|
|
It simply drops TX signal and generate noise as an RX signal.
|
|
It can be used in `phy-test` mode to simply benchmark the network stack in a determined scenario.
|
|
It synchronizes the network stack on the real time clock of the host to guarantee a realistic behavior of the network stack.
|
|
It detects and report late samples reads and writes to assess the real time behavior of the network stack.
|
|
|
|
## Building
|
|
|
|
`librf_emulator.so` is built by default by the `build_oai.sh` script.
|
|
It is then located in the root build directory (usually `cmake_targets/ran_build/build`).
|
|
|
|
## Usage
|
|
|
|
### Enabling `rf_emulator`
|
|
|
|
Use the option `--device.name rf_emulator` of the softmodem to use the RF emulator.
|
|
|
|
### Options
|
|
|
|
Two options are available to configure the RF emulator:
|
|
* `--rf_emulator.enable_noise <enable>` Enables (enable = 1) or disables (enable = 0) noise generation on RX. By default noise generation is enabled.
|
|
* `--rf_emulator.noise_level_dBFS <noise_level>` Sets the level of noise generated in dB. If omitted no noise is generated.
|