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
f6e750fb
Commit
f6e750fb
authored
Nov 25, 2015
by
lukashov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature-59-tm4: fixing dci_tools.c tmpi0 all channels all mod orders works
parent
95762833
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
+7
-0
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+4
-4
No files found.
openair1/PHY/LTE_TRANSPORT/dci_tools.c
View file @
f6e750fb
...
...
@@ -4765,6 +4765,13 @@ int generate_ue_dlsch_params_from_dci(int frame,
dlsch0_harq
->
rvidx
=
rv1
;
dlsch1_harq
->
rvidx
=
rv2
;
// assume both TBs are active
dlsch0_harq
->
Nl
=
1
;
dlsch1_harq
->
Nl
=
1
;
dlsch0
->
active
=
1
;
dlsch1
->
active
=
1
;
// check if either TB is disabled (see 36-213 V8.6 p. 26)
if
((
dlsch0_harq
->
rvidx
==
1
)
&&
(
dlsch0_harq
->
mcs
==
0
))
{
...
...
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
f6e750fb
...
...
@@ -410,7 +410,7 @@ int main(int argc, char **argv)
case
'M'
:
mcs2
=
atoi
(
optarg
);
i_mod
=
get_Qm
(
mcs2
);
/// think here again!!!
//
i_mod = get_Qm(mcs2); /// think here again!!!
break
;
case
't'
:
...
...
@@ -2747,9 +2747,9 @@ n(tikz_fname,"w");
k
,
cw
,
rate
,
rate
*
get_Qm
(
PHY_vars_eNB
->
dlsch_eNB
[
k
][
cw
]
->
harq_processes
[
0
]
->
mcs
),
coded_bits_per_codeword
,
tbs
,
get_Qm
(
PHY_vars_eNB
->
dlsch_eNB
[
k
][
cw
]
->
harq_processes
[
0
]
->
mcs
),
//changed dlsch_eNB[k][0]
get_Qm
(
PHY_vars_eNB
->
dlsch_eNB
[
k
][
cw
]
->
harq_processes
[
0
]
->
mcs
),
num_pdcch_symbols
,
PHY_vars_eNB
->
dlsch_eNB
[
k
][
cw
]
->
harq_processes
[
0
]
->
round
);
//changed dlsch_eNB[k][0]
PHY_vars_eNB
->
dlsch_eNB
[
k
][
cw
]
->
harq_processes
[
0
]
->
round
);
// use the PMI from previous trial
if
(
DLSCH_alloc_pdu2_1E
[
0
].
tpmi
==
5
)
{
...
...
@@ -3521,7 +3521,7 @@ n(tikz_fname,"w");
num_pdcch_symbols
,
0
,
subframe
);
PHY_vars_UE
->
dlsch_ue
[
0
][
cw
]
->
harq_processes
[
PHY_vars_UE
->
dlsch_ue
[
0
][
cw
]
->
current_harq_pid
]
->
G
=
coded_bits_per_codeword
;
PHY_vars_UE
->
dlsch_ue
[
0
][
cw
]
->
harq_processes
[
PHY_vars_UE
->
dlsch_ue
[
0
][
cw
]
->
current_harq_pid
]
->
Qm
=
get_Qm
(
PHY_vars_eNB
->
dlsch_eNB
[
0
][
cw
]
->
harq_processes
[
0
]
->
mcs
);
if
(
n_frames
==
1
)
{
printf
(
"Kmimo=%d, cw=%d, G=%d, TBS=%d
\n
"
,
Kmimo
,
cw
,
coded_bits_per_codeword
,
PHY_vars_UE
->
dlsch_ue
[
0
][
cw
]
->
harq_processes
[
PHY_vars_UE
->
dlsch_ue
[
0
][
cw
]
->
current_harq_pid
]
->
TBS
);
...
...
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