Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
9b771880
Commit
9b771880
authored
May 26, 2021
by
luis_pereira87
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add logs for debug segmentation fault (to be reverted)
parent
334dba6c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+7
-4
No files found.
openair2/ENB_APP/enb_config.c
View file @
9b771880
...
@@ -3166,12 +3166,15 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) {
...
@@ -3166,12 +3166,15 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) {
if
(
RC
.
rrc
[
i
]
->
nr_cellid
==
resp
->
cells_to_activate
[
j
].
nr_cellid
&&
if
(
RC
.
rrc
[
i
]
->
nr_cellid
==
resp
->
cells_to_activate
[
j
].
nr_cellid
&&
(
check_plmn_identity
(
carrier
,
resp
->
cells_to_activate
[
j
].
mcc
,
resp
->
cells_to_activate
[
j
].
mnc
,
resp
->
cells_to_activate
[
j
].
mnc_digit_length
)
>
0
&&
(
check_plmn_identity
(
carrier
,
resp
->
cells_to_activate
[
j
].
mcc
,
resp
->
cells_to_activate
[
j
].
mnc
,
resp
->
cells_to_activate
[
j
].
mnc_digit_length
)
>
0
&&
resp
->
cells_to_activate
[
j
].
nrpci
==
carrier
->
physCellId
))
{
resp
->
cells_to_activate
[
j
].
nrpci
==
carrier
->
physCellId
))
{
LOG_I
(
ENB_APP
,
"Copy system information and decode it for %i number of SI
\n
"
,
resp
->
cells_to_activate
[
j
].
num_SI
);
// copy system information and decode it
// copy system information and decode it
for
(
si_ind
=
2
;
si_ind
<
resp
->
cells_to_activate
[
j
].
num_SI
+
2
;
si_ind
++
)
{
for
(
si_ind
=
2
;
si_ind
<
resp
->
cells_to_activate
[
j
].
num_SI
+
2
;
si_ind
++
)
{
//printf("SI %d size %d: ", si_ind, resp->SI_container_length[j]
[si_ind]);
printf
(
"SI %d size %d: "
,
si_ind
,
resp
->
cells_to_activate
[
j
].
SI_container_length
[
si_ind
]);
//for (int n=0;n<resp->SI_container_length[j]
[si_ind];n++)
for
(
int
n
=
0
;
n
<
resp
->
cells_to_activate
[
j
].
SI_container_length
[
si_ind
];
n
++
)
// printf("%02x ",resp->SI_container[j]
[si_ind][n]);
printf
(
"%02x "
,
resp
->
cells_to_activate
[
j
].
SI_container
[
si_ind
][
n
]);
//
printf("\n");
printf
(
"
\n
"
);
if
(
si_ind
==
6
)
si_ind
=
9
;
if
(
si_ind
==
6
)
si_ind
=
9
;
if
(
resp
->
cells_to_activate
[
j
].
SI_container
[
si_ind
]
!=
NULL
)
{
if
(
resp
->
cells_to_activate
[
j
].
SI_container
[
si_ind
]
!=
NULL
)
{
extract_and_decode_SI
(
i
,
extract_and_decode_SI
(
i
,
...
...
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