Commit 732617f5 authored by rmagueta's avatar rmagueta

Fix RNTI type for Msg3 at UE

parent 1821c8c9
...@@ -73,7 +73,7 @@ int get_rnti_type(NR_UE_MAC_INST_t *mac, uint16_t rnti){ ...@@ -73,7 +73,7 @@ int get_rnti_type(NR_UE_MAC_INST_t *mac, uint16_t rnti){
if (rnti == ra->ra_rnti) { if (rnti == ra->ra_rnti) {
rnti_type = NR_RNTI_RA; rnti_type = NR_RNTI_RA;
} else if (rnti == ra->t_crnti && ra->ra_state == WAIT_CONTENTION_RESOLUTION) { } else if (rnti == ra->t_crnti && (ra->ra_state == WAIT_RAR || ra->ra_state == WAIT_CONTENTION_RESOLUTION) ) {
rnti_type = NR_RNTI_TC; rnti_type = NR_RNTI_TC;
} else if (rnti == mac->crnti) { } else if (rnti == mac->crnti) {
rnti_type = NR_RNTI_C; rnti_type = NR_RNTI_C;
......
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