Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-AMF
Commits
6891c2a3
Commit
6891c2a3
authored
Aug 04, 2022
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
fdc269b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
src/ngap/ngapMsgs/UEContextReleaseComplete.cpp
src/ngap/ngapMsgs/UEContextReleaseComplete.cpp
+0
-11
No files found.
src/ngap/ngapMsgs/UEContextReleaseComplete.cpp
View file @
6891c2a3
...
...
@@ -155,10 +155,6 @@ void UEContextReleaseCompleteMsg::setPduSessionResourceCxtRelCplList(
const
std
::
vector
<
PDUSessionResourceCxtRelCplItem_t
>&
list
)
{
PDUSessionResourceListCxtRelCpl
m_pduSessionResourceListCxtRelCpl
=
{};
// if (pduSessionResourceListCxtRelCpl)
// PDUSessionResourceListCxtRelCpl* pduSessionResourceListCxtRelCpl = new
// PDUSessionResourceListCxtRelCpl();
std
::
vector
<
PDUSessionResourceItemCxtRelCpl
>
cxtRelCplList
;
for
(
int
i
=
0
;
i
<
list
.
size
();
i
++
)
{
...
...
@@ -217,13 +213,10 @@ bool UEContextReleaseCompleteMsg::getPduSessionResourceCxtRelCplList(
for
(
auto
&
item
:
cxtRelCplList
)
{
PDUSessionResourceCxtRelCplItem_t
rel
=
{};
PDUSessionID
pDUSessionID
=
{};
item
.
getPDUSessionResourceItemCxtRelCpl
(
pDUSessionID
);
pDUSessionID
.
getPDUSessionID
(
rel
.
pduSessionId
);
list
.
push_back
(
rel
);
}
return
true
;
}
...
...
@@ -291,11 +284,8 @@ bool UEContextReleaseCompleteMsg::decodeFromPdu(Ngap_NGAP_PDU_t* ngapMsgPdu) {
Ngap_Criticality_reject
&&
ies
->
protocolIEs
.
list
.
array
[
i
]
->
value
.
present
==
Ngap_UEContextReleaseComplete_IEs__value_PR_PDUSessionResourceListCxtRelCpl
)
{
// pduSessionResourceListCxtRelCpl =
// new PDUSessionResourceListCxtRelCpl();
PDUSessionResourceListCxtRelCpl
m_pduSessionResourceListCxtRelCpl
=
{};
if
(
!
m_pduSessionResourceListCxtRelCpl
.
decodefromPDUSessionResourceListCxtRelCpl
(
ies
->
protocolIEs
.
list
.
array
[
i
]
...
...
@@ -307,7 +297,6 @@ bool UEContextReleaseCompleteMsg::decodeFromPdu(Ngap_NGAP_PDU_t* ngapMsgPdu) {
pduSessionResourceListCxtRelCpl
=
std
::
optional
<
PDUSessionResourceListCxtRelCpl
>
{
m_pduSessionResourceListCxtRelCpl
};
}
else
{
Logger
::
ngap
().
error
(
"Decode NGAP PDUSessionResourceListCxtRelCpl IE error"
);
...
...
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