Skip to content
Snippets Groups Projects
Forked from oai / openairinterface5G
2324 commits behind the upstream repository.
  • Robert Schmidt's avatar
    9f45f1d7
    Deprecate NR-UE --rrc_config_path, use --r{e,b}config-file instead · 9f45f1d7
    Robert Schmidt authored
    Config options --reconfig_file and --rbconfig-file have been introduced
    to modify the filenames of reconfig.raw and rbconfig.raw (e.g., in the
    case of multiple UEs). These filen*ames* were to be prepended with
    --rrc_config_path to set the path. In summary, three options were
    necessary, when two are sufficient.
    
    In this commit, change to the options --reconfig-file and
    --rbconfig-file (slight change for harmonization with other options,
    which mostly use dashes) to give the full path to the corresponding
    files, and avoid to surprise users who would not expect to have three
    options.
    
    --rrc_config_path has been deprecated and an error will be printed if a
    user attempts to use it.
    9f45f1d7
    History
    Deprecate NR-UE --rrc_config_path, use --r{e,b}config-file instead
    Robert Schmidt authored
    Config options --reconfig_file and --rbconfig-file have been introduced
    to modify the filenames of reconfig.raw and rbconfig.raw (e.g., in the
    case of multiple UEs). These filen*ames* were to be prepended with
    --rrc_config_path to set the path. In summary, three options were
    necessary, when two are sufficient.
    
    In this commit, change to the options --reconfig-file and
    --rbconfig-file (slight change for harmonization with other options,
    which mostly use dashes) to give the full path to the corresponding
    files, and avoid to surprise users who would not expect to have three
    options.
    
    --rrc_config_path has been deprecated and an error will be printed if a
    user attempts to use it.

Procedure to run nFAPI in 5G NR

Contributed by 5G Testbed IISc

Developers: Gokul S, Mahesh A, Aniq U R

Procedure to Build gNB and UE

The regular commands to build gNB and UE can be used

sudo ./build_oai --gNB --nrUE

Procedure to run NR nFAPI using RF-Simulator

Bring up another loopback interface

If running for the first time on your computer, or you have restarted your computer, bring up another loopback interface with this command:

sudo ifconfig lo: 127.0.0.2 netmask 255.0.0.0 up

VNF command

sudo ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band78.tm1.106PRB.nfapi.conf --nfapi VNF --noS1 --phy-test

PNF command

sudo ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/oaiL1.nfapi.usrpx300.conf --nfapi PNF --rfsim --phy-test --rfsimulator.serveraddr server

UE command

sudo ./nr-uesoftmodem --rfsim --phy-test -d --rfsimulator.serveraddr 127.0.0.1

Procedure to run NR nFAPI using Hardware (tested with USRP x310)

VNF command

sudo ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band78.tm1.106PRB.nfapi.conf --nfapi VNF --noS1 --phy-test

PNF command

sudo ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/oaiL1.nfapi.usrpx300.conf --nfapi PNF --phy-test

UE command

sudo ./nr-uesoftmodem --usrp-args "addr=*USRP_ADDRESS*,clock_source=external,time_source=external" --phy-test