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
wangjie
OpenXG-RAN
Commits
f4b3a869
Commit
f4b3a869
authored
Feb 10, 2021
by
luis_pereira87
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fix at SIB1 decoding
parent
5a1e2b1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+1
-1
openair2/RRC/NR_UE/rrc_UE.c
openair2/RRC/NR_UE/rrc_UE.c
+4
-3
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
f4b3a869
...
...
@@ -160,7 +160,7 @@ int8_t nr_ue_decode_BCCH_DL_SCH(module_id_t module_id,
uint32_t
sibs_mask
,
uint8_t
*
pduP
,
uint32_t
pdu_len
)
{
LOG_D
(
MAC
,
"Decod
e sib1
\n
"
);
LOG_D
(
MAC
,
"Decod
ing NR-BCCH-DL-SCH-Message
\n
"
);
nr_mac_rrc_data_ind_ue
(
module_id
,
cc_id
,
gNB_index
,
NR_BCCH_DL_SCH
,
(
uint8_t
*
)
pduP
,
pdu_len
);
return
0
;
}
...
...
openair2/RRC/NR_UE/rrc_UE.c
View file @
f4b3a869
...
...
@@ -1181,13 +1181,14 @@ int8_t nr_rrc_ue_decode_NR_BCCH_DL_SCH_Message(
if
((
NR_UE_rrc_inst
[
module_id
].
Info
[
gNB_index
].
SIStatus
&
1
)
==
0
)
{
NR_SIB1_t
*
sib1
=
NR_UE_rrc_inst
[
module_id
].
sib1
[
gNB_index
];
if
(
sib1
!=
NULL
){
SEQUENCE_free
(
&
asn_DEF_NR_
BCCH_BCH_Message
,
(
void
*
)
sib1
,
1
);
SEQUENCE_free
(
&
asn_DEF_NR_
SIB1
,
(
void
*
)
sib1
,
1
);
}
sib1
=
bcch_message
->
message
.
choice
.
c1
->
choice
.
systemInformationBlockType1
;
if
(
*
(
int64_t
*
)
sib1
!=
1
)
{
if
(
g_log
->
log_component
[
RRC
].
level
>=
OAILOG_DEBUG
)
{
xer_fprint
(
stdout
,
&
asn_DEF_NR_SIB1
,
(
const
void
*
)
sib1
);
NR_UE_rrc_inst
[
module_id
].
sib1
[
gNB_index
]
=
sib1
;
if
(
g_log
->
log_component
[
NR_RRC
].
level
>=
OAILOG_DEBUG
)
{
xer_fprint
(
stdout
,
&
asn_DEF_NR_SIB1
,
(
const
void
*
)
NR_UE_rrc_inst
[
module_id
].
sib1
[
gNB_index
]);
}
LOG_I
(
NR_RRC
,
"SIB1 decoded
\n
"
);
...
...
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