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
550dbe62
Commit
550dbe62
authored
Oct 11, 2018
by
Nick Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ResAssign in bch scheduler
parent
728b381e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
openair2/LAYER2/MAC/eNB_scheduler_bch_NB_IoT.c
openair2/LAYER2/MAC/eNB_scheduler_bch_NB_IoT.c
+1
-1
openair2/LAYER2/MAC/output_handler_NB_IoT.c
openair2/LAYER2/MAC/output_handler_NB_IoT.c
+5
-4
No files found.
openair2/LAYER2/MAC/eNB_scheduler_bch_NB_IoT.c
View file @
550dbe62
...
@@ -67,7 +67,7 @@ void schedule_sibs(eNB_MAC_INST_NB_IoT *mac_inst, uint32_t sibs_order, int start
...
@@ -67,7 +67,7 @@ void schedule_sibs(eNB_MAC_INST_NB_IoT *mac_inst, uint32_t sibs_order, int start
sibs_dci
->
type
=
1
;
sibs_dci
->
type
=
1
;
sibs_dci
->
orderIndicator
=
0
;
sibs_dci
->
orderIndicator
=
0
;
sibs_dci
->
Scheddly
=
0
;
sibs_dci
->
Scheddly
=
0
;
sibs_dci
->
ResAssign
=
mac_inst
->
rrc_config
.
sibs_NB_IoT_sched
[
sibs_order
].
si_tb
;
sibs_dci
->
ResAssign
=
8
;
sibs_dci
->
mcs
=
2
;
sibs_dci
->
mcs
=
2
;
sibs_dci
->
RepNum
=
0
;
sibs_dci
->
RepNum
=
0
;
sibs_dci
->
ndi
=
0
;
sibs_dci
->
ndi
=
0
;
...
...
openair2/LAYER2/MAC/output_handler_NB_IoT.c
View file @
550dbe62
...
@@ -228,8 +228,6 @@ int output_handler(eNB_MAC_INST_NB_IoT *mac_inst, module_id_t module_id, int CC_
...
@@ -228,8 +228,6 @@ int output_handler(eNB_MAC_INST_NB_IoT *mac_inst, module_id_t module_id, int CC_
break
;
break
;
case
NPDSCH
:
case
NPDSCH
:
LOG_D
(
MAC
,
"NB-IoT fill DL Data
\n
"
);
LOG_D
(
MAC
,
"NB-IoT fill DL Data
\n
"
);
if
(
schedule_result_list_DL
->
rnti
==
SI_RNTI
)
LOG_D
(
MAC
,
"NB-IoT fill SIB23
\n
"
);
//LOG_I(MAC,"NB-IoT fill DL Data\n");
//LOG_I(MAC,"NB-IoT fill DL Data\n");
//SCHED_info->DL_req = (nfapi_dl_config_request_t*) malloc (sizeof(nfapi_dl_config_request_t));
//SCHED_info->DL_req = (nfapi_dl_config_request_t*) malloc (sizeof(nfapi_dl_config_request_t));
//SCHED_info->DL_req->dl_config_request_body.number_pdu = 0;
//SCHED_info->DL_req->dl_config_request_body.number_pdu = 0;
...
@@ -237,6 +235,9 @@ int output_handler(eNB_MAC_INST_NB_IoT *mac_inst, module_id_t module_id, int CC_
...
@@ -237,6 +235,9 @@ int output_handler(eNB_MAC_INST_NB_IoT *mac_inst, module_id_t module_id, int CC_
dl_config_pdu
=
SCHED_info
->
DL_req
->
dl_config_request_body
.
dl_config_pdu_list
;
dl_config_pdu
=
SCHED_info
->
DL_req
->
dl_config_request_body
.
dl_config_pdu_list
;
DCI_pdu
=
schedule_result_list_DL
->
DCI_pdu
;
DCI_pdu
=
schedule_result_list_DL
->
DCI_pdu
;
if
(
schedule_result_list_DL
->
rnti
==
SI_RNTI
)
LOG_I
(
MAC
,
"frame:%d, subframe:%d NB-IoT fill SIB23 ResAssign: %d
\n
"
,
frame
,
subframe
,((
DCIFormatN1_t
*
)
DCI_pdu
)
->
ResAssign
);
SCHED_info
->
DL_req
->
dl_config_request_body
.
number_pdu
=
1
;
SCHED_info
->
DL_req
->
dl_config_request_body
.
number_pdu
=
1
;
dl_config_pdu
->
pdu_type
=
NFAPI_DL_CONFIG_NDLSCH_PDU_TYPE
;
dl_config_pdu
->
pdu_type
=
NFAPI_DL_CONFIG_NDLSCH_PDU_TYPE
;
dl_config_pdu
->
pdu_size
=
2
+
sizeof
(
nfapi_dl_config_ndlsch_pdu_rel13_t
);
dl_config_pdu
->
pdu_size
=
2
+
sizeof
(
nfapi_dl_config_ndlsch_pdu_rel13_t
);
...
...
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