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
常顺宇
OpenXG-RAN
Commits
cdb7b298
Commit
cdb7b298
authored
6 years ago
by
Nick Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add table for flexible scheduling for sib1
parent
d580bcea
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
5 deletions
+25
-5
openair1/SCHED/IF_Module_L1_primitives_NB_IoT.c
openair1/SCHED/IF_Module_L1_primitives_NB_IoT.c
+1
-1
openair2/LAYER2/MAC/config_NB_IoT.c
openair2/LAYER2/MAC/config_NB_IoT.c
+23
-3
openair2/LAYER2/MAC/output_handler_NB_IoT.c
openair2/LAYER2/MAC/output_handler_NB_IoT.c
+1
-1
No files found.
openair1/SCHED/IF_Module_L1_primitives_NB_IoT.c
View file @
cdb7b298
...
...
@@ -187,7 +187,7 @@ void handle_nfapi_dlsch_pdu_NB_IoT(PHY_VARS_eNB *eNB,
//Independently if we have the PDU or not (first transmission or repetition) the process is activated for triggering the ndlsch_procedure
//LOG_I(PHY,"ACTIVE_NB_IoT\n");
ndlsch_harq23
->
status
=
ACTIVE_NB_IoT
;
LOG_
I
(
PHY
,
"A NB-handle_nfapi_dlsch_pdu_NB_IoT SIB23
\n
"
);
LOG_
D
(
PHY
,
"A NB-handle_nfapi_dlsch_pdu_NB_IoT SIB23
\n
"
);
}
//ue specific data or RAR (we already have received the DCI for this)
...
...
This diff is collapsed.
Click to expand it.
openair2/LAYER2/MAC/config_NB_IoT.c
View file @
cdb7b298
...
...
@@ -364,6 +364,8 @@ void rrc_mac_config_req_NB_IoT(
mac_config
=
&
mac_inst
->
rrc_config
;
long
schedulingInfoSIB1
=
carrier
->
mib_NB_IoT
.
message
.
schedulingInfoSIB1_r13
;
if
(
ded_flag
==
0
)
{
}
else
...
...
@@ -422,11 +424,29 @@ void rrc_mac_config_req_NB_IoT(
if
(
sib1_NB_IoT
!=
NULL
)
{
mac_config
->
sib1_NB_IoT_sched_config
.
repetitions
=
8
;
if
(
schedulingInfoSIB1
<=
11
)
{
// the value come from table 16.4.1.3-3 from TS 36.213
switch
(
schedulingInfoSIB1
%
3
)
{
case
0
:
mac_config
->
sib1_NB_IoT_sched_config
.
repetitions
=
4
;
// the value come from table 16.4.1.3-4 from TS 36.213
mac_config
->
sib1_NB_IoT_sched_config
.
starting_rf
=
(
carrier
->
physCellId
%
4
)
*
16
;
break
;
case
1
:
mac_config
->
sib1_NB_IoT_sched_config
.
repetitions
=
8
;
mac_config
->
sib1_NB_IoT_sched_config
.
starting_rf
=
(
carrier
->
physCellId
%
2
)
*
16
;
break
;
case
2
:
mac_config
->
sib1_NB_IoT_sched_config
.
repetitions
=
16
;
mac_config
->
sib1_NB_IoT_sched_config
.
starting_rf
=
carrier
->
physCellId
%
2
;
break
;
}
}
else
LOG_E
(
MAC
,
"SchedulinginfoSIB1 value not available!
\n
"
);
//printf("[ASN Debug] SI P: %ld\n",sib1_NB_IoT->schedulingInfoList_r13.list.array[0]->si_Periodicity_r13);
mac_config
->
sib1_NB_IoT_sched_config
.
starting_rf
=
0
;
mac_config
->
si_window_length
=
ms160
;
...
...
This diff is collapsed.
Click to expand it.
openair2/LAYER2/MAC/output_handler_NB_IoT.c
View file @
cdb7b298
...
...
@@ -236,7 +236,7 @@ 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
;
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
);
LOG_
D
(
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
;
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
);
...
...
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