• Robert Schmidt's avatar
    Move DLSCH/PDSCH variables to gNB · e17c165c
    Robert Schmidt authored
    The next commit will remove msgDataTx. We can therefore not use
    msgDataTx to retain the PDSCH/DLSCH variables, and move them to the gNB.
    
    Note that the only reason for NR_gNB_DLSCH_t after this commit is to
    hold various large buffers (c, b, f). Future work could be done to
    remove this, in which case the array inside PHY_VARS_gNB could be
    deleted.
    
    On this occasion, clean up the use of init_DLSCH_struct() and
    reset_DLSCH_struct() (renamed destroy_DLSCH_struct()) and centralize
    their call in phy_init_nr_gNB()/phy_free_nr_gNB(), and correct
    simulators accordingly.
    e17c165c
nr-gnb.c 18.3 KB