Introduce separate gNB-CU-UP ID in configuration
3GPP has the concept of a gNB-CU-UP ID and a (separate) gNB ID (for gNB, CU-CP). This commit introduces the gNB-CU-UP as a separate ID that has to be set in the configuration file when running as a CU-UP. For the CU/monolithic gNB, it is optional (but needs to be the same as the gNB-ID if specified). The CU-UP ID is necessary, as some entities, e.g., the e2 agent, need to signal both IDs, e.g., to reconcile a CU-CP and (multiple) CU-UP(s) belonging together.
This commit is contained in:
@@ -1801,7 +1801,7 @@ void cucp_task_send_sctp_init_req(instance_t instance, char *my_addr) {
|
||||
void e1_task_handle_sctp_association_ind(E1_t type, instance_t instance, sctp_new_association_ind_t *sctp_new_ind)
|
||||
{
|
||||
if (!getCxtE1(instance))
|
||||
createE1inst(type, instance, NULL, NULL);
|
||||
createE1inst(type, instance, 0, NULL, NULL);
|
||||
e1ap_upcp_inst_t *inst = getCxtE1(instance);
|
||||
inst->sockState = SCTP_STATE_ESTABLISHED;
|
||||
if (type == UPtype)
|
||||
@@ -1897,7 +1897,7 @@ void *E1AP_CUUP_task(void *arg) {
|
||||
switch (msgType) {
|
||||
case E1AP_REGISTER_REQ: {
|
||||
e1ap_register_req_t *reg_req = &E1AP_REGISTER_REQ(msg);
|
||||
createE1inst(UPtype, myInstance, ®_req->net_config, ®_req->setup_req);
|
||||
createE1inst(UPtype, myInstance, reg_req->gnb_id, ®_req->net_config, ®_req->setup_req);
|
||||
e1_task_send_sctp_association_req(TASK_CUUP_E1, myInstance, ®_req->net_config);
|
||||
} break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user