• Cedric Roux's avatar
    add a stop_rf function in the RU · 96380582
    Cedric Roux authored
    When the program exits it has to stop the streaming of the USRP.
    The function exit_fun is supposed to do that. When quitting with
    control+c (very common case) this function is not called. The
    code is very unclear there, so let's add a stop_rf in the RU,
    as there is already a start_rf.
    
    If we don't call trx_end_func, then at the next run the USRP
    device may be in an unstable state and behave improperly.
    
    If the program crashes then the USRP device may be in an
    unstable state. The only solution to this problem is to reset
    the USRP device.
    
    Maybe there is a way to clean the state of the device when we
    open it, before we start using it. Sort of a cleanup before
    use. That could be a better solution to "bad state after program
    crash".
    
    What has been tested:
    - monolithic eNB only
    96380582
Name
Last commit
Last update
cmake_targets Loading commit data...
common Loading commit data...
nfapi Loading commit data...
openair1 Loading commit data...
openair2 Loading commit data...
openair3 Loading commit data...
svn2git Loading commit data...
targets Loading commit data...
.gitlab-ci.yml Loading commit data...
LICENSE Loading commit data...
NOTICE.txt Loading commit data...
README.txt Loading commit data...
maketags Loading commit data...
oaienv Loading commit data...
pre-commit Loading commit data...