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
canghaiwuhen
OpenXG-RAN
Commits
d9a131ea
Commit
d9a131ea
authored
May 31, 2017
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing initialization in dlsim
parent
48e81dda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+10
-6
No files found.
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
d9a131ea
...
...
@@ -695,8 +695,12 @@ void fill_DCI(PHY_VARS_eNB *eNB,
}
}
}
else
if
(
eNB
->
frame_parms
.
nb_antennas_tx
==
4
)
{
}
printf
(
"TM3 needs for 4 TX antennas not implemented!
\n
"
);
exit
(
-
1
);
}
else
{
printf
(
"TM3 needs 2 or 4 TX antennas!
\n
"
);
exit
(
-
1
);
}
memcpy
(
&
dci_alloc
[
*
num_dci
].
dci_pdu
[
0
],
&
DLSCH_alloc_pdu_1
[
k
],
dci_length_bytes
);
dci_alloc
[
*
num_dci
].
dci_length
=
dci_length
;
...
...
@@ -705,7 +709,7 @@ void fill_DCI(PHY_VARS_eNB *eNB,
dci_alloc
[
*
num_dci
].
format
=
format2A
;
dump_dci
(
&
eNB
->
frame_parms
,
&
dci_alloc
[
*
num_dci
]);
printf
(
"Generating dlsch params for user %d / format 2A (%d)
\n
"
,
k
,
format2A
);
//
printf("Generating dlsch params for user %d / format 2A (%d)\n",k,format2A);
generate_eNB_dlsch_params_from_dci
(
0
,
subframe
,
&
DLSCH_alloc_pdu_1
[
0
],
...
...
@@ -846,7 +850,7 @@ void fill_DCI(PHY_VARS_eNB *eNB,
dci_alloc
[
*
num_dci
].
firstCCE
=
0
;
dump_dci
(
&
eNB
->
frame_parms
,
&
dci_alloc
[
*
num_dci
]);
printf
(
"Generating dlsch params for user %d
\n
"
,
k
);
//
printf("Generating dlsch params for user %d\n",k);
generate_eNB_dlsch_params_from_dci
(
0
,
subframe
,
&
DLSCH_alloc_pdu_1
[
0
],
...
...
@@ -866,7 +870,7 @@ void fill_DCI(PHY_VARS_eNB *eNB,
}
printf
(
"Generated DCI format 2A (Transmission Mode 3)
\n
"
);
//
printf("Generated DCI format 2A (Transmission Mode 3)\n");
break
;
case
4
:
...
...
@@ -2090,7 +2094,7 @@ int main(int argc, char **argv)
break
;
}
for
(
k
=
0
;
k
<
n_users
;
k
++
)
{
for
(
k
=
0
;
k
<
NUMBER_OF_UE_MAX
;
k
++
)
{
// Create transport channel structures for 2 transport blocks (MIMO)
for
(
i
=
0
;
i
<
2
;
i
++
)
{
eNB
->
dlsch
[
k
][
i
]
=
new_eNB_dlsch
(
Kmimo
,
8
,
Nsoft
,
N_RB_DL
,
0
,
&
eNB
->
frame_parms
);
...
...
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