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
Michael Black
OpenXG-RAN
Commits
ea3aecf4
Commit
ea3aecf4
authored
Feb 19, 2018
by
tomita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix about harq_pid calculation (harq_pid is calculated less than 0).
parent
a53e22c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+9
-4
No files found.
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
ea3aecf4
...
...
@@ -3839,10 +3839,15 @@ extract_harq(module_id_t mod_idP, int CC_idP, int UE_id,
int
M
=
ul_ACK_subframe2_M
(
fp
,
subframeP
);
for
(
m
=
0
;
m
<
M
;
m
++
){
subframe_tx
=
ul_ACK_subframe2_dl_subframe
(
fp
,
subframeP
,
m
);
if
(
frameP
==
1023
&&
subframeP
>
5
)
frame_tx
=
-
1
;
else
frame_tx
=
subframeP
<
5
?
frameP
-
1
:
frameP
;
// not formal
switch
(
cc
->
tdd_Config
->
subframeAssignment
){
case
1
:
if
(
frameP
==
0
&&
subframeP
<
4
)
frame_tx
=
0
;
else
frame_tx
=
subframeP
<
4
?
frameP
-
1
:
frameP
;
// not formal
break
;
// TODO : Other TDD Config
}
harq_pid
=
frame_subframe2_dl_harq_pid
(
cc
->
tdd_Config
,
frame_tx
,
subframe_tx
);
if
(
num_ack_nak
==
1
){
if
(
harq_indication_tdd
->
harq_data
[
0
].
bundling
.
value_0
==
1
){
//ack
...
...
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