Commit d0f4d5f3 authored by Sakthivel Velumani's avatar Sakthivel Velumani

Bearer context setup message

parent 489a5358
This diff is collapsed.
...@@ -29,27 +29,43 @@ ...@@ -29,27 +29,43 @@
#define E1AP_SETUP_REQ(mSGpTR) (mSGpTR)->ittiMsg.e1ap_setup_req #define E1AP_SETUP_REQ(mSGpTR) (mSGpTR)->ittiMsg.e1ap_setup_req
#define E1AP_SETUP_RESP(mSGpTR) (mSGpTR)->ittiMsg.e1ap_setup_resp #define E1AP_SETUP_RESP(mSGpTR) (mSGpTR)->ittiMsg.e1ap_setup_resp
typedef int (*e1ap_message_processing_t)(
instance_t instance,
uint32_t assoc_id,
uint32_t stream,
E1AP_E1AP_PDU_t *message_p
};
typedef struct PLMN_ID_s { typedef struct PLMN_ID_s {
int id; int id;
} PLMN_ID_t; } PLMN_ID_t;
typedef struct e1ap_setup_req_s { typedef struct e1ap_setup_req_s {
uint64_t gNB_cu_up_id; uint64_t gNB_cu_up_id;
char *gNB_cu_up_name; char * gNB_cu_up_name;
uint64_t transac_id; uint64_t transac_id;
uint64_t cn_support; uint64_t cn_support;
int supported_plmns; int supported_plmns;
PLMN_ID_t plmns[E1AP_MAX_NUM_PLMNS]; PLMN_ID_t plmns[E1AP_MAX_NUM_PLMNS];
uint16_t sctp_in_streams; uint16_t sctp_in_streams;
uint16_t sctp_out_streams; uint16_t sctp_out_streams;
uint16_t default_sctp_stream_id; uint16_t default_sctp_stream_id;
f1ap_net_ip_address_t CUUP_e1_ip_address; f1ap_net_ip_address_t CUUP_e1_ip_address;
f1ap_net_ip_address_t CUCP_e1_ip_address; f1ap_net_ip_address_t CUCP_e1_ip_address;
} e1ap_setup_req_t; } e1ap_setup_req_t;
typedef struct e1ap_bearer_setup_req_s {
uint64_t gNB_cu_cp_ue_id;
uint64_t cipheringAlgorithm;
char encryptionKey[128];
uint64_t bitRate;
E1AP_ActivityNotificationLevel_t activityNotificationLevel;
} e1ap_bearer_setup_req_t;
typedef struct e1ap_upcp_inst_s { typedef struct e1ap_upcp_inst_s {
e1ap_setup_req_t setupReq; uint32_t assoc_id;
uint32_t assoc_id; e1ap_setup_req_t setupReq;
e1ap_bearer_setup_req_t bearerSetupReq;
} e1ap_upcp_inst_t; } e1ap_upcp_inst_t;
typedef enum { typedef enum {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment