Additional messages for error diagnosis for net-ctrld HO

This commit is contained in:
Robert Schmidt
2019-06-24 16:29:14 +02:00
parent 67fc2f7c62
commit a90a7f352e
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -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;
}
+6 -2
View File
@@ -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");