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
4a841aa8
Commit
4a841aa8
authored
Apr 17, 2019
by
Khalid Ahmed
Committed by
Thomas Schlichter
Jun 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing pusch_transform_precoding
parent
d9abc574
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
+6
-6
No files found.
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
View file @
4a841aa8
...
...
@@ -89,7 +89,7 @@ void nr_pusch_codeword_scrambling(uint8_t *in,
void
pusch_transform_precoding
(
NR_UE_ULSCH_t
*
ulsch
,
NR_DL_FRAME_PARMS
*
frame_parms
,
int
harq_pid
){
NR_UL_UE_HARQ_t
*
harq_process
;
int
16_t
x
[
8192
]
=
{
0
}
;
// 8192 is the maximum number of fft bins
int
x
[
8192
]
__attribute__
((
aligned
(
32
)))
;
// 8192 is the maximum number of fft bins
uint32_t
*
dmod
;
int
sc
,
pusch_symb
,
pusch_sc
;
int
symb
,
k
,
l
,
num_mod_symb
;
...
...
@@ -152,12 +152,12 @@ void pusch_transform_precoding(NR_UE_ULSCH_t *ulsch, NR_DL_FRAME_PARMS *frame_pa
for
(
sc
=
0
;
sc
<
pusch_sc
;
sc
++
){
x
[
sc
*
2
]
=
(
symb
<
num_mod_symb
)
?
(
AMP
*
((
int16_t
*
)
dmod
)[
symb
*
2
])
>>
15
:
0
;
x
[
sc
*
2
+
1
]
=
(
symb
<
num_mod_symb
)
?
(
AMP
*
((
int16_t
*
)
dmod
)[
symb
*
2
+
1
])
>>
15
:
0
;
((
int16_t
*
)
x
)
[
sc
*
2
]
=
(
symb
<
num_mod_symb
)
?
(
AMP
*
((
int16_t
*
)
dmod
)[
symb
*
2
])
>>
15
:
0
;
((
int16_t
*
)
x
)
[
sc
*
2
+
1
]
=
(
symb
<
num_mod_symb
)
?
(
AMP
*
((
int16_t
*
)
dmod
)[
symb
*
2
+
1
])
>>
15
:
0
;
#ifdef DEBUG_SCFDMA
fprintf
(
debug_scfdma
,
"x[%d] = %d
\n
"
,
symb
*
2
,
x
[
sc
*
2
]
);
fprintf
(
debug_scfdma
,
"x[%d] = %d
\n
"
,
symb
*
2
+
1
,
x
[
sc
*
2
+
1
]
);
fprintf
(
debug_scfdma
,
"x[%d] = %d
\n
"
,
symb
*
2
,
((
int16_t
*
)
x
)
[
sc
*
2
]
);
fprintf
(
debug_scfdma
,
"x[%d] = %d
\n
"
,
symb
*
2
+
1
,
((
int16_t
*
)
x
)
[
sc
*
2
+
1
]
);
#endif
symb
++
;
...
...
@@ -165,7 +165,7 @@ void pusch_transform_precoding(NR_UE_ULSCH_t *ulsch, NR_DL_FRAME_PARMS *frame_pa
}
dft
(
x
,
(
int16_t
*
)
&
ulsch
->
y
[
l
*
pusch_sc
],
1
);
dft
(
(
int16_t
*
)
x
,
(
int16_t
*
)
&
ulsch
->
y
[
l
*
pusch_sc
],
1
);
}
...
...
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