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
11c80688
Commit
11c80688
authored
Nov 25, 2021
by
rmagueta
Committed by
luis_pereira87
Nov 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build warning
parent
a718ba33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
openair2/X2AP/x2ap_eNB_handler.c
openair2/X2AP/x2ap_eNB_handler.c
+5
-4
No files found.
openair2/X2AP/x2ap_eNB_handler.c
View file @
11c80688
...
...
@@ -512,8 +512,8 @@ x2ap_eNB_handle_x2_setup_request(instance_t instance,
return
x2ap_eNB_generate_x2_setup_response
(
instance_p
,
x2ap_eNB_data
);
}
const
char
*
X2AP_
cause_str1
[
4
]
=
{
"radioNetwork"
,
"transport"
,
"protocol"
,
"misc
"
};
const
char
*
X2AP_case_str_radio
[
50
]
=
{
"
X2AP_CauseRadioNetwork_handover_desirable_for_radio_reasons"
,
const
char
*
X2AP_
ResetRequest_str
[
2
]
=
{
"X2AP_ResetRequest_IEs__value_PR_Cause"
,
"X2AP_ResetRequest_IEs__value_PR_InterfaceInstanceIndication
"
};
const
char
*
X2AP_case_str_radio
[
50
]
=
{
"X2AP_CauseRadioNetwork_handover_desirable_for_radio_reasons"
,
"X2AP_CauseRadioNetwork_time_critical_handover"
,
"X2AP_CauseRadioNetwork_resource_optimisation_handover"
,
"X2AP_CauseRadioNetwork_reduce_load_in_serving_cell"
,
...
...
@@ -617,8 +617,9 @@ x2ap_eNB_handle_x2_reset_request(instance_t instance,
X2AP_ERROR
(
"%s %d: ie is a NULL pointer
\n
"
,
__FILE__
,
__LINE__
);
return
-
1
;
}
else
{
AssertFatal
(
ie
->
value
.
present
<=
X2AP_Cause_PR_misc
&&
ie
->
value
.
present
>
0
,
"Cause value %d, is impossible
\n
"
,
ie
->
value
.
present
);
LOG_I
(
X2AP
,
"Received X2AP Reset Request with Cause Type %s
\n
"
,
X2AP_cause_str1
[
ie
->
value
.
present
-
1
]);
AssertFatal
(
ie
->
value
.
present
<=
X2AP_ResetRequest_IEs__value_PR_InterfaceInstanceIndication
&&
ie
->
value
.
present
>
0
,
"Cause value %d, is impossible
\n
"
,
ie
->
value
.
present
);
LOG_I
(
X2AP
,
"Received X2AP Reset Request with Cause Type %s
\n
"
,
X2AP_ResetRequest_str
[
ie
->
value
.
present
-
1
]);
}
X2AP_DEBUG
(
"Adding eNB to the list of associated eNBs
\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