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
22609539
Commit
22609539
authored
Nov 16, 2016
by
Elena_Lukashova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing DCI overwritinng during retransmissions.
Modifying some printouts into the file.
parent
9c652258
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
137 additions
and
62 deletions
+137
-62
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
+3
-1
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
+3
-0
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+131
-61
No files found.
openair1/PHY/LTE_TRANSPORT/dci_tools.c
View file @
22609539
...
@@ -1510,7 +1510,9 @@ int generate_eNB_dlsch_params_from_dci(int frame,
...
@@ -1510,7 +1510,9 @@ int generate_eNB_dlsch_params_from_dci(int frame,
if
((
rv2
==
1
)
&&
(
mcs2
==
0
))
{
if
((
rv2
==
1
)
&&
(
mcs2
==
0
))
{
TB1_active
=
0
;
TB1_active
=
0
;
}
}
#ifdef DEBUG_HARQ
printf
(
"RV0 = %d, RV1 = %d. MCS0 = %d, MCS1=%d
\n
"
,
rv1
,
rv2
,
mcs1
,
mcs2
);
#endif
if
(
TB0_active
&&
TB1_active
&&
tbswap
==
0
)
{
if
(
TB0_active
&&
TB1_active
&&
tbswap
==
0
)
{
dlsch0
=
dlsch
[
0
];
dlsch0
=
dlsch
[
0
];
dlsch1
=
dlsch
[
1
];
dlsch1
=
dlsch
[
1
];
...
...
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
View file @
22609539
...
@@ -149,6 +149,9 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
...
@@ -149,6 +149,9 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
codeword_TB1
=
dlsch_ue
[
1
]
->
harq_processes
[
harq_pid
]
->
codeword
;
codeword_TB1
=
dlsch_ue
[
1
]
->
harq_processes
[
harq_pid
]
->
codeword
;
dlsch0_harq
=
dlsch_ue
[
codeword_TB0
]
->
harq_processes
[
harq_pid
];
dlsch0_harq
=
dlsch_ue
[
codeword_TB0
]
->
harq_processes
[
harq_pid
];
dlsch1_harq
=
dlsch_ue
[
codeword_TB1
]
->
harq_processes
[
harq_pid
];
dlsch1_harq
=
dlsch_ue
[
codeword_TB1
]
->
harq_processes
[
harq_pid
];
#ifdef DEBUG_HARQ
printf
(
"I am assuming both CW active
\n
"
);
#endif
}
}
else
if
((
dlsch_ue
[
0
]
->
harq_processes
[
harq_pid
]
->
status
==
ACTIVE
)
&&
else
if
((
dlsch_ue
[
0
]
->
harq_processes
[
harq_pid
]
->
status
==
ACTIVE
)
&&
(
dlsch_ue
[
1
]
->
harq_processes
[
harq_pid
]
->
status
!=
ACTIVE
)
)
{
(
dlsch_ue
[
1
]
->
harq_processes
[
harq_pid
]
->
status
!=
ACTIVE
)
)
{
...
...
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
22609539
This diff is collapsed.
Click to expand it.
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