Pass assoc_id to RRC and use when sending E1AP messages

This commit is contained in:
Robert Schmidt
2023-10-25 20:22:32 +02:00
parent 1d3127bb99
commit b08ce59bc2
15 changed files with 111 additions and 53 deletions
+1
View File
@@ -410,6 +410,7 @@ static int create_gNB_tasks(ngran_node_t node_type)
/* send E1 Setup Request to RRC */
MessageDef *new_msg = itti_alloc_new_message(TASK_GNB_APP, 0, E1AP_SETUP_REQ);
E1AP_SETUP_REQ(new_msg) = E1AP_REGISTER_REQ(msg).setup_req;
new_msg->ittiMsgHeader.originInstance = -1; /* meaning, it is local */
itti_send_msg_to_task(TASK_RRC_GNB, 0 /*unused by callee*/, new_msg);
itti_free(TASK_UNKNOWN, msg);
}