Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
13c8931b
Commit
13c8931b
authored
Jan 25, 2018
by
Florian Kaltenberger
Browse files
bugfix in modulation
parent
a6db17ff
Changes
1
Show whitespace changes
Inline
Side-by-side
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
View file @
13c8931b
...
...
@@ -126,9 +126,10 @@ void generate_qpsk_table(void)
int
a
,
index
;
for
(
a
=-
1
;
a
<=
1
;
a
+=
2
)
for
(
a
=-
1
;
a
<=
1
;
a
+=
2
)
{
index
=
(
1
+
a
)
/
2
;
qpsk_table
[
index
]
=
-
a
*
QPSK
;
}
}
...
...
@@ -2511,10 +2512,6 @@ int dlsch_modulation(PHY_VARS_eNB* phy_vars_eNB,
switch
(
mod_order1
)
{
case
2
:
qam_table_s1
=
NULL
;
#ifdef NEW_ALLOC_RE
/* TODO: remove this code? */
allocate_REs
=
allocate_REs_in_RB
;
#endif
break
;
case
4
:
if
(
pilots
)
{
...
...
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