Fix RA-Msg3 to logical channel CCCH
This commit is contained in:
@@ -237,13 +237,19 @@ void nr_process_mac_pdu(
|
|||||||
case UL_SCH_LCID_SRB3:
|
case UL_SCH_LCID_SRB3:
|
||||||
// todo
|
// todo
|
||||||
break;
|
break;
|
||||||
case UL_SCH_LCID_CCCH_MSG3:
|
|
||||||
// todo
|
|
||||||
break;
|
|
||||||
case UL_SCH_LCID_CCCH:
|
case UL_SCH_LCID_CCCH:
|
||||||
// todo
|
mac_subheader_len = 1;
|
||||||
mac_subheader_len = 2;
|
nr_mac_rrc_data_ind(module_idP,
|
||||||
break;
|
CC_id,
|
||||||
|
frameP,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
rnti,
|
||||||
|
CCCH,
|
||||||
|
pdu_ptr+mac_subheader_len,
|
||||||
|
pdu_len-mac_subheader_len,
|
||||||
|
0);
|
||||||
|
break;
|
||||||
|
|
||||||
case UL_SCH_LCID_DTCH:
|
case UL_SCH_LCID_DTCH:
|
||||||
// check if LCID is valid at current time.
|
// check if LCID is valid at current time.
|
||||||
@@ -500,6 +506,8 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
|
|||||||
// re-initialize ta update variables afrer RA procedure completion
|
// re-initialize ta update variables afrer RA procedure completion
|
||||||
UE_info->UE_sched_ctrl[UE_id].ta_frame = frameP;
|
UE_info->UE_sched_ctrl[UE_id].ta_frame = frameP;
|
||||||
|
|
||||||
|
nr_process_mac_pdu(gnb_mod_idP, current_rnti, CC_idP, frameP, sduP, sdu_lenP);
|
||||||
|
|
||||||
free(ra->preambles.preamble_list);
|
free(ra->preambles.preamble_list);
|
||||||
|
|
||||||
ra->state = Msg4;
|
ra->state = Msg4;
|
||||||
|
|||||||
Reference in New Issue
Block a user