diff --git a/srsgnb/hdr/stack/ric/e2sm.h b/srsgnb/hdr/stack/ric/e2sm.h index bb2cf1ed0..4ea986b08 100644 --- a/srsgnb/hdr/stack/ric/e2sm.h +++ b/srsgnb/hdr/stack/ric/e2sm.h @@ -62,12 +62,12 @@ public: uint32_t get_revision() { return _revision; }; virtual bool generate_ran_function_description(RANfunction_description& desc, ra_nfunction_item_s& ran_func) = 0; - virtual bool process_ric_event_trigger_definition(ricsubscription_request_s subscription_request, + virtual bool process_ric_event_trigger_definition(ricsubscription_request_s subscription_request, RIC_event_trigger_definition_t& event_def) = 0; virtual bool process_ric_action_definition(ri_caction_to_be_setup_item_s ric_action, - E2AP_RIC_action_t& action_entry) = 0; + E2AP_RIC_action_t& action_entry) = 0; virtual bool remove_ric_action_definition(E2AP_RIC_action_t& action_entry) = 0; - virtual bool execute_action_fill_ric_indication(E2AP_RIC_action_t& action_entry, ric_indication_t& ric_indication) = 0; + virtual bool generate_ric_indication_content(E2AP_RIC_action_t& action_entry, ric_indication_t& ric_indication) = 0; virtual void receive_e2_metrics_callback(const enb_metrics_t& m) = 0; diff --git a/srsgnb/hdr/stack/ric/e2sm_kpm.h b/srsgnb/hdr/stack/ric/e2sm_kpm.h index ea8ba91ca..b622c7f5b 100644 --- a/srsgnb/hdr/stack/ric/e2sm_kpm.h +++ b/srsgnb/hdr/stack/ric/e2sm_kpm.h @@ -41,7 +41,7 @@ public: RIC_event_trigger_definition_t& event_def); virtual bool process_ric_action_definition(ri_caction_to_be_setup_item_s ric_action, E2AP_RIC_action_t& action_entry); virtual bool remove_ric_action_definition(E2AP_RIC_action_t& action_entry); - virtual bool execute_action_fill_ric_indication(E2AP_RIC_action_t& action_entry, ric_indication_t& ric_indication); + virtual bool generate_ric_indication_content(E2AP_RIC_action_t& action_entry, ric_indication_t& ric_indication); virtual void receive_e2_metrics_callback(const enb_metrics_t& m); diff --git a/srsgnb/src/stack/ric/e2sm_kpm.cc b/srsgnb/src/stack/ric/e2sm_kpm.cc index e6184553c..bb972e74c 100644 --- a/srsgnb/src/stack/ric/e2sm_kpm.cc +++ b/srsgnb/src/stack/ric/e2sm_kpm.cc @@ -224,7 +224,7 @@ bool e2sm_kpm::remove_ric_action_definition(E2AP_RIC_action_t& action_entry) return false; } -bool e2sm_kpm::execute_action_fill_ric_indication(E2AP_RIC_action_t& action_entry, ric_indication_t& ric_indication) +bool e2sm_kpm::generate_ric_indication_content(E2AP_RIC_action_t& action_entry, ric_indication_t& ric_indication) { uint32_t action_id = action_entry.sm_local_ric_action_id; if (!registered_actions_data.count(action_id)) { diff --git a/srsgnb/src/stack/ric/ric_subscription.cc b/srsgnb/src/stack/ric/ric_subscription.cc index a754419e6..0b4c3a5bd 100644 --- a/srsgnb/src/stack/ric/ric_subscription.cc +++ b/srsgnb/src/stack/ric/ric_subscription.cc @@ -211,7 +211,7 @@ void ric_client::ric_subscription::send_ric_indication() ric_indication.ri_caction_id = action.ric_action_id; ric_indication.ri_indication_sn_present = true; ric_indication.ri_indication_sn = _generate_ric_indication_sn(); - sm_ptr->execute_action_fill_ric_indication(action, ric_indication); + sm_ptr->generate_ric_indication_content(action, ric_indication); e2_ap_pdu_c send_pdu = parent->e2ap_.generate_indication(ric_indication); parent->queue_send_e2ap_pdu(send_pdu);