Fix RNTI type for Msg3 at UE
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user