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
ZhouShuya
OpenXG-RAN
Commits
f508f310
Commit
f508f310
authored
Mar 20, 2020
by
Francesco Mani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix in rbs extract for dmrs
parent
5ef2af1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
+9
-2
No files found.
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
View file @
f508f310
...
@@ -238,7 +238,8 @@ void nr_ulsch_extract_rbs_single(int **rxdataF,
...
@@ -238,7 +238,8 @@ void nr_ulsch_extract_rbs_single(int **rxdataF,
uint32_t
ul_ch0_index
=
0
;
uint32_t
ul_ch0_index
=
0
;
uint8_t
k_prime
;
uint8_t
k_prime
;
uint16_t
n
=
0
;
uint16_t
n
=
0
;
uint8_t
delta
=
0
;
uint8_t
is_dmrs_re
;
int16_t
*
rxF
,
*
rxF_ext
;
int16_t
*
rxF
,
*
rxF_ext
;
int
*
ul_ch0
,
*
ul_ch0_ext
;
int
*
ul_ch0
,
*
ul_ch0_ext
;
...
@@ -271,7 +272,13 @@ void nr_ulsch_extract_rbs_single(int **rxdataF,
...
@@ -271,7 +272,13 @@ void nr_ulsch_extract_rbs_single(int **rxdataF,
printf
(
"re = %d, symbol = %d
\n
"
,
re
,
symbol
);
printf
(
"re = %d, symbol = %d
\n
"
,
re
,
symbol
);
#endif
#endif
if
(
dmrs_symbol
!=
symbol
)
{
if
(
symbol
==
dmrs_symbol
)
is_dmrs_re
=
(
re
==
get_dmrs_freq_idx_ul
(
n
,
k_prime
,
delta
,
pusch_pdu
->
dmrs_config_type
));
else
is_dmrs_re
=
0
;
if
(
is_dmrs_re
==
0
)
{
rxF_ext
[
rxF_ext_index
]
=
(
rxF
[
((
start_re
+
re
)
*
2
)
%
(
frame_parms
->
ofdm_symbol_size
*
2
)]);
rxF_ext
[
rxF_ext_index
]
=
(
rxF
[
((
start_re
+
re
)
*
2
)
%
(
frame_parms
->
ofdm_symbol_size
*
2
)]);
rxF_ext
[
rxF_ext_index
+
1
]
=
(
rxF
[(((
start_re
+
re
)
*
2
)
+
1
)
%
(
frame_parms
->
ofdm_symbol_size
*
2
)]);
rxF_ext
[
rxF_ext_index
+
1
]
=
(
rxF
[(((
start_re
+
re
)
*
2
)
+
1
)
%
(
frame_parms
->
ofdm_symbol_size
*
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