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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG-RAN
Commits
b9d2f916
Commit
b9d2f916
authored
Jul 29, 2024
by
Roberto Rosca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added scheduling info for sib19 to sib1
parent
d994d537
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
1 deletion
+27
-1
openair2/RRC/NR/nr_rrc_config.c
openair2/RRC/NR/nr_rrc_config.c
+27
-1
No files found.
openair2/RRC/NR/nr_rrc_config.c
View file @
b9d2f916
...
...
@@ -2244,6 +2244,29 @@ NR_BCCH_DL_SCH_Message_t *get_SIB1_NR(const NR_ServingCellConfigCommon_t *scc,
asn1cSeqAdd(&sib1->si_SchedulingInfo->schedulingInfoList.list,schedulingInfo);*/
// sib19 scheduling info
// this condition ensures ntn-config is initialized
if
(
scc
->
ext2
&&
scc
->
ext2
->
ntn_Config_r17
)
{
sib1
->
nonCriticalExtension
=
CALLOC
(
1
,
sizeof
(
struct
NR_SIB1_v1610_IEs
));
sib1
->
nonCriticalExtension
->
nonCriticalExtension
=
CALLOC
(
1
,
sizeof
(
struct
NR_SIB1_v1630_IEs
));
sib1
->
nonCriticalExtension
->
nonCriticalExtension
->
nonCriticalExtension
=
CALLOC
(
1
,
sizeof
(
struct
NR_SIB1_v1700_IEs
));
struct
NR_SI_SchedulingInfo_v1700
*
sib_v17_scheduling_info
=
CALLOC
(
1
,
sizeof
(
struct
NR_SI_SchedulingInfo_v1700
));
struct
NR_SchedulingInfo2_r17
*
si_schedulinginfo2_r17
=
CALLOC
(
1
,
sizeof
(
struct
NR_SchedulingInfo2_r17
));
si_schedulinginfo2_r17
->
si_BroadcastStatus_r17
=
NR_SchedulingInfo2_r17__si_BroadcastStatus_r17_broadcasting
;
si_schedulinginfo2_r17
->
si_WindowPosition_r17
=
2
;
si_schedulinginfo2_r17
->
si_Periodicity_r17
=
NR_SchedulingInfo2_r17__si_Periodicity_r17_rf16
;
struct
NR_SIB_TypeInfo_v1700
*
sib_type_info
=
CALLOC
(
1
,
sizeof
(
struct
NR_SIB_TypeInfo_v1700
));
sib_type_info
->
sibType_r17
.
present
=
NR_SIB_TypeInfo_v1700__sibType_r17_PR_type1_r17
;
sib_type_info
->
sibType_r17
.
choice
.
type1_r17
=
NR_SIB_TypeInfo_v1700__sibType_r17__type1_r17_sibType19
;
asn1cSeqAdd
(
&
si_schedulinginfo2_r17
->
sib_MappingInfo_r17
.
list
,
sib_type_info
);
asn1cSeqAdd
(
&
sib_v17_scheduling_info
->
schedulingInfoList2_r17
.
list
,
si_schedulinginfo2_r17
);
sib1
->
nonCriticalExtension
->
nonCriticalExtension
->
nonCriticalExtension
->
si_SchedulingInfo_v1700
=
sib_v17_scheduling_info
;
}
// servingCellConfigCommon
asn1cCalloc
(
sib1
->
servingCellConfigCommon
,
ServCellCom
);
NR_BWP_DownlinkCommon_t
*
initialDownlinkBWP
=
&
ServCellCom
->
downlinkConfigCommon
.
initialDownlinkBWP
;
...
...
@@ -2434,7 +2457,10 @@ NR_BCCH_DL_SCH_Message_t *get_SIB1_NR(const NR_ServingCellConfigCommon_t *scc,
// nonCriticalExtension
// TODO: add nonCriticalExtension
//xer_fprint(stdout, &asn_DEF_NR_SIB1, (const void*)sib1_message->message.choice.c1->choice.systemInformationBlockType1);
if
(
LOG_DEBUGFLAG
(
DEBUG_ASN1
))
{
xer_fprint
(
stdout
,
&
asn_DEF_NR_SIB1
,
sib1_message
->
message
.
choice
.
c1
->
choice
.
systemInformationBlockType1
);
}
return
sib1_message
;
}
...
...
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