Issue-ID: SIM-18
[sim/e2-interface.git] / e2sim / e2apv1sim / e2sim / encode_kpm.hpp
1 #ifndef ENCODE_KPM_HPP
2 #define ENCODE_KPM_HPP
3
4 extern "C" {
5   #include "OCUCP-PF-Container.h"
6   #include "OCTET_STRING.h"
7   #include "asn_application.h"
8   #include "E2SM-KPM-IndicationMessage.h"
9   #include "FQIPERSlicesPerPlmnListItem.h"
10   #include "E2SM-KPM-RANfunction-Description.h"
11   #include "Timestamp.h"
12 }
13
14 void encode_kpm(E2SM_KPM_IndicationMessage_t* indicationmessage);
15
16 void encode_kpm_bak(E2SM_KPM_IndicationMessage_t* indicationmessage);
17
18 void encode_kpm_function_description(E2SM_KPM_RANfunction_Description_t* ranfunc_desc);
19
20 void encode_kpm_report_style5(E2SM_KPM_IndicationMessage_t* indicationmessage);
21
22 void encode_kpm_odu_user_level(RAN_Container_t *ranco);
23
24 void encode_kpm_ocucp_user_level(RAN_Container_t *ranco);
25
26 void encode_kpm_ocuup_user_level(RAN_Container_t *ranco);
27
28 void encode_kpm_report_rancontainer_du(E2SM_KPM_IndicationMessage_t *indMsg);
29
30 void encode_kpm_report_rancontainer_cucp(E2SM_KPM_IndicationMessage_t *indMsg);
31
32 void encode_kpm_report_rancontainer_cuup(E2SM_KPM_IndicationMessage_t *indMsg);
33
34 void encode_kpm_report_style1(E2SM_KPM_IndicationMessage_t* indicationmessage);
35
36 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);
37
38 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);
39
40 void encode_kpm_report_style1_parameterized(E2SM_KPM_IndicationMessage_t* indicationmessage, long fiveqi, long dl_prb_usage, long ul_prb_usage, uint8_t* sd_buf, uint8_t* sst_buf,uint8_t* plmnid_buf, uint8_t* nrcellid_buf, long *dl_prbs, long *ul_prbs);
41
42 void encode_kpm_report_style5_parameterized(E2SM_KPM_IndicationMessage_t* indicationmessage, uint8_t *gnbcuupname_buf, int bytes_dl,int bytes_ul, uint8_t *sst_buf, uint8_t *sd_buf, uint8_t *plmnid_buf);
43
44
45 #endif