modify INITIAL_UL_RRC_MESSAGE_TRANSFER

fix build errors about nrUE
c-plane is ok
This commit is contained in:
Xue Song
2021-01-20 15:13:49 +09:00
parent 4ea8b38d37
commit 73ff5dec81
6 changed files with 69 additions and 25 deletions
+3
View File
@@ -601,6 +601,9 @@ int main( int argc, char **argv ) {
protocol_ctxt_t ctxt_pP = {0};
ctxt_pP.enb_flag = ENB_FLAG_NO;
ctxt_pP.rnti = 0x1234;
RC.nrrrc = (gNB_RRC_INST **)malloc(1*sizeof(gNB_RRC_INST *));
RC.nrrrc[0] = (gNB_RRC_INST*)malloc(sizeof(gNB_RRC_INST));
RC.nrrrc[0]->node_type = ngran_gNB;
rrc_ue_generate_RRCSetupRequest(&ctxt_pP, 0);
if (create_tasks_nrue(1) < 0) {
printf("cannot create ITTI tasks\n");