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
spbro
OpenXG-RAN
Commits
43a53f99
Commit
43a53f99
authored
Jul 23, 2019
by
matzakos
Committed by
magounak
Aug 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENDC X2AP: Minor correction at x2ap decoder
parent
81c5da5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
openair2/X2AP/x2ap_eNB_decoder.c
openair2/X2AP/x2ap_eNB_decoder.c
+6
-2
openair2/X2AP/x2ap_eNB_handler.c
openair2/X2AP/x2ap_eNB_handler.c
+10
-0
No files found.
openair2/X2AP/x2ap_eNB_decoder.c
View file @
43a53f99
...
...
@@ -89,6 +89,10 @@ static int x2ap_eNB_decode_successful_outcome(X2AP_X2AP_PDU_t *pdu)
X2AP_INFO
(
"x2ap_eNB_decode_successfuloutcome_message!
\n
"
);
break
;
case
X2AP_ProcedureCode_id_endcX2Setup
:
X2AP_INFO
(
"x2ap_eNB_decode_successfuloutcome_message!
\n
"
);
break
;
default:
X2AP_ERROR
(
"Unknown procedure ID (%d) for successfull outcome message
\n
"
,
(
int
)
pdu
->
choice
.
successfulOutcome
.
procedureCode
);
...
...
@@ -130,9 +134,9 @@ int x2ap_eNB_decode_pdu(X2AP_X2AP_PDU_t *pdu, const uint8_t *const buffer, uint3
length
,
0
,
0
);
if
(
asn1_xer_print
)
{
//
if (asn1_xer_print) {
xer_fprint
(
stdout
,
&
asn_DEF_X2AP_X2AP_PDU
,
pdu
);
}
//
}
if
(
dec_ret
.
code
!=
RC_OK
)
{
X2AP_ERROR
(
"Failed to decode pdu
\n
"
);
...
...
openair2/X2AP/x2ap_eNB_handler.c
View file @
43a53f99
...
...
@@ -1581,6 +1581,16 @@ x2ap_gNB_handle_ENDC_x2_setup_response(instance_t instance,
for
(
int
i
=
0
;
i
<
ie_GNB_ENDC
->
value
.
choice
.
ServedNRcellsENDCX2ManagementList
.
list
.
count
;
i
++
)
{
servedCellMember
=
(
ServedNRcellsENDCX2ManagementList__Member
*
)
ie_GNB_ENDC
->
value
.
choice
.
ServedNRcellsENDCX2ManagementList
.
list
.
array
[
i
];
x2ap_eNB_data
->
Nid_cell
[
i
]
=
servedCellMember
->
servedNRCellInfo
.
nrpCI
;
//servedCellMember->servedNRCellInfo.nrCellID.pLMN_Identity.buf[0]
X2AP_INFO
(
"TAC: %02x%02x%02x
\n
"
,
servedCellMember
->
servedNRCellInfo
.
eXtended_TAC
.
buf
[
0
],
servedCellMember
->
servedNRCellInfo
.
eXtended_TAC
.
buf
[
1
],
servedCellMember
->
servedNRCellInfo
.
eXtended_TAC
.
buf
[
2
]);
X2AP_INFO
(
"PLMN: %02x%02x%02x
\n
"
,
servedCellMember
->
servedNRCellInfo
.
nrCellID
.
pLMN_Identity
.
buf
[
0
],
servedCellMember
->
servedNRCellInfo
.
nrCellID
.
pLMN_Identity
.
buf
[
1
],
servedCellMember
->
servedNRCellInfo
.
nrCellID
.
pLMN_Identity
.
buf
[
2
]);
}
}
}
...
...
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