Commit 76730474 authored by Vaibhav Shrivastava's avatar Vaibhav Shrivastava

pci fix

parent 3cc7609e
...@@ -230,9 +230,18 @@ static void ss_task_sys_nr_handle_req(struct NR_SYSTEM_CTRL_REQ *req, ss_nrset_t ...@@ -230,9 +230,18 @@ static void ss_task_sys_nr_handle_req(struct NR_SYSTEM_CTRL_REQ *req, ss_nrset_t
cellConfig->header.cell_id = SS_context.eutra_cellId; cellConfig->header.cell_id = SS_context.eutra_cellId;
cellConfig->maxRefPower= p_cellConfig->CellConfigCommon.v.InitialCellPower.v.MaxReferencePower; cellConfig->maxRefPower= p_cellConfig->CellConfigCommon.v.InitialCellPower.v.MaxReferencePower;
cellConfig->absoluteFrequencyPointA = p_cellConfig->PhysicalLayer.v.Downlink.v.FrequencyInfoDL.v.v.R15.absoluteFrequencyPointA; cellConfig->absoluteFrequencyPointA = p_cellConfig->PhysicalLayer.v.Downlink.v.FrequencyInfoDL.v.v.R15.absoluteFrequencyPointA;
LOG_A(ENB_SS,"5G Cell configuration rece6ived for cell_id: %d Initial attenuation: %d \ if (req->Request.v.Cell.v.AddOrReconfigure.PhysicalLayer.v.Common.v.PhysicalCellId.d == true)
{
cellConfig->pci= req->Request.v.Cell.v.AddOrReconfigure.PhysicalLayer.v.Common.v.PhysicalCellId.v;
LOG_A(GNB_APP, "[SYS-GNB] is pci present:%d pci:%d \n",
req->Request.v.Cell.v.AddOrReconfigure.PhysicalLayer.v.Common.v.PhysicalCellId.d,
cellConfig->pci);
}
LOG_A(ENB_SS,"5G Cell configuration received for cell_id: %d pci:%d Initial attenuation: %d \
Max ref power: %d\n for absoluteFrequencyPointA : %d =================================== \n", Max ref power: %d\n for absoluteFrequencyPointA : %d =================================== \n",
cellConfig->header.cell_id, cellConfig->header.cell_id,
cellConfig->pci,
cellConfig->initialAttenuation, cellConfig->maxRefPower, cellConfig->initialAttenuation, cellConfig->maxRefPower,
cellConfig->absoluteFrequencyPointA); cellConfig->absoluteFrequencyPointA);
//send_to_proxy(); //send_to_proxy();
......
...@@ -31,6 +31,7 @@ typedef struct CellConfig5GReq_s ...@@ -31,6 +31,7 @@ typedef struct CellConfig5GReq_s
uint8_t initialAttenuation; uint8_t initialAttenuation;
uint16_t dl_earfcn; uint16_t dl_earfcn;
long absoluteFrequencyPointA; long absoluteFrequencyPointA;
uint16_t pci;
} CellConfig5GReq_t; } CellConfig5GReq_t;
typedef enum _sys_Type typedef enum _sys_Type
......
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