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
canghaiwuhen
OpenXG-RAN
Commits
932f6017
Commit
932f6017
authored
Feb 01, 2019
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix after merge
parent
be68e1e6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
openair3/S1AP/s1ap_eNB_decoder.c
openair3/S1AP/s1ap_eNB_decoder.c
+0
-10
openair3/S1AP/s1ap_eNB_encoder.c
openair3/S1AP/s1ap_eNB_encoder.c
+0
-5
No files found.
openair3/S1AP/s1ap_eNB_decoder.c
View file @
932f6017
...
...
@@ -109,11 +109,6 @@ static int s1ap_eNB_decode_successful_outcome(S1AP_S1AP_PDU_t *pdu) {
case
S1AP_ProcedureCode_id_PathSwitchRequest
:
res
=
asn_encode_to_new_buffer
(
NULL
,
ATS_CANONICAL_XER
,
&
asn_DEF_S1AP_S1AP_PDU
,
pdu
);
message_id
=
S1AP_S1_SETUP_LOG
;
message_p
=
itti_alloc_new_message_sized
(
TASK_S1AP
,
message_id
,
res
.
result
.
encoded
+
sizeof
(
IttiMsgText
));
message_p
->
ittiMsg
.
s1ap_s1_setup_log
.
size
=
res
.
result
.
encoded
;
memcpy
(
&
message_p
->
ittiMsg
.
s1ap_s1_setup_log
.
text
,
res
.
buffer
,
res
.
result
.
encoded
);
itti_send_msg_to_task
(
TASK_UNKNOWN
,
INSTANCE_DEFAULT
,
message_p
);
free
(
res
.
buffer
);
break
;
...
...
@@ -137,11 +132,6 @@ static int s1ap_eNB_decode_unsuccessful_outcome(S1AP_S1AP_PDU_t *pdu) {
break
;
case
S1AP_ProcedureCode_id_PathSwitchRequest
:
res
=
asn_encode_to_new_buffer
(
NULL
,
ATS_CANONICAL_XER
,
&
asn_DEF_S1AP_S1AP_PDU
,
pdu
);
message_id
=
S1AP_S1_SETUP_LOG
;
message_p
=
itti_alloc_new_message_sized
(
TASK_S1AP
,
message_id
,
res
.
result
.
encoded
+
sizeof
(
IttiMsgText
));
message_p
->
ittiMsg
.
s1ap_s1_setup_log
.
size
=
res
.
result
.
encoded
;
memcpy
(
&
message_p
->
ittiMsg
.
s1ap_s1_setup_log
.
text
,
res
.
buffer
,
res
.
result
.
encoded
);
itti_send_msg_to_task
(
TASK_UNKNOWN
,
INSTANCE_DEFAULT
,
message_p
);
free
(
res
.
buffer
);
break
;
...
...
openair3/S1AP/s1ap_eNB_encoder.c
View file @
932f6017
...
...
@@ -115,11 +115,6 @@ int s1ap_eNB_encode_initiating(S1AP_S1AP_PDU_t *pdu,
case
S1AP_ProcedureCode_id_PathSwitchRequest
:
res
=
asn_encode_to_new_buffer
(
NULL
,
ATS_CANONICAL_XER
,
&
asn_DEF_S1AP_S1AP_PDU
,
pdu
);
message_id
=
S1AP_UE_CONTEXT_RELEASE_REQ_LOG
;
message_p
=
itti_alloc_new_message_sized
(
TASK_S1AP
,
message_id
,
res
.
result
.
encoded
+
sizeof
(
IttiMsgText
));
message_p
->
ittiMsg
.
s1ap_ue_context_release_req_log
.
size
=
res
.
result
.
encoded
;
memcpy
(
&
message_p
->
ittiMsg
.
s1ap_ue_context_release_req_log
.
text
,
res
.
buffer
,
res
.
result
.
encoded
);
itti_send_msg_to_task
(
TASK_UNKNOWN
,
INSTANCE_DEFAULT
,
message_p
);
free
(
res
.
buffer
);
break
;
...
...
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