• Robert Schmidt's avatar
    Remove RA.crnti: it is not needed anymore · 93f59a3c
    Robert Schmidt authored
    The RA.crnti field is marked as being used by NSA mode, but it is not.
    OTOH, it is used in the case of RA with Msg.3 with C-RNTI MAC CE. The
    latter does not necessarily need it, though, as we can change the RNTI
    of the RA process when we receive C-RNTI MAC CE.
    
    This introduces a slight complication, though, as we cannot remove the
    MAC UE Context (generated when receiving Msg.3) directly when parsing
    the C-RNTI MAC CE. Previously, we had both rnti and crnti in the RA
    struct, and when sending Msg.4 after Msg.3 with C-RNTI MAC CE, we would
    remove the UE context (this is changed in the next commit). Therefore,
    we employ nr_mac_trigger_release_timer() which releases the UE after
    60ms, circumventing this complication.
    93f59a3c
mac_rrc_dl_handler.c 18.3 KB