Added RA_SUCCEEDED to RA_state_t

This commit is contained in:
cig
2020-02-10 20:01:39 +01:00
parent 99256c24ce
commit 6c61fef362
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -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;