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
b5c53383
Commit
b5c53383
authored
Jan 26, 2024
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix UE MAC configuration of SI scheduling information
parent
da5ce90d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
openair2/LAYER2/NR_MAC_UE/config_ue.c
openair2/LAYER2/NR_MAC_UE/config_ue.c
+13
-1
No files found.
openair2/LAYER2/NR_MAC_UE/config_ue.c
View file @
b5c53383
...
@@ -1393,6 +1393,18 @@ void nr_rrc_mac_config_req_reset(module_id_t module_id,
...
@@ -1393,6 +1393,18 @@ void nr_rrc_mac_config_req_reset(module_id_t module_id,
}
}
}
}
static
void
config_SI_schedulinginfo
(
NR_UE_MAC_INST_t
*
mac
,
NR_SI_SchedulingInfo_t
*
si_SchedulingInfo
)
{
if
(
si_SchedulingInfo
)
{
if
(
!
mac
->
si_SchedulingInfo
)
mac
->
si_SchedulingInfo
=
calloc
(
1
,
sizeof
(
*
mac
->
si_SchedulingInfo
));
mac
->
si_SchedulingInfo
->
si_WindowLength
=
si_SchedulingInfo
->
si_WindowLength
;
mac
->
si_SchedulingInfo
->
schedulingInfoList
=
si_SchedulingInfo
->
schedulingInfoList
;
}
else
// Need R (release if NULL)
asn1cFreeStruc
(
asn_DEF_NR_SI_SchedulingInfo
,
mac
->
si_SchedulingInfo
);
}
void
nr_rrc_mac_config_req_sib1
(
module_id_t
module_id
,
void
nr_rrc_mac_config_req_sib1
(
module_id_t
module_id
,
int
cc_idP
,
int
cc_idP
,
NR_SI_SchedulingInfo_t
*
si_SchedulingInfo
,
NR_SI_SchedulingInfo_t
*
si_SchedulingInfo
,
...
@@ -1402,7 +1414,7 @@ void nr_rrc_mac_config_req_sib1(module_id_t module_id,
...
@@ -1402,7 +1414,7 @@ void nr_rrc_mac_config_req_sib1(module_id_t module_id,
AssertFatal
(
scc
,
"SIB1 SCC should not be NULL
\n
"
);
AssertFatal
(
scc
,
"SIB1 SCC should not be NULL
\n
"
);
UPDATE_MAC_IE
(
mac
->
tdd_UL_DL_ConfigurationCommon
,
scc
->
tdd_UL_DL_ConfigurationCommon
,
NR_TDD_UL_DL_ConfigCommon_t
);
UPDATE_MAC_IE
(
mac
->
tdd_UL_DL_ConfigurationCommon
,
scc
->
tdd_UL_DL_ConfigurationCommon
,
NR_TDD_UL_DL_ConfigCommon_t
);
UPDATE_MAC_IE
(
mac
->
si_SchedulingInfo
,
si_SchedulingInfo
,
NR_SI_SchedulingInfo_t
);
config_SI_schedulinginfo
(
mac
,
si_SchedulingInfo
);
config_common_ue_sa
(
mac
,
scc
,
module_id
,
cc_idP
);
config_common_ue_sa
(
mac
,
scc
,
module_id
,
cc_idP
);
configure_common_BWP_dl
(
mac
,
configure_common_BWP_dl
(
mac
,
...
...
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