Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
76730474
Commit
76730474
authored
Dec 22, 2022
by
Vaibhav Shrivastava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pci fix
parent
3cc7609e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
openair3/SS/ss_gNB_sys_task.c
openair3/SS/ss_gNB_sys_task.c
+10
-1
openair3/SS/ss_gNB_sys_task.h
openair3/SS/ss_gNB_sys_task.h
+1
-0
No files found.
openair3/SS/ss_gNB_sys_task.c
View file @
76730474
...
@@ -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();
...
...
openair3/SS/ss_gNB_sys_task.h
View file @
76730474
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment