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
8bd70035
Commit
8bd70035
authored
Aug 17, 2017
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
second codeword only activated when -M option provided
parent
ed40b1b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+4
-9
No files found.
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
8bd70035
...
...
@@ -1384,7 +1384,7 @@ int main(int argc, char **argv)
int
two_thread_flag
=
0
;
int
DLSCH_RB_ALLOC
=
0
;
int
log_level
=
LOG_
DEBU
G
;
int
log_level
=
LOG_
WARNIN
G
;
int
dci_received
;
logInit
();
...
...
@@ -1503,6 +1503,7 @@ int main(int argc, char **argv)
case
'M'
:
mcs2
=
atoi
(
optarg
);
TB1_active
=
1
;
break
;
case
'O'
:
...
...
@@ -1762,7 +1763,7 @@ int main(int argc, char **argv)
printf
(
"-a Use AWGN channel and not multipath
\n
"
);
printf
(
"-c Number of PDCCH symbols
\n
"
);
printf
(
"-m MCS1 for TB 1
\n
"
);
printf
(
"-M MCS2 for TB 2
\n
"
);
printf
(
"-M MCS2 for TB 2
(if not present TB2 is disabled)
\n
"
);
printf
(
"-d Transmit the DCI and compute its error statistics
\n
"
);
printf
(
"-p Use extended prefix mode
\n
"
);
printf
(
"-n Number of frames to simulate
\n
"
);
...
...
@@ -2200,7 +2201,7 @@ int main(int argc, char **argv)
1
,
1
,
0
,
1
,
0
,
tpmi
,
&
num_common_dci
,
&
num_ue_spec_dci
,
...
...
@@ -2357,12 +2358,6 @@ int main(int argc, char **argv)
fflush
(
stdout
);
round
=
0
;
TB0_active
=
1
;
if
((
transmission_mode
==
3
)
||
(
transmission_mode
==
4
))
TB1_active
=
1
;
else
TB1_active
=
0
;
eNB2UE
[
0
]
->
first_run
=
1
;
UE
->
dlsch
[
subframe
&
0x1
][
eNB_id
][
0
]
->
harq_ack
[
subframe
].
ack
=
0
;
UE
->
dlsch
[
subframe
&
0x1
][
eNB_id
][
1
]
->
harq_ack
[
subframe
].
ack
=
0
;
...
...
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