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
wangjie
OpenXG-RAN
Commits
22be6eb5
Commit
22be6eb5
authored
Sep 17, 2019
by
wujing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build error in dlsim
parent
8ba3b117
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
openair1/SCHED/fapi_l1.c
openair1/SCHED/fapi_l1.c
+18
-14
No files found.
openair1/SCHED/fapi_l1.c
View file @
22be6eb5
...
...
@@ -855,15 +855,19 @@ void schedule_response(Sched_Rsp_t *Sched_INFO) {
if
(
1
)
{
//sdu != NULL)
if
(
NFAPI_MODE
!=
NFAPI_MODE_VNF
)
{
if
(
sdu
!=
NULL
)
{
LTE_TDD_Config_t
*
tdd_Config
=
NULL
;
if
(
fp
->
frame_type
==
TDD
)
{
tdd_Config
=
CALLOC
(
1
,
sizeof
(
struct
LTE_TDD_Config
));
tdd_Config
->
subframeAssignment
=
fp
->
tdd_config
;
tdd_Config
->
specialSubframePatterns
=
fp
->
tdd_config_S
;
LTE_eNB_PDCCH
*
pdcch_vars
=
&
eNB
->
pdcch_vars
[
NFAPI_SFNSF2SF
(
DL_req
->
sfn_sf
)
&
1
];
uint8_t
harq_pid_dl
=
0
;
uint8_t
k
;
for
(
k
=
0
;
k
<
pdcch_vars
->
num_dci
;
k
++
){
if
(
pdcch_vars
->
dci_alloc
[
k
].
rnti
==
dlsch_pdu_rel8
->
rnti
){
harq_pid_dl
=
pdcch_vars
->
dci_alloc
[
pdcch_vars
->
num_dci
-
1
].
harq_pid
;
break
;
}
}
uint8_t
harq_pid_dl
=
frame_subframe2_dl_harq_pid
(
tdd_Config
,
NFAPI_SFNSF2SFN
(
DL_req
->
sfn_sf
),
NFAPI_SFNSF2SF
(
DL_req
->
sfn_sf
));
if
(
k
==
pdcch_vars
->
num_dci
){
LOG_E
(
PHY
,
"schedule_response not find dl harq_pid rnti %x frame %d subframe %d
\n
"
,
dlsch_pdu_rel8
->
rnti
,
NFAPI_SFNSF2SFN
(
DL_req
->
sfn_sf
),
NFAPI_SFNSF2SF
(
DL_req
->
sfn_sf
));
}
else
{
if
(
harq_pid_dl
>=
0
&&
harq_pid_dl
<
8
)
{
memset
(
dl_pdus
[
harq_pid_dl
][
i
],
0
,
sizeof
(
uint8_t
)
*
9422
);
memcpy
(
dl_pdus
[
harq_pid_dl
][
i
],
TX_req
->
tx_request_body
.
tx_pdu_list
[
pdu_index
].
segments
[
0
].
segment_data
,
TX_req
->
tx_request_body
.
tx_pdu_list
[
pdu_index
].
segments
[
0
].
segment_length
);
...
...
@@ -871,7 +875,7 @@ void schedule_response(Sched_Rsp_t *Sched_INFO) {
}
else
{
LOG_E
(
PHY
,
"schedule_response illegal harq_pid %d
\n
"
,
harq_pid_dl
);
}
}
}
else
{
handle_nfapi_dlsch_pdu
(
eNB
,
NFAPI_SFNSF2SFN
(
DL_req
->
sfn_sf
),
NFAPI_SFNSF2SF
(
DL_req
->
sfn_sf
),
proc
,
dl_config_pdu
,
dlsch_pdu_rel8
->
transport_blocks
-
1
,
sdu
);
}
...
...
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