small changes in RRC
This commit is contained in:
@@ -727,7 +727,7 @@ void mac_eNB_rrc_ul_failure(const module_id_t Mod_instP,
|
|||||||
rntiP);
|
rntiP);
|
||||||
|
|
||||||
if (ue_context_p != NULL) {
|
if (ue_context_p != NULL) {
|
||||||
LOG_I(RRC,"Frame %d, Subframe %d: UE %x UL failure, activating timer\n",rntiP);
|
LOG_I(RRC,"Frame %d, Subframe %d: UE %x UL failure, activating timer\n",frameP,subframeP,rntiP);
|
||||||
ue_context_p->ue_context.ul_failure_timer=1;
|
ue_context_p->ue_context.ul_failure_timer=1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
@@ -3724,6 +3724,7 @@ rrc_eNB_decode_ccch(
|
|||||||
#warning "TODO: stmsi_exist: remove UE from MAC/PHY (how?)"
|
#warning "TODO: stmsi_exist: remove UE from MAC/PHY (how?)"
|
||||||
LOG_I(RRC," S-TMSI exists, ue_context_p %p\n",ue_context_p);
|
LOG_I(RRC," S-TMSI exists, ue_context_p %p\n",ue_context_p);
|
||||||
stmsi_received=1;
|
stmsi_received=1;
|
||||||
|
ue_context_p->ue_context.rnti = ctxt_pP->rnti;
|
||||||
// AssertFatal(0 == 1, "TODO: remove UE from MAC/PHY (how?)");
|
// AssertFatal(0 == 1, "TODO: remove UE from MAC/PHY (how?)");
|
||||||
// ue_context_p = NULL;
|
// ue_context_p = NULL;
|
||||||
} else {
|
} else {
|
||||||
@@ -3766,12 +3767,19 @@ rrc_eNB_decode_ccch(
|
|||||||
|
|
||||||
#if defined(ENABLE_ITTI)
|
#if defined(ENABLE_ITTI)
|
||||||
ue_context_p->ue_context.establishment_cause = rrcConnectionRequest->establishmentCause;
|
ue_context_p->ue_context.establishment_cause = rrcConnectionRequest->establishmentCause;
|
||||||
LOG_I(RRC, PROTOCOL_RRC_CTXT_UE_FMT" Accept new connection from UE random UE identity (0x%" PRIx64 ") MME code %u TMSI %u cause %u\n",
|
if (stmsi_received==0)
|
||||||
PROTOCOL_RRC_CTXT_UE_ARGS(ctxt_pP),
|
LOG_I(RRC, PROTOCOL_RRC_CTXT_UE_FMT" Accept new connection from UE random UE identity (0x%" PRIx64 ") MME code %u TMSI %u cause %u\n",
|
||||||
ue_context_p->ue_context.random_ue_identity,
|
PROTOCOL_RRC_CTXT_UE_ARGS(ctxt_pP),
|
||||||
ue_context_p->ue_context.Initialue_identity_s_TMSI.mme_code,
|
ue_context_p->ue_context.random_ue_identity,
|
||||||
ue_context_p->ue_context.Initialue_identity_s_TMSI.m_tmsi,
|
ue_context_p->ue_context.Initialue_identity_s_TMSI.mme_code,
|
||||||
ue_context_p->ue_context.establishment_cause);
|
ue_context_p->ue_context.Initialue_identity_s_TMSI.m_tmsi,
|
||||||
|
ue_context_p->ue_context.establishment_cause);
|
||||||
|
else
|
||||||
|
LOG_I(RRC, PROTOCOL_RRC_CTXT_UE_FMT" Accept new connection from UE MME code %u TMSI %u cause %u\n",
|
||||||
|
PROTOCOL_RRC_CTXT_UE_ARGS(ctxt_pP),
|
||||||
|
ue_context_p->ue_context.Initialue_identity_s_TMSI.mme_code,
|
||||||
|
ue_context_p->ue_context.Initialue_identity_s_TMSI.m_tmsi,
|
||||||
|
ue_context_p->ue_context.establishment_cause);
|
||||||
#else
|
#else
|
||||||
LOG_I(RRC, PROTOCOL_RRC_CTXT_UE_FMT" Accept new connection for UE random UE identity (0x%" PRIx64 ")\n",
|
LOG_I(RRC, PROTOCOL_RRC_CTXT_UE_FMT" Accept new connection for UE random UE identity (0x%" PRIx64 ")\n",
|
||||||
PROTOCOL_RRC_CTXT_UE_ARGS(ctxt_pP),
|
PROTOCOL_RRC_CTXT_UE_ARGS(ctxt_pP),
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ eNBs =
|
|||||||
|
|
||||||
mobile_country_code = "208";
|
mobile_country_code = "208";
|
||||||
|
|
||||||
mobile_network_code = "92";
|
mobile_network_code = "93";
|
||||||
|
|
||||||
////////// Physical parameters:
|
////////// Physical parameters:
|
||||||
|
|
||||||
@@ -133,7 +133,7 @@ eNBs =
|
|||||||
|
|
||||||
|
|
||||||
////////// MME parameters:
|
////////// MME parameters:
|
||||||
mme_ip_address = ( { ipv4 = "192.168.12.26";
|
mme_ip_address = ( { ipv4 = "192.168.12.11";
|
||||||
ipv6 = "192:168:30::17";
|
ipv6 = "192:168:30::17";
|
||||||
active = "yes";
|
active = "yes";
|
||||||
preference = "ipv4";
|
preference = "ipv4";
|
||||||
@@ -145,8 +145,8 @@ rrh_gw_config = (
|
|||||||
local_if_name = "eth0";
|
local_if_name = "eth0";
|
||||||
#remote_address = "169.254.10.158";
|
#remote_address = "169.254.10.158";
|
||||||
#local_address = "169.254.8.15";
|
#local_address = "169.254.8.15";
|
||||||
remote_address = "74:d4:35:cc:88:45";
|
remote_address = "74:d4:35:cc:88:d1"; #bourdon
|
||||||
local_address = "98:90:96:df:66:07";
|
local_address = "74:d4:35:cc:8d:15"; #papillon
|
||||||
local_port = 50000; #for raw option local port must be the same to remote
|
local_port = 50000; #for raw option local port must be the same to remote
|
||||||
remote_port = 50000;
|
remote_port = 50000;
|
||||||
rrh_gw_active = "yes";
|
rrh_gw_active = "yes";
|
||||||
@@ -161,13 +161,13 @@ rrh_gw_config = (
|
|||||||
|
|
||||||
NETWORK_INTERFACES :
|
NETWORK_INTERFACES :
|
||||||
{
|
{
|
||||||
ENB_INTERFACE_NAME_FOR_S1_MME = "eth4";
|
ENB_INTERFACE_NAME_FOR_S1_MME = "eth3";
|
||||||
ENB_IPV4_ADDRESS_FOR_S1_MME = "192.168.12.111/24";
|
ENB_IPV4_ADDRESS_FOR_S1_MME = "192.168.12.215/24";
|
||||||
|
|
||||||
ENB_INTERFACE_NAME_FOR_S1U = "eth4";
|
ENB_INTERFACE_NAME_FOR_S1U = "eth3";
|
||||||
|
|
||||||
|
|
||||||
ENB_IPV4_ADDRESS_FOR_S1U = "192.168.12.111/24";
|
ENB_IPV4_ADDRESS_FOR_S1U = "192.168.12.215/24";
|
||||||
ENB_PORT_FOR_S1U = 2152; # Spec 2152
|
ENB_PORT_FOR_S1U = 2152; # Spec 2152
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user