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
zzha zzha
OpenXG-RAN
Commits
38d0dca0
Commit
38d0dca0
authored
Mar 30, 2022
by
rmagueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes
parent
ef4d8ab0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
+2
-2
No files found.
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
View file @
38d0dca0
...
...
@@ -443,7 +443,7 @@ int nr_csi_rs_ri_estimation(PHY_VARS_NR_UE *ue,
// compute the conditional number
for
(
int
sc_idx
=
0
;
sc_idx
<
NR_NB_SC_PER_RB
;
sc_idx
++
)
{
int8_t
csi_rs_estimated_denum_db
=
dB_fixed
(
nr_csi_rs_info
->
csi_rs_estimated_determ_fin
[
k
+
sc_idx
]);
int8_t
csi_rs_estimated_numer_db
=
dB_fixed
(
nr_csi_rs_info
->
csi_rs_estimated_numer_fin
[
k
+
k
]);
int8_t
csi_rs_estimated_numer_db
=
dB_fixed
(
nr_csi_rs_info
->
csi_rs_estimated_numer_fin
[
k
+
sc_idx
]);
int8_t
cond_db
=
csi_rs_estimated_numer_db
-
csi_rs_estimated_denum_db
;
if
(
cond_db
<
cond_dB_threshold
)
{
count
++
;
...
...
@@ -458,7 +458,7 @@ int nr_csi_rs_ri_estimation(PHY_VARS_NR_UE *ue,
*
rank_indicator
=
1
;
}
LOG_I
(
NR_PHY
,
"
count %i,
RI = %i
\n
"
,
*
rank_indicator
+
1
);
LOG_I
(
NR_PHY
,
"RI = %i
\n
"
,
*
rank_indicator
+
1
);
return
0
;
}
...
...
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