|
|
@ -18,7 +18,7 @@
|
|
|
|
#ifndef SRSRAN_E2SM_H
|
|
|
|
#ifndef SRSRAN_E2SM_H
|
|
|
|
#define SRSRAN_E2SM_H
|
|
|
|
#define SRSRAN_E2SM_H
|
|
|
|
|
|
|
|
|
|
|
|
enum e2sm_type_t { E2SM_KPM, UNKNOWN };
|
|
|
|
using namespace asn1::e2ap;
|
|
|
|
|
|
|
|
|
|
|
|
struct RANfunction_description;
|
|
|
|
struct RANfunction_description;
|
|
|
|
|
|
|
|
|
|
|
@ -30,7 +30,7 @@ struct RIC_event_trigger_definition {
|
|
|
|
|
|
|
|
|
|
|
|
struct E2AP_RIC_action {
|
|
|
|
struct E2AP_RIC_action {
|
|
|
|
uint16_t ric_action_id;
|
|
|
|
uint16_t ric_action_id;
|
|
|
|
asn1::e2ap::ri_caction_type_e ric_action_type;
|
|
|
|
ri_caction_type_e ric_action_type;
|
|
|
|
uint32_t sm_local_ric_action_id;
|
|
|
|
uint32_t sm_local_ric_action_id;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -39,7 +39,7 @@ typedef struct {
|
|
|
|
uint32_t ric_instance_id;
|
|
|
|
uint32_t ric_instance_id;
|
|
|
|
uint32_t ra_nfunction_id;
|
|
|
|
uint32_t ra_nfunction_id;
|
|
|
|
uint32_t ri_caction_id;
|
|
|
|
uint32_t ri_caction_id;
|
|
|
|
asn1::e2ap::ri_cind_type_e indication_type;
|
|
|
|
ri_cind_type_e indication_type;
|
|
|
|
srsran::unique_byte_buffer_t ri_cind_hdr;
|
|
|
|
srsran::unique_byte_buffer_t ri_cind_hdr;
|
|
|
|
srsran::unique_byte_buffer_t ri_cind_msg;
|
|
|
|
srsran::unique_byte_buffer_t ri_cind_msg;
|
|
|
|
} ric_indication_t;
|
|
|
|
} ric_indication_t;
|
|
|
@ -58,9 +58,9 @@ public:
|
|
|
|
uint32_t get_revision() { return _revision; };
|
|
|
|
uint32_t get_revision() { return _revision; };
|
|
|
|
|
|
|
|
|
|
|
|
virtual bool generate_ran_function_description(RANfunction_description& desc, srsran::unique_byte_buffer_t& buf) = 0;
|
|
|
|
virtual bool generate_ran_function_description(RANfunction_description& desc, srsran::unique_byte_buffer_t& buf) = 0;
|
|
|
|
virtual bool process_ric_event_trigger_definition(asn1::e2ap::ricsubscription_request_s subscription_request,
|
|
|
|
virtual bool process_ric_event_trigger_definition(ricsubscription_request_s subscription_request,
|
|
|
|
RIC_event_trigger_definition& event_def) = 0;
|
|
|
|
RIC_event_trigger_definition& event_def) = 0;
|
|
|
|
virtual bool process_ric_action_definition(asn1::e2ap::ri_caction_to_be_setup_item_s ric_action,
|
|
|
|
virtual bool process_ric_action_definition(ri_caction_to_be_setup_item_s ric_action,
|
|
|
|
E2AP_RIC_action& action_entry) = 0;
|
|
|
|
E2AP_RIC_action& action_entry) = 0;
|
|
|
|
virtual bool remove_ric_action_definition(E2AP_RIC_action& action_entry) = 0;
|
|
|
|
virtual bool remove_ric_action_definition(E2AP_RIC_action& action_entry) = 0;
|
|
|
|
virtual bool execute_action_fill_ric_indication(E2AP_RIC_action& action_entry, ric_indication_t& ric_indication) = 0;
|
|
|
|
virtual bool execute_action_fill_ric_indication(E2AP_RIC_action& action_entry, ric_indication_t& ric_indication) = 0;
|
|
|
@ -80,7 +80,6 @@ private:
|
|
|
|
struct RANfunction_description {
|
|
|
|
struct RANfunction_description {
|
|
|
|
bool accepted = false;
|
|
|
|
bool accepted = false;
|
|
|
|
int function_instance = 0;
|
|
|
|
int function_instance = 0;
|
|
|
|
e2sm_type_t sm_type;
|
|
|
|
|
|
|
|
e2sm* sm_ptr;
|
|
|
|
e2sm* sm_ptr;
|
|
|
|
std::string function_shortname;
|
|
|
|
std::string function_shortname;
|
|
|
|
std::string function_e2_sm_oid;
|
|
|
|
std::string function_e2_sm_oid;
|
|
|
|