From 5ab4b62313ae29868d8255b39e2791f4285a8aad Mon Sep 17 00:00:00 2001 From: Piotr Gawlowicz Date: Tue, 21 Mar 2023 11:54:14 +0100 Subject: [PATCH] e2am_kpm: define supported meas types --- srsgnb/hdr/stack/ric/e2sm_kpm.h | 3 ++- srsgnb/src/stack/ric/e2sm_kpm.cc | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/srsgnb/hdr/stack/ric/e2sm_kpm.h b/srsgnb/hdr/stack/ric/e2sm_kpm.h index b03a3e796..5e530bff0 100644 --- a/srsgnb/hdr/stack/ric/e2sm_kpm.h +++ b/srsgnb/hdr/stack/ric/e2sm_kpm.h @@ -56,7 +56,8 @@ public: bool generate_indication_message(E2SM_KPM_RIC_ind_message msg, srsran::unique_byte_buffer_t& buf); private: - srslog::basic_logger& logger; + srslog::basic_logger& logger; + std::vector supported_meas_types; }; #endif /*E2SM_KPM*/ diff --git a/srsgnb/src/stack/ric/e2sm_kpm.cc b/srsgnb/src/stack/ric/e2sm_kpm.cc index c6eff53b2..bee0b9645 100644 --- a/srsgnb/src/stack/ric/e2sm_kpm.cc +++ b/srsgnb/src/stack/ric/e2sm_kpm.cc @@ -7,6 +7,9 @@ const uint32_t e2sm_kpm::revision = 0; e2sm_kpm::e2sm_kpm(srslog::basic_logger& logger_) : e2sm(short_name, oid, func_description, revision), logger(logger_) { + supported_meas_types.push_back("RRU.PrbTotDl"); + supported_meas_types.push_back("RRU.PrbTotUl"); + supported_meas_types.push_back("test"); } bool e2sm_kpm::generate_ran_function_description(RANfunction_description& desc, srsran::unique_byte_buffer_t& buf)