Commit 8d5f99d0 authored by Xue Song's avatar Xue Song

fix the problem of ittiSIM compilation error

parent d0be64cb
...@@ -404,6 +404,7 @@ rrc_gNB_generate_RRCSetup( ...@@ -404,6 +404,7 @@ rrc_gNB_generate_RRCSetup(
break; break;
case ngran_gNB: case ngran_gNB:
{
// rrc_mac_config_req_gNB // rrc_mac_config_req_gNB
#ifdef ITTI_SIM #ifdef ITTI_SIM
MessageDef *message_p; MessageDef *message_p;
...@@ -438,6 +439,7 @@ rrc_gNB_generate_RRCSetup( ...@@ -438,6 +439,7 @@ rrc_gNB_generate_RRCSetup(
ue_context_pP->ue_context.ue_release_timer_thres = 1000; ue_context_pP->ue_context.ue_release_timer_thres = 1000;
/* init timers */ /* init timers */
// ue_context_pP->ue_context.ue_rrc_inactivity_timer = 0; // ue_context_pP->ue_context.ue_rrc_inactivity_timer = 0;
}
break; break;
default : default :
...@@ -500,6 +502,7 @@ rrc_gNB_generate_RRCReject( ...@@ -500,6 +502,7 @@ rrc_gNB_generate_RRCReject(
break; break;
case ngran_gNB: case ngran_gNB:
{
#ifdef ITTI_SIM #ifdef ITTI_SIM
uint8_t *message_buffer; uint8_t *message_buffer;
message_buffer = itti_malloc (TASK_RRC_GNB_SIM, TASK_RRC_UE_SIM, message_buffer = itti_malloc (TASK_RRC_GNB_SIM, TASK_RRC_UE_SIM,
...@@ -511,6 +514,7 @@ rrc_gNB_generate_RRCReject( ...@@ -511,6 +514,7 @@ rrc_gNB_generate_RRCReject(
itti_send_msg_to_task (TASK_RRC_UE_SIM, ctxt_pP->instance, message_p); itti_send_msg_to_task (TASK_RRC_UE_SIM, ctxt_pP->instance, message_p);
#endif #endif
// rrc_mac_config_req_gNB // rrc_mac_config_req_gNB
}
break; break;
default : default :
...@@ -602,6 +606,7 @@ rrc_gNB_generate_defaultRRCReconfiguration( ...@@ -602,6 +606,7 @@ rrc_gNB_generate_defaultRRCReconfiguration(
break; break;
case ngran_gNB: case ngran_gNB:
{
#ifdef ITTI_SIM #ifdef ITTI_SIM
uint8_t *message_buffer; uint8_t *message_buffer;
message_buffer = itti_malloc (TASK_RRC_GNB_SIM, TASK_RRC_UE_SIM, size); message_buffer = itti_malloc (TASK_RRC_GNB_SIM, TASK_RRC_UE_SIM, size);
...@@ -641,6 +646,7 @@ rrc_gNB_generate_defaultRRCReconfiguration( ...@@ -641,6 +646,7 @@ rrc_gNB_generate_defaultRRCReconfiguration(
#endif #endif
#endif #endif
// rrc_rlc_config_asn1_req // rrc_rlc_config_asn1_req
}
break; break;
default : default :
......
...@@ -835,6 +835,7 @@ rrc_gNB_process_NGAP_DOWNLINK_NAS( ...@@ -835,6 +835,7 @@ rrc_gNB_process_NGAP_DOWNLINK_NAS(
break; break;
case ngran_gNB: case ngran_gNB:
{
// rrc_mac_config_req_gNB // rrc_mac_config_req_gNB
#ifdef ITTI_SIM #ifdef ITTI_SIM
uint8_t *message_buffer; uint8_t *message_buffer;
...@@ -859,6 +860,7 @@ rrc_gNB_process_NGAP_DOWNLINK_NAS( ...@@ -859,6 +860,7 @@ rrc_gNB_process_NGAP_DOWNLINK_NAS(
PDCP_TRANSMISSION_MODE_CONTROL); PDCP_TRANSMISSION_MODE_CONTROL);
#endif #endif
#endif #endif
}
break; break;
default : default :
......
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