Additional messages for error diagnosis for net-ctrld HO
This commit is contained in:
@@ -871,7 +871,7 @@ int flexran_agent_rrc_trigger_handover(mid_t mod_id, const void *params, Protoco
|
|||||||
rnti_found = 1;
|
rnti_found = 1;
|
||||||
// Call the proper wrapper in FlexRAN API
|
// 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) {
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4842,14 +4842,18 @@ int cell_found = 0;
|
|||||||
|
|
||||||
/* Check if eNB id was found */
|
/* 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;
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
/* Handover process is following */
|
/* Handover process is following */
|
||||||
|
|
||||||
/* if X2AP is disabled, do nothing */
|
/* if X2AP is disabled, do nothing */
|
||||||
if (!is_x2ap_enabled())
|
if (!is_x2ap_enabled()) {
|
||||||
|
LOG_E(RRC, "X2 is disabled\n");
|
||||||
return -1;
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
LOG_D(RRC, "Handover is triggered by FlexRAN controller...\n");
|
LOG_D(RRC, "Handover is triggered by FlexRAN controller...\n");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user