Commit 6c61fef3 authored by cig's avatar cig

Added RA_SUCCEEDED to RA_state_t

parent 99256c24
......@@ -77,7 +77,8 @@ typedef enum {
typedef enum {
RA_IDLE = 0,
WAIT_RAR = 1,
WAIT_CONTENTION_RESOLUTION = 2
WAIT_CONTENTION_RESOLUTION = 2,
RA_SUCCEEDED = 3
} RA_state_t;
/*!\brief Top level UE MAC structure */
......
......@@ -3288,6 +3288,7 @@ void nr_ue_process_mac_pdu(module_id_t module_idP,
nr_ra_succeeded(module_idP, CC_id, gNB_index);
mac->crnti = mac->t_crnti;
mac->t_crnti = 0;
mac->ra_state = RA_SUCCEEDED;
}
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment