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
cd80a89d
Commit
cd80a89d
authored
Dec 10, 2021
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing a bug in the modulation
parent
ab586bcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
openair1/PHY/NR_TRANSPORT/nr_prs.c
openair1/PHY/NR_TRANSPORT/nr_prs.c
+3
-3
No files found.
openair1/PHY/NR_TRANSPORT/nr_prs.c
View file @
cd80a89d
...
...
@@ -54,12 +54,12 @@ int nr_generate_prs(uint32_t **nr_gold_prs,
// QPSK modulation
for
(
int
m
=
0
;
m
<
(
12
/
prs_data
->
CombSize
)
*
prs_data
->
NumRB
;
m
++
)
{
idx
=
nr_gold_prs
[
l
][
m
]
;
idx
=
(((
nr_gold_prs
[
l
][(
m
<<
1
)
>>
5
])
>>
((
m
<<
1
)
&
0x1f
))
&
3
)
;
mod_prs
[
m
<<
1
]
=
nr_qpsk_mod_table
[
idx
<<
1
];
mod_prs
[(
m
<<
1
)
+
1
]
=
nr_qpsk_mod_table
[(
idx
<<
1
)
+
1
];
#ifdef DEBUG_PRS_MOD
printf
(
"m %d idx %d gold seq %d mod_prs %d %d
\n
"
,
m
,
idx
,
nr_gold_prs
[
l
][
m
],
mod_prs
[(
idx
<<
1
)],
mod_prs
[(
idx
<<
1
)
+
1
]);
#ifdef DEBUG_PRS_MOD
printf
(
"m %d idx %d gold seq %d mod_prs %d %d
\n
"
,
m
,
idx
,
nr_gold_prs
[
l
][
(
m
<<
1
)
>>
5
],
mod_prs
[
m
<<
1
],
mod_prs
[(
m
<<
1
)
+
1
]);
#endif
#ifdef DEBUG_PRS_MAP
...
...
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