* eNB has been found in list, consider the x2 setup request as a reset connection,
}else{
* * * * reseting any previous UE state if sctp association is != than the previous one
x2ap_eNB_data->state=X2AP_ENB_STATE_RESETTING;
*/
x2ap_eNB_data->eNB_id=gNB_id;
if(x2ap_eNB_data->assoc_id!=assoc_id){
}
/*
}else{
* ??: Send an overload cause...
x2ap_eNB_data->state=X2AP_ENB_STATE_RESETTING;
*/
X2AP_ERROR("Rejecting x2 setup request as eNB id %d is already associated to an active sctp association""Previous known: %d, new one: %d\n",gNB_id,x2ap_eNB_data->assoc_id,assoc_id);
/*
* eNB has been found in list, consider the x2 setup request as a reset connection,
// Here we should be calling an ENDC specific setup_failure function instead
* * * * reseting any previous UE state if sctp association is != than the previous one
x2ap_eNB_generate_x2_setup_failure(instance,
*/
assoc_id,
if(x2ap_eNB_data->assoc_id!=assoc_id){
X2AP_Cause_PR_protocol,
/*
X2AP_CauseProtocol_unspecified,
* ??: Send an overload cause...
-1);
*/
return-1;
X2AP_ERROR("Rejecting x2 setup request as eNB id %d is already associated to an active sctp association""Previous known: %d, new one: %d\n",gNB_id,x2ap_eNB_data->assoc_id,assoc_id);
}
/*
// Panos: Here we should be calling an ENDC specific setup_failure function instead