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
4891d600
Commit
4891d600
authored
Aug 19, 2016
by
Florian Kaltenberger
Browse files
fix in PDCCH for Alamouti coding
parent
786972a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair1/PHY/LTE_TRANSPORT/dci.c
View file @
4891d600
...
...
@@ -2086,7 +2086,6 @@ uint8_t generate_dci_top(uint8_t num_ue_spec_dci,
frame_parms
,
txdataF
,
subframe
);
wbar
[
0
]
=
&
wbar0
[
0
];
wbar
[
1
]
=
&
wbar1
[
0
];
y
[
0
]
=
&
yseq0
[
0
];
...
...
@@ -2190,15 +2189,15 @@ uint8_t generate_dci_top(uint8_t num_ue_spec_dci,
LOG_I
(
PHY
,
" PDCCH Modulation (TX diversity): REG %d
\n
"
,
i
>>
2
);
#endif
// first antenna position n -> x0
((
int16_t
*
)
&
y
[
0
][
i
])[
0
]
=
(
*
e_ptr
==
1
)
?
-
gain_lin_QPSK
:
gain_lin_QPSK
;
((
int16_t
*
)
&
y
[
0
][
i
])[
0
]
=
(
*
e_ptr
==
2
)
?
0
:
(
*
e_ptr
==
1
)
?
-
gain_lin_QPSK
:
gain_lin_QPSK
;
e_ptr
++
;
((
int16_t
*
)
&
y
[
0
][
i
])[
1
]
=
(
*
e_ptr
==
1
)
?
-
gain_lin_QPSK
:
gain_lin_QPSK
;
((
int16_t
*
)
&
y
[
0
][
i
])[
1
]
=
(
*
e_ptr
==
2
)
?
0
:
(
*
e_ptr
==
1
)
?
-
gain_lin_QPSK
:
gain_lin_QPSK
;
e_ptr
++
;
// second antenna position n -> -x1*
((
int16_t
*
)
&
y
[
1
][
i
])[
0
]
=
(
*
e_ptr
==
1
)
?
gain_lin_QPSK
:
-
gain_lin_QPSK
;
((
int16_t
*
)
&
y
[
1
][
i
])[
0
]
=
(
*
e_ptr
==
2
)
?
0
:
(
*
e_ptr
==
1
)
?
gain_lin_QPSK
:
-
gain_lin_QPSK
;
e_ptr
++
;
((
int16_t
*
)
&
y
[
1
][
i
])[
1
]
=
(
*
e_ptr
==
1
)
?
-
gain_lin_QPSK
:
gain_lin_QPSK
;
((
int16_t
*
)
&
y
[
1
][
i
])[
1
]
=
(
*
e_ptr
==
2
)
?
0
:
(
*
e_ptr
==
1
)
?
-
gain_lin_QPSK
:
gain_lin_QPSK
;
e_ptr
++
;
// fill in the rest of the ALAMOUTI precoding
...
...
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