X2AP_ERROR ("Rejeting x2 setup request as eNB id %d is already associated to an active sctp association" "Previous known: %d, new one: %d\n", eNB_id, x2ap_eNB_data->assoc_id, assoc_id);
* eNB has been fount in list, consider the x2 setup request as a reset connection,
* * * * reseting any previous UE state if sctp association is != than the previous one
*/
if(x2ap_eNB_data->assoc_id!=assoc_id){
X2SetupFailure_IEs_tx2SetupFailure;
memset(&x2SetupFailure,0,sizeof(x2SetupFailure));
/*
* Send an overload cause...
*/
X2AP_ERROR("Rejeting x2 setup request as eNB id %d is already associated to an active sctp association""Previous known: %d, new one: %d\n",eNB_id,x2ap_eNB_data->assoc_id,assoc_id);
X2AP_ERROR ("Rejeting x2 setup response as eNB id %d is already associated to an active sctp association" "Previous known: %d, new one: %d\n", eNB_id, x2ap_eNB_data->assoc_id, assoc_id);
x2ap_eNB_generate_x2_setup_failure (assoc_id,
X2ap_Cause_PR_protocol,
X2ap_CauseProtocol_unspecified,
-1);
x2ap_eNB_generate_x2_setup_failure (assoc_id,
X2ap_Cause_PR_protocol,
X2ap_CauseProtocol_unspecified,
-1);
return -1;
}
*/
*/
/*
* TODO: call the reset procedure
*/
...
...
@@ -459,7 +625,7 @@ int x2ap_eNB_handle_x2_setup_response(uint32_t assoc_id,
/* Optionaly set the target eNB name */
/* The association is now ready as source and target eNBs know parameters of each other.
* Mark the association as connected.
...
...
@@ -494,9 +660,9 @@ int x2ap_eNB_handle_error_indication(uint32_t assoc_id,