Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Worker.N
openairinterface5G
Commits
a477043a
Commit
a477043a
authored
Nov 7, 2018
by
Robert Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Add some useful LOG statements
parent
6c33f790
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
openair2/ENB_APP/enb_config.c
+4
-2
4 additions, 2 deletions
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/flexran_agent_common.c
+1
-1
1 addition, 1 deletion
openair2/ENB_APP/flexran_agent_common.c
with
5 additions
and
3 deletions
openair2/ENB_APP/enb_config.c
+
4
−
2
View file @
a477043a
...
@@ -2939,13 +2939,13 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) {
...
@@ -2939,13 +2939,13 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) {
int
i
,
j
,
si_ind
;
int
i
,
j
,
si_ind
;
printf
(
"cells_to_activated %d, RRC instances %d
\n
"
,
LOG_I
(
ENB_APP
,
"cells_to_activated %d, RRC instances %d
\n
"
,
resp
->
num_cells_to_activate
,
RC
.
nb_inst
);
resp
->
num_cells_to_activate
,
RC
.
nb_inst
);
for
(
j
=
0
;
j
<
resp
->
num_cells_to_activate
;
j
++
)
{
for
(
j
=
0
;
j
<
resp
->
num_cells_to_activate
;
j
++
)
{
for
(
i
=
0
;
i
<
RC
.
nb_inst
;
i
++
)
{
for
(
i
=
0
;
i
<
RC
.
nb_inst
;
i
++
)
{
rrc_eNB_carrier_data_t
*
carrier
=
&
RC
.
rrc
[
i
]
->
carrier
[
0
];
rrc_eNB_carrier_data_t
*
carrier
=
&
RC
.
rrc
[
i
]
->
carrier
[
0
];
// identify local index of cell j by nr_cellid, plmn identity and physical cell ID
// identify local index of cell j by nr_cellid, plmn identity and physical cell ID
printf
(
"Checking cell %d, rrc inst %d : rrc->nr_cellid %lx, resp->nr_cellid %lx
\n
"
,
LOG_I
(
ENB_APP
,
"Checking cell %d, rrc inst %d : rrc->nr_cellid %lx, resp->nr_cellid %lx
\n
"
,
j
,
i
,
RC
.
rrc
[
i
]
->
nr_cellid
,
resp
->
nr_cellid
[
j
]);
j
,
i
,
RC
.
rrc
[
i
]
->
nr_cellid
,
resp
->
nr_cellid
[
j
]);
if
(
RC
.
rrc
[
i
]
->
nr_cellid
==
resp
->
nr_cellid
[
j
]
&&
if
(
RC
.
rrc
[
i
]
->
nr_cellid
==
resp
->
nr_cellid
[
j
]
&&
(
check_plmn_identity
(
carrier
,
resp
->
mcc
[
j
],
resp
->
mnc
[
j
],
resp
->
mnc_digit_length
[
j
])
>
0
&&
(
check_plmn_identity
(
carrier
,
resp
->
mcc
[
j
],
resp
->
mnc
[
j
],
resp
->
mnc_digit_length
[
j
])
>
0
&&
...
@@ -2962,6 +2962,8 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) {
...
@@ -2962,6 +2962,8 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) {
}
}
// perform MAC/L1 common configuration
// perform MAC/L1 common configuration
configure_du_mac
(
i
);
configure_du_mac
(
i
);
}
else
{
LOG_E
(
ENB_APP
,
"F1 Setup Response not matching
\n
"
);
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
openair2/ENB_APP/flexran_agent_common.c
+
1
−
1
View file @
a477043a
...
@@ -601,7 +601,7 @@ int flexran_agent_ue_config_reply(mid_t mod_id, const void *params, Protocol__Fl
...
@@ -601,7 +601,7 @@ int flexran_agent_ue_config_reply(mid_t mod_id, const void *params, Protocol__Fl
free
(
ue_config_reply_msg
);
free
(
ue_config_reply_msg
);
if
(
*
msg
!=
NULL
)
if
(
*
msg
!=
NULL
)
free
(
*
msg
);
free
(
*
msg
);
//
LOG_E(FLEXRAN_AGENT, "%s: an error occured\n", __FUNCTION__);
LOG_E
(
FLEXRAN_AGENT
,
"%s: an error occured
\n
"
,
__FUNCTION__
);
return
-
1
;
return
-
1
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment