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
70270250
Commit
70270250
authored
Apr 27, 2023
by
Roberto Louro Magueta
Committed by
rmagueta
Jun 26, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Select Nonlinear ML or Linear MMSE receiver
parent
917ff8e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
+9
-3
No files found.
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
View file @
70270250
...
...
@@ -1899,9 +1899,6 @@ void nr_rx_pusch(PHY_VARS_gNB *gNB,
unsigned
char
harq_pid
)
{
// Temporary flag: (true) ML receiver, (false) MMSE receiver
bool
ml_rx
=
true
;
uint8_t
aarx
,
aatx
;
uint32_t
nb_re_pusch
,
bwp_start_subcarrier
;
int
avgs
=
0
;
...
...
@@ -2002,6 +1999,15 @@ void nr_rx_pusch(PHY_VARS_gNB *gNB,
uint32_t
rxdataF_ext_offset
=
0
;
uint8_t
shift_ch_ext
=
rel15_ul
->
nrOfLayers
>
1
?
log2_approx
(
max_ch
>>
11
)
:
0
;
// Flag to select the receiver: (true) Nonlinear ML receiver, (false) Linear MMSE receiver
// By default, we are using the Nonlinear ML receiver, except
// - for 256QAM as Nonlinear ML receiver is not implemented for 256QAM
// - for 64QAM as Nonlinear ML receiver requires more processing time than MMSE, and many machines are not powerful enough
bool
ml_rx
=
true
;
if
(
rel15_ul
->
nrOfLayers
!=
2
||
rel15_ul
->
qam_mod_order
>=
6
)
{
ml_rx
=
false
;
}
int
ad_shift
=
0
;
if
(
rel15_ul
->
nrOfLayers
==
1
)
{
ad_shift
=
1
+
log2_approx
(
frame_parms
->
nb_antennas_rx
>>
2
);
...
...
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