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
lizhongxiao
OpenXG-RAN
Commits
267dee14
Commit
267dee14
authored
Aug 04, 2017
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some minor additions to previous commit
parent
4f535eec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
+17
-2
No files found.
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
View file @
267dee14
...
...
@@ -2311,17 +2311,32 @@ int dlsch_modulation(PHY_VARS_eNB* phy_vars_eNB,
lprime
=-
1
;
}
/*NOTE: the antenna port 7 and 8 should be replaced with 7+dlsch0_harq_first_layer and dlsch1_harq->first_layer below*/
if
(
dlsch0
!=
NULL
)
{
for
(
aa
=
0
;
aa
<
frame_parms
->
nb_antennas_tx
;
aa
++
){
for
(
i
=
0
;
i
<
frame_parms
->
N_RB_DL
*
12
/
2
;
i
++
){
(
phy_vars_eNB
->
common_vars
.
beam_weights
[
0
][
7
][
aa
])[
i
+
1
]
=
(
dlsch0
->
ue_spec_bf_weights
[
0
][
aa
])[
i
+
frame_parms
->
N_RB_DL
*
12
/
2
]
;
}
}
for
(
aa
=
0
;
aa
<
frame_parms
->
nb_antennas_tx
;
aa
++
){
for
(
i
=
0
;
i
<
frame_parms
->
N_RB_DL
*
12
/
2
;
i
++
){
(
phy_vars_eNB
->
common_vars
.
beam_weights
[
0
][
7
][
aa
])[
i
+
1
]
=
(
phy_vars_eNB
->
dlsch
[
0
][
0
]
->
ue_spec_bf_weights
[
0
][
aa
])[
i
+
frame_parms
->
N_RB_DL
*
12
/
2
]
;
(
phy_vars_eNB
->
common_vars
.
beam_weights
[
0
][
7
][
aa
])[
i
+
frame_parms
->
first_carrier_offset
]
=
(
dlsch0
->
ue_spec_bf_weights
[
0
][
aa
])[
i
]
;
}
}
}
if
(
dlsch1
!=
NULL
)
{
for
(
aa
=
0
;
aa
<
frame_parms
->
nb_antennas_tx
;
aa
++
){
for
(
i
=
0
;
i
<
frame_parms
->
N_RB_DL
*
12
/
2
;
i
++
){
(
phy_vars_eNB
->
common_vars
.
beam_weights
[
0
][
7
][
aa
])[
i
+
frame_parms
->
first_carrier_offset
]
=
(
phy_vars_eNB
->
dlsch
[
0
][
0
]
->
ue_spec_bf_weights
[
0
][
aa
])[
i
]
;
(
phy_vars_eNB
->
common_vars
.
beam_weights
[
0
][
8
][
aa
])[
i
+
1
]
=
(
dlsch1
->
ue_spec_bf_weights
[
0
][
aa
])[
i
+
frame_parms
->
N_RB_DL
*
12
/
2
]
;
}
}
for
(
aa
=
0
;
aa
<
frame_parms
->
nb_antennas_tx
;
aa
++
){
for
(
i
=
0
;
i
<
frame_parms
->
N_RB_DL
*
12
/
2
;
i
++
){
(
phy_vars_eNB
->
common_vars
.
beam_weights
[
0
][
8
][
aa
])[
i
+
frame_parms
->
first_carrier_offset
]
=
(
dlsch1
->
ue_spec_bf_weights
[
0
][
aa
])[
i
]
;
}
}
}
}
Ns
=
2
*
subframe_offset
+
(
l
>=
(
nsymb
>>
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