Commit 8046ef51 authored by Siddharth Rana's avatar Siddharth Rana Committed by Vijay C

Rebasing from 3GPP_TTCN_System_Simulator Commit...

Rebasing from 3GPP_TTCN_System_Simulator Commit a958012317ab8f2c5829eaebd277698e6cdb7738 to c52a980dd220c187b88a83379e218accf11b36a1
parent 0e3262cc
...@@ -684,6 +684,8 @@ typedef struct { ...@@ -684,6 +684,8 @@ typedef struct {
// last element always NULL // last element always NULL
pthread_mutex_t mutex; pthread_mutex_t mutex;
NR_UE_info_t *list[MAX_MOBILES_PER_GNB+1]; NR_UE_info_t *list[MAX_MOBILES_PER_GNB+1];
bool rsrpReportStatus;
int ssb_rsrp;
bool sched_csirs; bool sched_csirs;
uid_allocator_t uid_allocator; uid_allocator_t uid_allocator;
} NR_UEs_t; } NR_UEs_t;
......
...@@ -52,8 +52,9 @@ static void ss_dumpReqMsg(struct NR_SYSTEM_CTRL_REQ *msg) ...@@ -52,8 +52,9 @@ static void ss_dumpReqMsg(struct NR_SYSTEM_CTRL_REQ *msg)
LOG_A(GNB_APP, "\tRequest=%d\n", msg->Request.d); LOG_A(GNB_APP, "\tRequest=%d\n", msg->Request.d);
} }
void ss_nr_port_man_send_cnf(struct NR_SYSTEM_CTRL_CNF* recvCnf) void ss_nr_port_man_send_cnf(struct NR_SYSTEM_CTRL_CNF recvCnf)
{ {
struct NR_SYSTEM_CTRL_CNF cnf;
const size_t size = 16 * 1024; const size_t size = 16 * 1024;
uint32_t status; uint32_t status;
...@@ -98,7 +99,7 @@ void ss_nr_port_man_send_cnf(struct NR_SYSTEM_CTRL_CNF* recvCnf) ...@@ -98,7 +99,7 @@ void ss_nr_port_man_send_cnf(struct NR_SYSTEM_CTRL_CNF* recvCnf)
/* Encode message /* Encode message
*/ */
if (acpNrSysProcessEncSrv(nrctx_g, buffer, &msgSize, recvCnf) != 0) if (acpNrSysProcessEncSrv(nrctx_g, buffer, &msgSize, &cnf) != 0)
{ {
acpFree(buffer); acpFree(buffer);
return; return;
......
...@@ -160,6 +160,7 @@ static void send_sys_cnf(enum ConfirmationResult_Type_Sel resType, ...@@ -160,6 +160,7 @@ static void send_sys_cnf(enum ConfirmationResult_Type_Sel resType,
default: default:
LOG_A(GNB_APP, "[SYS-GNB] Error not handled CNF TYPE to [SS-PORTMAN-GNB]\n"); LOG_A(GNB_APP, "[SYS-GNB] Error not handled CNF TYPE to [SS-PORTMAN-GNB]\n");
} }
SS_NR_SYS_PORT_MSG_CNF(message_p).cnf = msgCnf; SS_NR_SYS_PORT_MSG_CNF(message_p).cnf = msgCnf;
int send_res = itti_send_msg_to_task(TASK_SS_PORTMAN_GNB, INSTANCE_DEFAULT, message_p); int send_res = itti_send_msg_to_task(TASK_SS_PORTMAN_GNB, INSTANCE_DEFAULT, message_p);
if (send_res < 0) if (send_res < 0)
...@@ -379,7 +380,6 @@ static void sys_handle_nr_paging_req(struct NR_PagingTrigger_Type *pagingRequest ...@@ -379,7 +380,6 @@ static void sys_handle_nr_paging_req(struct NR_PagingTrigger_Type *pagingRequest
static void ss_task_sys_nr_handle_req(struct NR_SYSTEM_CTRL_REQ *req, ss_nrset_timinfo_t *tinfo) static void ss_task_sys_nr_handle_req(struct NR_SYSTEM_CTRL_REQ *req, ss_nrset_timinfo_t *tinfo)
{ {
int enterState = RC.ss.State; int enterState = RC.ss.State;
if (req->Common.CellId > 0) { if (req->Common.CellId > 0) {
SS_context.eutra_cellId = req->Common.CellId; SS_context.eutra_cellId = req->Common.CellId;
} }
......
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