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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
6e36b540
Commit
6e36b540
authored
Sep 05, 2022
by
luis_pereira87
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix power calculation based on CSI-RS
parent
474cde3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
+1
-1
No files found.
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
View file @
6e36b540
...
...
@@ -270,7 +270,7 @@ uint32_t calc_power_csirs(const uint16_t *x, const fapi_nr_dl_config_csirs_pdu_r
continue
;
}
sum_x
=
sum_x
+
x
[
rb
-
csirs_config_pdu
->
start_rb
];
sum_x2
=
sum_x2
+
x
[
rb
]
*
x
[
rb
-
csirs_config_pdu
->
start_rb
];
sum_x2
=
sum_x2
+
x
[
rb
-
csirs_config_pdu
->
start_rb
]
*
x
[
rb
-
csirs_config_pdu
->
start_rb
];
size
++
;
}
return
sum_x2
/
size
-
(
sum_x
/
size
)
*
(
sum_x
/
size
);
...
...
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