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
7a847b86
Commit
7a847b86
authored
Apr 21, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix: translate openair ack/nack to FAPI ff_ACK/ff_NACK
parent
c64c16c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler.c
+4
-4
No files found.
openair2/LAYER2/MAC/eNB_scheduler.c
View file @
7a847b86
...
...
@@ -844,10 +844,10 @@ printf("MAC to FAPI downlink BUF DTCH %d\n", rlc_status.bytes_in_buffer);
for
(
i
=
0
;
i
<
fapi_dl_ack_nack_data
.
count
;
i
++
)
{
dlinfo
[
i
].
rnti
=
fapi_dl_ack_nack_data
.
ack
[
i
].
rnti
;
dlinfo
[
i
].
harqProcessId
=
fapi_dl_ack_nack_data
.
ack
[
i
].
harq_pid
;
dlinfo
[
i
].
nr_harqStatus
=
1
;
/* TODO: deal with more than 1 TB */
dlinfo
[
i
].
harqStatus
[
0
]
=
fapi_dl_ack_nack_data
.
ack
[
i
].
ack
[
0
];
/* TODO: more than 1 TB */
dlinfo
[
i
].
servCellIndex
=
0
;
/* TODO: get real value for the servCellIndex */
printf
(
"MAC to FAPI downlink ack/nack from PHY f/sf %d/%d rnti %x harq %d ack %d
\n
"
,
frameP
,
subframeP
,
dlinfo
[
i
].
rnti
,
dlinfo
[
i
].
harqProcessId
,
dlinfo
[
i
].
harqStatus
[
0
]);
dlinfo
[
i
].
nr_harqStatus
=
1
;
/* TODO: deal with more than 1 TB */
dlinfo
[
i
].
harqStatus
[
0
]
=
fapi_dl_ack_nack_data
.
ack
[
i
].
ack
[
0
]
?
ff_ACK
:
ff_NACK
;
/* TODO: more than 1 TB */
dlinfo
[
i
].
servCellIndex
=
0
;
/* TODO: get real value for the servCellIndex */
printf
(
"MAC to FAPI downlink ack/nack from PHY f/sf %d/%d rnti %x harq %d ack %d
\n
"
,
frameP
,
subframeP
,
dlinfo
[
i
].
rnti
,
dlinfo
[
i
].
harqProcessId
,
fapi_dl_ack_nack_data
.
ack
[
i
].
ack
[
0
]);
}
if
(
fapi_dl_ack_nack_data
.
count
)
{
dlreq
.
nr_dlInfoList
=
fapi_dl_ack_nack_data
.
count
;
...
...
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