X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=sim%2Fe2-interface.git;a=blobdiff_plain;f=e2sim%2Fe2sm_examples%2Fkpm_e2sm%2Fsrc%2Fkpm%2Fencode_kpm.hpp;h=51eb4dd2862bb6628d047612eb506f3a16f953f1;hp=09a3583081fb844330766c717f38d0389213ef7b;hb=dbf44578ca278e8176ea18d21446c877c71e064e;hpb=50c32c08fb607bb7b1ac098f90c4b3a21eac169c diff --git a/e2sim/e2sm_examples/kpm_e2sm/src/kpm/encode_kpm.hpp b/e2sim/e2sm_examples/kpm_e2sm/src/kpm/encode_kpm.hpp index 09a3583..51eb4dd 100644 --- a/e2sim/e2sm_examples/kpm_e2sm/src/kpm/encode_kpm.hpp +++ b/e2sim/e2sm_examples/kpm_e2sm/src/kpm/encode_kpm.hpp @@ -24,6 +24,7 @@ extern "C" { #include "OCTET_STRING.h" #include "asn_application.h" #include "E2SM-KPM-IndicationMessage.h" + #include "E2SM-KPM-IndicationHeader.h" #include "FQIPERSlicesPerPlmnListItem.h" #include "E2SM-KPM-RANfunction-Description.h" #include "Timestamp.h" @@ -41,6 +42,8 @@ void encode_kpm_odu_user_level(RAN_Container_t *ranco); void encode_kpm_ocucp_user_level(RAN_Container_t *ranco); +void encode_e2sm_kpm_indication_header(E2SM_KPM_IndicationHeader_t *ihead); + void encode_kpm_ocuup_user_level(RAN_Container_t *ranco); void encode_kpm_report_rancontainer_du(E2SM_KPM_IndicationMessage_t *indMsg); @@ -51,6 +54,8 @@ void encode_kpm_report_rancontainer_cuup(E2SM_KPM_IndicationMessage_t *indMsg); void encode_kpm_report_style1(E2SM_KPM_IndicationMessage_t* indicationmessage); +void encode_kpm_report_rancontainer_du_parameterized(E2SM_KPM_IndicationMessage_t *indMsg, uint8_t *plmnid_buf, uint8_t *nrcellid_buf, uint8_t *crnti_buf, long prb_usage_dl, long prb_usage_ul); + void encode_kpm_report_rancontainer_cucp_parameterized(E2SM_KPM_IndicationMessage_t* indicationmessage,uint8_t *plmnid_buf,uint8_t *nrcellid_buf,uint8_t *crnti_buf,const uint8_t *serving_buf, const uint8_t *neighbor_buf); void encode_kpm_report_rancontainer_cuup_parameterized(E2SM_KPM_IndicationMessage_t* indicationmessage, uint8_t *plmnid_buf, uint8_t *nrcellid_buf, uint8_t *crnti_buf,int pdcp_bytesdl, int pdcp_bytesul);