Commit 2634e1e0 authored by frtabu's avatar frtabu

remove remaining ENABLE_USE_MME macros, were causing Pb in LTE UE

parent ffc53b4c
...@@ -67,7 +67,6 @@ static void configure_nr_rrc(uint32_t gnb_id) { ...@@ -67,7 +67,6 @@ static void configure_nr_rrc(uint32_t gnb_id) {
/*------------------------------------------------------------------------------*/ /*------------------------------------------------------------------------------*/
/* /*
# if defined(ENABLE_USE_MME)
static uint32_t gNB_app_register(uint32_t gnb_id_start, uint32_t gnb_id_end)//, const Enb_properties_array_t *enb_properties) static uint32_t gNB_app_register(uint32_t gnb_id_start, uint32_t gnb_id_end)//, const Enb_properties_array_t *enb_properties)
{ {
uint32_t gnb_id; uint32_t gnb_id;
...@@ -98,7 +97,6 @@ static uint32_t gNB_app_register(uint32_t gnb_id_start, uint32_t gnb_id_end)//, ...@@ -98,7 +97,6 @@ static uint32_t gNB_app_register(uint32_t gnb_id_start, uint32_t gnb_id_end)//,
return register_gnb_pending; return register_gnb_pending;
} }
# endif
*/ */
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -2918,8 +2918,8 @@ int decode_SIB1( const protocol_ctxt_t *const ctxt_pP, const uint8_t eNB_index, ...@@ -2918,8 +2918,8 @@ int decode_SIB1( const protocol_ctxt_t *const ctxt_pP, const uint8_t eNB_index,
LOG_I(RRC,"Setting SIStatus bit 0 to 1\n"); LOG_I(RRC,"Setting SIStatus bit 0 to 1\n");
UE_rrc_inst[ctxt_pP->module_id].Info[eNB_index].SIStatus = 1; UE_rrc_inst[ctxt_pP->module_id].Info[eNB_index].SIStatus = 1;
UE_rrc_inst[ctxt_pP->module_id].Info[eNB_index].SIB1systemInfoValueTag = sib1->systemInfoValueTag; UE_rrc_inst[ctxt_pP->module_id].Info[eNB_index].SIB1systemInfoValueTag = sib1->systemInfoValueTag;
#if defined(ENABLE_ITTI) && defined(ENABLE_USE_MME)
{ if (EPC_MODE_ENABLED) {
int cell_valid = 0; int cell_valid = 0;
if (sib1->cellAccessRelatedInfo.cellBarred == LTE_SystemInformationBlockType1__cellAccessRelatedInfo__cellBarred_notBarred) { if (sib1->cellAccessRelatedInfo.cellBarred == LTE_SystemInformationBlockType1__cellAccessRelatedInfo__cellBarred_notBarred) {
...@@ -2978,7 +2978,7 @@ int decode_SIB1( const protocol_ctxt_t *const ctxt_pP, const uint8_t eNB_index, ...@@ -2978,7 +2978,7 @@ int decode_SIB1( const protocol_ctxt_t *const ctxt_pP, const uint8_t eNB_index,
LOG_E(RRC, "Synched with a cell, but PLMN doesn't match our SIM, the message PHY_FIND_NEXT_CELL_REQ is sent but lost in current UE implementation! \n"); LOG_E(RRC, "Synched with a cell, but PLMN doesn't match our SIM, the message PHY_FIND_NEXT_CELL_REQ is sent but lost in current UE implementation! \n");
} }
} }
#endif
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME( VCD_SIGNAL_DUMPER_FUNCTIONS_RRC_UE_DECODE_SIB1, VCD_FUNCTION_OUT ); VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME( VCD_SIGNAL_DUMPER_FUNCTIONS_RRC_UE_DECODE_SIB1, VCD_FUNCTION_OUT );
return 0; return 0;
} }
......
...@@ -67,14 +67,9 @@ ...@@ -67,14 +67,9 @@
#include "UTIL/OSA/osa_defs.h" #include "UTIL/OSA/osa_defs.h"
#endif #endif
#if defined(ENABLE_USE_MME) #include "rrc_eNB_S1AP.h"
#include "rrc_eNB_S1AP.h" #include "rrc_eNB_GTPV1U.h"
#include "rrc_eNB_GTPV1U.h" #include "../../S1AP/s1ap_eNB.h"
#if defined(ENABLE_ITTI)
#else
#include "../../S1AP/s1ap_eNB.h"
#endif
#endif
#include "pdcp.h" #include "pdcp.h"
#include "gtpv1u_eNB_task.h" #include "gtpv1u_eNB_task.h"
...@@ -337,7 +332,7 @@ void *rrc_gnb_task(void *args_p) { ...@@ -337,7 +332,7 @@ void *rrc_gnb_task(void *args_p) {
/* Messages from PDCP */ /* Messages from PDCP */
/* /*
#if defined(ENABLE_USE_MME) if (EPC_MODE_ENABLED) {
// Messages from S1AP // Messages from S1AP
case S1AP_DOWNLINK_NAS: case S1AP_DOWNLINK_NAS:
...@@ -389,7 +384,7 @@ void *rrc_gnb_task(void *args_p) { ...@@ -389,7 +384,7 @@ void *rrc_gnb_task(void *args_p) {
} }
break; break;
#endif } // if (EPC_MODE_ENABLED)
*/ */
/* Messages from gNB app */ /* Messages from gNB app */
case NRRRC_CONFIGURATION_REQ: case NRRRC_CONFIGURATION_REQ:
......
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