• Robert Schmidt's avatar
    Remove FHI72 memory workaround · 595a80a3
    Robert Schmidt authored
    The queue L1_rx_out was in place to keep RX/TX processing relatively
    "close" to each other (in terms of time, since in RFsim, they might
    advance faster than realtime; see also parent commit). This lead to a
    memory leak in radios that do not use ru->feprx (no front-end processing
    for RX, e.g., PRACH), as the code to read the L1_rx_out messages was
    inside a block of if (ru->feprx). Move it out so that the queue is
    always read and messages are freed to eliminate the memory leak, and
    remove the workaround for FHI72 to avoid this memory leak.
    
    This also allows to run RFsim when compiling FHI72, which was not
    possible before this commit.
    
    Closes: #812
    595a80a3
nr-gnb.c 17 KB