RAN Control REPORT Style 1: "UE ID" support
As per spec, UE ID shall be reported when the message event configured by the Event Trigger Style 1 is set to “RRC Setup Complete" message (UE attach), or “Xn/NG Handover Request” or “F1 UE Context Setup Request” (Intra gNB Handover). In OAI RAN, Xn/NG Handover is not yet supported, and therefore not added as the trigger event in this commit. Additionally, as the Event Trigger Definition Format 1 is common for both "RRC Message" and "UE ID", E2 node will report the “RRC Setup Complete" message which the xApp will decode and print. Co-authored-by: Khanh Toan Pham <khanh.toan.pham@hhi.fraunhofer.de> Co-authored-by: Shrinish Donde <shrinish.donde@hhi.fraunhofer.de> Co-authored-by: Theodoros Tsourdinis <theodoros.tsourdinis@sorbonne-universite.fr> Co-authored-by: Miguel Fuentes <miguel.fuentes@i2cat.net> Co-authored-by: Teodora Vladic <teodora.vladic@openairinterface.org>
This commit is contained in:
committed by
Robert Schmidt
co-authored by
Khanh Toan Pham
Shrinish Donde
Theodoros Tsourdinis
Miguel Fuentes
Teodora Vladic
parent
8477de3571
commit
c612005d28
@@ -39,6 +39,11 @@
|
||||
#include "rrc_extern.h"
|
||||
#include "openair2/RRC/NR/rrc_gNB_NGAP.h"
|
||||
|
||||
#ifdef E2_AGENT
|
||||
#include "openair2/RRC/NR/rrc_gNB_UE_context.h"
|
||||
#include "openair2/E2AP/RAN_FUNCTION/O-RAN/ran_func_rc_extern.h"
|
||||
#endif
|
||||
|
||||
static void f1ap_write_drb_qos_param(const f1ap_qos_flow_level_qos_parameters_t *drb_qos_in, F1AP_QoSFlowLevelQoSParameters_t *asn1_qosparam)
|
||||
{
|
||||
int type = drb_qos_in->qos_characteristics.qos_type;
|
||||
@@ -587,6 +592,11 @@ int CU_send_UE_CONTEXT_SETUP_REQUEST(sctp_assoc_t assoc_id, f1ap_ue_context_setu
|
||||
return -1;
|
||||
}
|
||||
|
||||
#ifdef E2_AGENT
|
||||
rrc_gNB_ue_context_t *ue_context_p = rrc_gNB_get_ue_context(RC.nrrrc[0], f1ap_ue_context_setup_req->gNB_CU_ue_id);
|
||||
signal_ue_id(&ue_context_p->ue_context, F1_NETWORK_INTERFACE_TYPE, 0);
|
||||
#endif
|
||||
|
||||
// xer_fprint(stdout, &asn_DEF_F1AP_F1AP_PDU, (void *)pdu);
|
||||
// asn_encode_to_new_buffer_result_t res = { NULL, {0, NULL, NULL} };
|
||||
// res = asn_encode_to_new_buffer(NULL, ATS_CANONICAL_XER, &asn_DEF_F1AP_F1AP_PDU, pdu);
|
||||
|
||||
Reference in New Issue
Block a user