*******************************************************************************/
/* This file contains all F1AP message handler related functionality */
+#include <stdbool.h>
+#include <string.h>
#include<ProtocolIE-Field.h>
#include "ProtocolExtensionField.h"
#include "F1AP-PDU.h"
#include "SRB-ToAddMod.h"
#include "RRCSetup-IEs.h"
#include "RRCSetup.h"
+#include "DL-DCCH-Message.h"
+#include "RRCReconfiguration-IEs.h"
+#include "RRCReconfiguration.h"
+#include "DRB-ToAddModList.h"
+#include "DRB-ToAddMod.h"
+#include "SDAP-Config.h"
#include "du_log.h"
#define ENCODE_FAIL -1
#define CU_ID 1
#define CRNTI 17017
#define CELL_INDEX 0
+#define SRB0 0
#define SRB1 1
+#define SRB2 2
+#define DRB1 1
+#define DRB2 2
+#define QCI 9
#define CU_UE_F1AP_ID 0
#define DU_UE_F1AP_ID 1
#define SERV_CELL_IDX 3
#define CU_TO_DU_RRC_INF 4
+#define RRC_SETUP 1
+#define REGISTRATION_ACCEPT 2
+#define UE_CONTEXT_SETUP_REQ 3
+#define UE_CONTEXT_SETUP_RSP 4
+#define SECURITY_MODE_COMPLETE 5
+#define RRC_RECONFIG 6
+
typedef struct f1apDb
{
+ uint8_t dlRrcMsgCount;
OCTET_STRING_t duToCuContainer;
}F1apMsgDb;