diff --git a/srsgnb/hdr/stack/ric/e2sm_kpm.h b/srsgnb/hdr/stack/ric/e2sm_kpm.h index cfb5fde3e..fdf667e1c 100644 --- a/srsgnb/hdr/stack/ric/e2sm_kpm.h +++ b/srsgnb/hdr/stack/ric/e2sm_kpm.h @@ -55,11 +55,10 @@ public: 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); - bool generate_indication_header(E2SM_KPM_RIC_ind_header_t hdr, srsran::unique_byte_buffer_t& buf); - bool generate_indication_message(E2SM_KPM_RIC_ind_message_t msg, srsran::unique_byte_buffer_t& buf); - private: void _fill_measurement_records(std::string meas_name, std::string label, meas_record_l& meas_record_list); + bool _generate_indication_header(E2SM_KPM_RIC_ind_header_t hdr, srsran::unique_byte_buffer_t& buf); + bool _generate_indication_message(E2SM_KPM_RIC_ind_message_t msg, srsran::unique_byte_buffer_t& buf); srslog::basic_logger& logger; std::vector supported_meas_types; diff --git a/srsgnb/src/stack/ric/e2sm_kpm.cc b/srsgnb/src/stack/ric/e2sm_kpm.cc index ad3968a8b..aac5e83c6 100644 --- a/srsgnb/src/stack/ric/e2sm_kpm.cc +++ b/srsgnb/src/stack/ric/e2sm_kpm.cc @@ -218,7 +218,7 @@ bool e2sm_kpm::execute_action_fill_ric_indication(E2AP_RIC_action_t& action_entr ric_ind_header.collet_start_time = std::time(0); ric_indication.ri_cind_hdr = srsran::make_byte_buffer(); - this->generate_indication_header(ric_ind_header, ric_indication.ri_cind_hdr); + this->_generate_indication_header(ric_ind_header, ric_indication.ri_cind_hdr); ric_ind_message.ind_msg_format = e2_sm_kpm_ind_msg_s::ind_msg_formats_c_::types_opts::ind_msg_format1; // ric_ind_message.granul_period = granul_period; // not implemented by flexric and crashes it @@ -269,7 +269,7 @@ bool e2sm_kpm::execute_action_fill_ric_indication(E2AP_RIC_action_t& action_entr } ric_indication.ri_cind_msg = srsran::make_byte_buffer(); - this->generate_indication_message(ric_ind_message, ric_indication.ri_cind_msg); + this->_generate_indication_message(ric_ind_message, ric_indication.ri_cind_msg); return true; } @@ -284,7 +284,7 @@ void e2sm_kpm::_fill_measurement_records(std::string meas_name, std::string labe } } -bool e2sm_kpm::generate_indication_header(E2SM_KPM_RIC_ind_header_t hdr, srsran::unique_byte_buffer_t& buf) +bool e2sm_kpm::_generate_indication_header(E2SM_KPM_RIC_ind_header_t hdr, srsran::unique_byte_buffer_t& buf) { e2_sm_kpm_ind_hdr_s e2_sm_kpm_ind_hdr; e2_sm_kpm_ind_hdr.ind_hdr_formats.ind_hdr_format1().collet_start_time.from_number(hdr.collet_start_time); @@ -303,7 +303,7 @@ bool e2sm_kpm::generate_indication_header(E2SM_KPM_RIC_ind_header_t hdr, srsran: return true; } -bool e2sm_kpm::generate_indication_message(E2SM_KPM_RIC_ind_message_t msg, srsran::unique_byte_buffer_t& buf) +bool e2sm_kpm::_generate_indication_message(E2SM_KPM_RIC_ind_message_t msg, srsran::unique_byte_buffer_t& buf) { e2_sm_kpm_ind_msg_s e2_sm_kpm_ind_msg;