From a90a7f352e87ae5d4aa89f86ae5ba2f8adb0ed85 Mon Sep 17 00:00:00 2001 From: Robert Schmidt <robert.schmidt@eurecom.fr> Date: Fri, 7 Jun 2019 16:44:10 +0200 Subject: [PATCH] Additional messages for error diagnosis for net-ctrld HO --- openair2/ENB_APP/flexran_agent_common.c | 2 +- openair2/RRC/LTE/rrc_eNB.c | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/openair2/ENB_APP/flexran_agent_common.c b/openair2/ENB_APP/flexran_agent_common.c index d3c0a891823..ac18f160697 100644 --- a/openair2/ENB_APP/flexran_agent_common.c +++ b/openair2/ENB_APP/flexran_agent_common.c @@ -871,7 +871,7 @@ int flexran_agent_rrc_trigger_handover(mid_t mod_id, const void *params, Protoco rnti_found = 1; // Call the proper wrapper in FlexRAN API if (flexran_call_rrc_trigger_handover(mod_id, ho_command->rnti, ho_command->target_phy_cell_id) < 0) { - LOG_E(FLEXRAN_AGENT, "Error in handovering user %d\n", i); + LOG_E(FLEXRAN_AGENT, "Error in handovering user %d/RNTI %x\n", i, rnti); } break; } diff --git a/openair2/RRC/LTE/rrc_eNB.c b/openair2/RRC/LTE/rrc_eNB.c index 58f5ed53a79..c4979051af8 100644 --- a/openair2/RRC/LTE/rrc_eNB.c +++ b/openair2/RRC/LTE/rrc_eNB.c @@ -4842,14 +4842,18 @@ int cell_found = 0; /* Check if eNB id was found */ - if (!cell_found) + if (!cell_found) { + LOG_E(RRC, "%s(): cannot find target eNB with phyCellId %d\n", __func__, target_cell_id); return -1; + } /* Handover process is following */ /* if X2AP is disabled, do nothing */ - if (!is_x2ap_enabled()) + if (!is_x2ap_enabled()) { + LOG_E(RRC, "X2 is disabled\n"); return -1; + } LOG_D(RRC, "Handover is triggered by FlexRAN controller...\n"); -- GitLab