Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Cell and Network slicing configuration over o1.
[o-du/l2.git]
/
src
/
cu_stub
/
cu_f1ap_msg_hdl.h
diff --git
a/src/cu_stub/cu_f1ap_msg_hdl.h
b/src/cu_stub/cu_f1ap_msg_hdl.h
index
e97c88d
..
62b771f
100644
(file)
--- a/
src/cu_stub/cu_f1ap_msg_hdl.h
+++ b/
src/cu_stub/cu_f1ap_msg_hdl.h
@@
-35,6
+35,7
@@
#include "DRB-ToAddMod.h"
#include "SDAP-Config.h"
#include "du_log.h"
#include "DRB-ToAddMod.h"
#include "SDAP-Config.h"
#include "du_log.h"
+#include "cu_stub.h"
#define ENCODE_FAIL -1
#define TRANS_ID 1
#define ENCODE_FAIL -1
#define TRANS_ID 1
@@
-50,6
+51,11
@@
#define SRB1 1
#define SRB2 2
#define DRB1 1
#define SRB1 1
#define SRB2 2
#define DRB1 1
+#define DRB2 2
+#define DRB3 3
+#define QCI 9
+#define MAX_DRB_SET_UE_CONTEXT_SETUP_REQ 2
+#define MAX_DRB_SET_UE_CONTEXT_MOD_REQ 1
#define CU_UE_F1AP_ID 0
#define DU_UE_F1AP_ID 1
#define CU_UE_F1AP_ID 0
#define DU_UE_F1AP_ID 1
@@
-63,6
+69,9
@@
#define UE_CONTEXT_SETUP_RSP 4
#define SECURITY_MODE_COMPLETE 5
#define RRC_RECONFIG 6
#define UE_CONTEXT_SETUP_RSP 4
#define SECURITY_MODE_COMPLETE 5
#define RRC_RECONFIG 6
+#define UE_CONTEXT_MOD_REQ 7
+#define NUM_QOS_EXT 1
+
typedef struct f1apDb
{
typedef struct f1apDb
{
@@
-70,9
+79,18
@@
typedef struct f1apDb
OCTET_STRING_t duToCuContainer;
}F1apMsgDb;
OCTET_STRING_t duToCuContainer;
}F1apMsgDb;
-F1apMsgDb f1apMsgDb;
-void F1APMsgHdlr(Buffer *mBuf);
+typedef struct ueInfo
+{
+ uint8_t ueId;
+ F1apMsgDb f1apMsgDb;
+}UeCb;
+UeCb ueCb[MAX_NUM_UE];
+
+void F1APMsgHdlr(Buffer *mBuf);
+uint8_t BuildAndSendUeContextModificationReq(uint8_t ueId);
+uint8_t BuildAndSendUeContextReleaseCommand(uint8_t cuUeF1apId, uint8_t duUeF1apId);
+uint8_t BuildAndSendF1ResetReq();
/**********************************************************************
End of file
**********************************************************************/
/**********************************************************************
End of file
**********************************************************************/