memory mgmt error
This commit is contained in:
@@ -857,13 +857,6 @@ if(!IS_SOFTMODEM_NOS1)
|
|||||||
printf("NFAPI mode - DO NOT call init_gNB_afterRU()\n");
|
printf("NFAPI mode - DO NOT call init_gNB_afterRU()\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nfapi_mode != 1 && nfapi_mode != 2) {
|
|
||||||
printf("Not NFAPI mode - call init_eNB_afterRU()\n");
|
|
||||||
init_eNB_afterRU();
|
|
||||||
} else {
|
|
||||||
printf("NFAPI mode - DO NOT call init_gNB_afterRU()\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
printf("ALL RUs ready - ALL gNBs ready\n");
|
printf("ALL RUs ready - ALL gNBs ready\n");
|
||||||
// connect the TX/RX buffers
|
// connect the TX/RX buffers
|
||||||
printf("Sending sync to all threads\n");
|
printf("Sending sync to all threads\n");
|
||||||
|
|||||||
@@ -1109,6 +1109,8 @@ int RCconfig_nr_gtpu(void ) {
|
|||||||
IPV4_STR_ADDR_TO_INT_NWBO (address, GTPV1U_ENB_S1_REQ(message).enb_ip_address_for_S1u_S12_S4_up, "BAD IP ADDRESS FORMAT FOR eNB S1_U !\n" );
|
IPV4_STR_ADDR_TO_INT_NWBO (address, GTPV1U_ENB_S1_REQ(message).enb_ip_address_for_S1u_S12_S4_up, "BAD IP ADDRESS FORMAT FOR eNB S1_U !\n" );
|
||||||
LOG_I(GTPU,"Configuring GTPu address : %s -> %x\n",address,GTPV1U_ENB_S1_REQ(message).enb_ip_address_for_S1u_S12_S4_up);
|
LOG_I(GTPU,"Configuring GTPu address : %s -> %x\n",address,GTPV1U_ENB_S1_REQ(message).enb_ip_address_for_S1u_S12_S4_up);
|
||||||
GTPV1U_ENB_S1_REQ(message).enb_port_for_S1u_S12_S4_up = gnb_port_for_S1U;
|
GTPV1U_ENB_S1_REQ(message).enb_port_for_S1u_S12_S4_up = gnb_port_for_S1U;
|
||||||
|
strcpy(GTPV1U_ENB_S1_REQ(message).addrStr,address);
|
||||||
|
sprintf(GTPV1U_ENB_S1_REQ(message).portStr,"%d", gnb_port_for_NGU);
|
||||||
} else {// TODO SA
|
} else {// TODO SA
|
||||||
message = itti_alloc_new_message(TASK_GNB_APP, 0, GTPV1U_GNB_NG_REQ);
|
message = itti_alloc_new_message(TASK_GNB_APP, 0, GTPV1U_GNB_NG_REQ);
|
||||||
AssertFatal(message!=NULL,"");
|
AssertFatal(message!=NULL,"");
|
||||||
@@ -1116,8 +1118,6 @@ int RCconfig_nr_gtpu(void ) {
|
|||||||
LOG_I(GTPU,"Configuring GTPu address : %s -> %x\n",address,GTPV1U_GNB_NG_REQ(message).gnb_ip_address_for_NGu_up);
|
LOG_I(GTPU,"Configuring GTPu address : %s -> %x\n",address,GTPV1U_GNB_NG_REQ(message).gnb_ip_address_for_NGu_up);
|
||||||
GTPV1U_GNB_NG_REQ(message).gnb_port_for_NGu_up = gnb_port_for_NGU;
|
GTPV1U_GNB_NG_REQ(message).gnb_port_for_NGu_up = gnb_port_for_NGU;
|
||||||
}
|
}
|
||||||
strcpy(GTPV1U_ENB_S1_REQ(message).addrStr,address);
|
|
||||||
sprintf(GTPV1U_ENB_S1_REQ(message).portStr,"%d", gnb_port_for_NGU);
|
|
||||||
itti_send_msg_to_task (TASK_VARIABLE, 0, message); // data model is wrong: gtpu doesn't have enb_id (or module_id)
|
itti_send_msg_to_task (TASK_VARIABLE, 0, message); // data model is wrong: gtpu doesn't have enb_id (or module_id)
|
||||||
} else
|
} else
|
||||||
LOG_E(GTPU,"invalid address for NGU\n");
|
LOG_E(GTPU,"invalid address for NGU\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user