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
39e7e091
Commit
39e7e091
authored
Sep 13, 2023
by
Tsung-Yu Chan
Committed by
Tsung Yu Chan
Sep 25, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix / set the output shift to correct value
parent
090ac487
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
+3
-2
No files found.
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
View file @
39e7e091
...
...
@@ -1876,10 +1876,11 @@ int nr_rx_pusch_tp(PHY_VARS_gNB *gNB,
for
(
int
aarx
=
0
;
aarx
<
frame_parms
->
nb_antennas_rx
;
aarx
++
)
avgs
=
cmax
(
avgs
,
avg
[
aatx
*
frame_parms
->
nb_antennas_rx
+
aarx
]);
pusch_vars
->
log2_maxh
=
(
log2_approx
(
avgs
)
>>
1
);
if
(
rel15_ul
->
nrOfLayers
==
2
&&
rel15_ul
->
qam_mod_order
<
6
)
if
(
rel15_ul
->
nrOfLayers
==
2
&&
rel15_ul
->
qam_mod_order
>=
6
)
pusch_vars
->
log2_maxh
=
(
log2_approx
(
avgs
)
>>
1
)
-
3
;
// for MMSE
else
else
if
(
rel15_ul
->
nrOfLayers
==
1
)
pusch_vars
->
log2_maxh
=
(
log2_approx
(
avgs
)
>>
1
)
+
1
+
log2_approx
(
frame_parms
->
nb_antennas_rx
>>
2
);
if
(
pusch_vars
->
log2_maxh
<
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