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
9d45b49c
Commit
9d45b49c
authored
Aug 09, 2023
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not change BWP at MAC and do not free SIB1 at RRC
parent
cd6f491b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
openair2/LAYER2/NR_MAC_UE/config_ue.c
openair2/LAYER2/NR_MAC_UE/config_ue.c
+4
-1
openair2/RRC/NR_UE/rrc_UE.c
openair2/RRC/NR_UE/rrc_UE.c
+3
-2
No files found.
openair2/LAYER2/NR_MAC_UE/config_ue.c
View file @
9d45b49c
...
@@ -711,6 +711,9 @@ void nr_rrc_mac_config_req_sib1(module_id_t module_id,
...
@@ -711,6 +711,9 @@ void nr_rrc_mac_config_req_sib1(module_id_t module_id,
mac
->
si_SchedulingInfo
=
si_SchedulingInfo
;
mac
->
si_SchedulingInfo
=
si_SchedulingInfo
;
mac
->
nr_band
=
*
scc
->
downlinkConfigCommon
.
frequencyInfoDL
.
frequencyBandList
.
list
.
array
[
0
]
->
freqBandIndicatorNR
;
mac
->
nr_band
=
*
scc
->
downlinkConfigCommon
.
frequencyInfoDL
.
frequencyBandList
.
list
.
array
[
0
]
->
freqBandIndicatorNR
;
config_common_ue_sa
(
mac
,
scc
,
module_id
,
cc_idP
);
config_common_ue_sa
(
mac
,
scc
,
module_id
,
cc_idP
);
// configure BWP only if it is a SIB1 detection in non connected state (after sync)
// not if it is a periodical update of SIB1 (no change of BWP in that case)
if
(
mac
->
state
<
UE_CONNECTED
)
configure_current_BWP
(
mac
,
scc
,
NULL
);
configure_current_BWP
(
mac
,
scc
,
NULL
);
// Setup the SSB to Rach Occasionsif (cell_group_config->spCellConfig) { mapping according to the config
// Setup the SSB to Rach Occasionsif (cell_group_config->spCellConfig) { mapping according to the config
...
...
openair2/RRC/NR_UE/rrc_UE.c
View file @
9d45b49c
...
@@ -779,8 +779,9 @@ static int8_t nr_rrc_ue_decode_NR_BCCH_DL_SCH_Message(module_id_t module_id,
...
@@ -779,8 +779,9 @@ static int8_t nr_rrc_ue_decode_NR_BCCH_DL_SCH_Message(module_id_t module_id,
if
(
bcch_message
->
message
.
present
==
NR_BCCH_DL_SCH_MessageType_PR_c1
)
{
if
(
bcch_message
->
message
.
present
==
NR_BCCH_DL_SCH_MessageType_PR_c1
)
{
switch
(
bcch_message
->
message
.
choice
.
c1
->
present
)
{
switch
(
bcch_message
->
message
.
choice
.
c1
->
present
)
{
case
NR_BCCH_DL_SCH_MessageType__c1_PR_systemInformationBlockType1
:
case
NR_BCCH_DL_SCH_MessageType__c1_PR_systemInformationBlockType1
:
if
(
SI_info
->
sib1
!=
NULL
)
LOG_D
(
NR_RRC
,
"[UE %"
PRIu8
"] Decoding SIB1
\n
"
,
module_id
);
SEQUENCE_free
(
&
asn_DEF_NR_SIB1
,
(
void
*
)
SI_info
->
sib1
,
1
);
if
(
SI_info
->
sib1
)
ASN_STRUCT_FREE
(
asn_DEF_NR_SIB1
,
SI_info
->
sib1
);
NR_SIB1_t
*
sib1
=
bcch_message
->
message
.
choice
.
c1
->
choice
.
systemInformationBlockType1
;
NR_SIB1_t
*
sib1
=
bcch_message
->
message
.
choice
.
c1
->
choice
.
systemInformationBlockType1
;
SI_info
->
sib1
=
sib1
;
SI_info
->
sib1
=
sib1
;
if
(
g_log
->
log_component
[
NR_RRC
].
level
>=
OAILOG_DEBUG
)
if
(
g_log
->
log_component
[
NR_RRC
].
level
>=
OAILOG_DEBUG
)
...
...
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