Commit 0c14f2cf authored by cig's avatar cig

Added RA_SUCCEEDED to RA_state_t

parent 88f0b28e
...@@ -77,7 +77,8 @@ typedef enum { ...@@ -77,7 +77,8 @@ typedef enum {
typedef enum { typedef enum {
RA_IDLE = 0, RA_IDLE = 0,
WAIT_RAR = 1, WAIT_RAR = 1,
WAIT_CONTENTION_RESOLUTION = 2 WAIT_CONTENTION_RESOLUTION = 2,
RA_SUCCEEDED = 3
} RA_state_t; } RA_state_t;
/*!\brief Top level UE MAC structure */ /*!\brief Top level UE MAC structure */
......
...@@ -3288,6 +3288,7 @@ void nr_ue_process_mac_pdu(module_id_t module_idP, ...@@ -3288,6 +3288,7 @@ void nr_ue_process_mac_pdu(module_id_t module_idP,
nr_ra_succeeded(module_idP, CC_id, gNB_index); nr_ra_succeeded(module_idP, CC_id, gNB_index);
mac->crnti = mac->t_crnti; mac->crnti = mac->t_crnti;
mac->t_crnti = 0; mac->t_crnti = 0;
mac->ra_state = RA_SUCCEEDED;
} }
break; 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