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
alex037yang
OpenXG-RAN
Commits
f994140a
Commit
f994140a
authored
May 02, 2018
by
Bi-Ruei, Chiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix S1AP error indication message sent from MME not handled in eNB
parent
184d51c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
openair2/COMMON/s1ap_messages_def.h
openair2/COMMON/s1ap_messages_def.h
+1
-0
openair3/S1AP/s1ap_eNB_decoder.c
openair3/S1AP/s1ap_eNB_decoder.c
+16
-0
No files found.
openair2/COMMON/s1ap_messages_def.h
View file @
f994140a
...
...
@@ -38,6 +38,7 @@ MESSAGE_DEF(S1AP_E_RAB_MODIFY_RESPONSE_LOG , MESSAGE_PRIORITY_MED, IttiMsgTex
MESSAGE_DEF
(
S1AP_PAGING_LOG
,
MESSAGE_PRIORITY_MED
,
IttiMsgText
,
s1ap_paging_log
)
MESSAGE_DEF
(
S1AP_E_RAB_RELEASE_REQUEST_LOG
,
MESSAGE_PRIORITY_MED
,
IttiMsgText
,
s1ap_e_rab_release_request_log
)
MESSAGE_DEF
(
S1AP_E_RAB_RELEASE_RESPONSE_LOG
,
MESSAGE_PRIORITY_MED
,
IttiMsgText
,
s1ap_e_rab_release_response_log
)
MESSAGE_DEF
(
S1AP_E_RAB_ERROR_INDICATION_LOG
,
MESSAGE_PRIORITY_MED
,
IttiMsgText
,
s1ap_error_indication_log
)
/* eNB application layer -> S1AP messages */
MESSAGE_DEF
(
S1AP_REGISTER_ENB_REQ
,
MESSAGE_PRIORITY_MED
,
s1ap_register_enb_req_t
,
s1ap_register_enb_req
)
...
...
openair3/S1AP/s1ap_eNB_decoder.c
View file @
f994140a
...
...
@@ -168,6 +168,22 @@ static int s1ap_eNB_decode_initiating_message(s1ap_message *message,
S1AP_INFO
(
"TODO E_RABRelease nitiating message
\n
"
);
break
;
case
S1ap_ProcedureCode_id_ErrorIndication
:
ret
=
s1ap_decode_s1ap_errorindicationies
(
&
message
->
msg
.
s1ap_ErrorIndicationIEs
,
&
initiating_p
->
value
);
s1ap_xer_print_s1ap_errorindication
(
s1ap_xer__print2sp
,
message_string
,
message
);
message_id
=
S1AP_E_RAB_ERROR_INDICATION_LOG
;
message_string_size
=
strlen
(
message_string
);
message_p
=
itti_alloc_new_message_sized
(
TASK_S1AP
,
message_id
,
message_string_size
+
sizeof
(
IttiMsgText
));
message_p
->
ittiMsg
.
s1ap_e_rab_release_request_log
.
size
=
message_string_size
;
memcpy
(
&
message_p
->
ittiMsg
.
s1ap_error_indication_log
.
text
,
message_string
,
message_string_size
);
itti_send_msg_to_task
(
TASK_UNKNOWN
,
INSTANCE_DEFAULT
,
message_p
);
free
(
message_string
);
S1AP_INFO
(
"ErrorIndication initiating message
\n
"
);
break
;
default:
S1AP_ERROR
(
"Unknown procedure ID (%d) for initiating message
\n
"
,
(
int
)
initiating_p
->
procedureCode
);
...
...
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