|
|
@ -135,9 +135,7 @@ e2_ap_pdu_c e2ap::generate_subscription_failure(ric_subscription_reponse_t ric_s
|
|
|
|
return pdu;
|
|
|
|
return pdu;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
e2_ap_pdu_c e2ap::generate_subscription_delete_response(uint32_t ric_requestor_id,
|
|
|
|
e2_ap_pdu_c e2ap::generate_subscription_delete_response(ric_subscription_reponse_t ric_subscription_reponse)
|
|
|
|
uint32_t ric_instance_id,
|
|
|
|
|
|
|
|
uint32_t ra_nfunction_id)
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
e2_ap_pdu_c pdu;
|
|
|
|
e2_ap_pdu_c pdu;
|
|
|
|
successful_outcome_s& success = pdu.set_successful_outcome();
|
|
|
|
successful_outcome_s& success = pdu.set_successful_outcome();
|
|
|
@ -146,11 +144,11 @@ e2_ap_pdu_c e2ap::generate_subscription_delete_response(uint32_t ric_requestor_i
|
|
|
|
ricsubscription_delete_resp_s& sub_resp = success.value.ricsubscription_delete_resp();
|
|
|
|
ricsubscription_delete_resp_s& sub_resp = success.value.ricsubscription_delete_resp();
|
|
|
|
|
|
|
|
|
|
|
|
sub_resp->ri_crequest_id.crit = asn1::crit_opts::reject;
|
|
|
|
sub_resp->ri_crequest_id.crit = asn1::crit_opts::reject;
|
|
|
|
sub_resp->ri_crequest_id->ric_requestor_id = ric_requestor_id;
|
|
|
|
sub_resp->ri_crequest_id->ric_requestor_id = ric_subscription_reponse.ric_requestor_id;
|
|
|
|
sub_resp->ri_crequest_id->ric_instance_id = ric_instance_id;
|
|
|
|
sub_resp->ri_crequest_id->ric_instance_id = ric_subscription_reponse.ric_instance_id;
|
|
|
|
|
|
|
|
|
|
|
|
sub_resp->ra_nfunction_id.crit = asn1::crit_opts::reject;
|
|
|
|
sub_resp->ra_nfunction_id.crit = asn1::crit_opts::reject;
|
|
|
|
sub_resp->ra_nfunction_id->value = ra_nfunction_id;
|
|
|
|
sub_resp->ra_nfunction_id->value = ric_subscription_reponse.ra_nfunction_id;
|
|
|
|
|
|
|
|
|
|
|
|
return pdu;
|
|
|
|
return pdu;
|
|
|
|
}
|
|
|
|
}
|
|
|
|