Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
38d0dca0
Commit
38d0dca0
authored
2 years ago
by
Roberto Louro Magueta
Browse files
Options
Downloads
Patches
Plain Diff
Minor fixes
parent
ef4d8ab0
No related branches found
No related tags found
3 merge requests
!1757
Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c
,
!1630
integration_2022_wk30b
,
!1528
CSI Feedback
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
+2
-2
2 additions, 2 deletions
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
with
2 additions
and
2 deletions
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
+
2
−
2
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
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment