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
e925922f
Commit
e925922f
authored
Feb 08, 2023
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup for DLNASTransport
parent
6ddb6dd2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/nas/msgs/DLNASTransport.cpp
src/nas/msgs/DLNASTransport.cpp
+5
-5
src/nas/msgs/DLNASTransport.hpp
src/nas/msgs/DLNASTransport.hpp
+1
-1
No files found.
src/nas/msgs/DLNASTransport.cpp
View file @
e925922f
...
...
@@ -51,7 +51,7 @@ void DLNASTransport::SetPayloadContainerType(uint8_t value) {
//------------------------------------------------------------------------------
void
DLNASTransport
::
SetPayloadContainer
(
std
::
vector
<
PayloadContainerEntry
>
content
)
{
const
std
::
vector
<
PayloadContainerEntry
>&
content
)
{
ie_payload_container
.
SetValue
(
content
);
}
...
...
@@ -235,7 +235,7 @@ int DLNASTransport::Decode(uint8_t* buf, int len) {
while
((
octet
!=
0x0
))
{
switch
(
octet
)
{
case
kIeiPduSessionId
:
{
Logger
::
nas_mm
().
debug
(
"Decoding IEI
(0x12)"
);
Logger
::
nas_mm
().
debug
(
"Decoding IEI
0x%x"
,
kIeiPduSessionId
);
PduSessionIdentity2
ie_pdu_session_identity_2_tmp
=
{};
if
((
decoded_result
=
ie_pdu_session_identity_2_tmp
.
Decode
(
buf
+
decoded_size
,
len
-
decoded_size
,
true
))
==
...
...
@@ -252,7 +252,7 @@ int DLNASTransport::Decode(uint8_t* buf, int len) {
}
break
;
case
kIeiAdditionalInformation
:
{
Logger
::
nas_mm
().
debug
(
"Decoding IEI
(0x24)"
);
Logger
::
nas_mm
().
debug
(
"Decoding IEI
0x%x"
,
kIeiAdditionalInformation
);
AdditionalInformation
ie_additional_information_tmp
=
{};
if
((
decoded_result
=
ie_additional_information_tmp
.
Decode
(
buf
+
decoded_size
,
len
-
decoded_size
,
true
))
==
...
...
@@ -269,7 +269,7 @@ int DLNASTransport::Decode(uint8_t* buf, int len) {
}
break
;
case
kIei5gmmCause
:
{
Logger
::
nas_mm
().
debug
(
"Decoding IEI
(0x58)"
);
Logger
::
nas_mm
().
debug
(
"Decoding IEI
0x%x"
,
kIei5gmmCause
);
_5gmmCause
ie_5gmm_cause_tmp
=
{};
if
((
decoded_result
=
ie_5gmm_cause_tmp
.
Decode
(
buf
+
decoded_size
,
len
-
decoded_size
,
true
))
==
...
...
@@ -285,7 +285,7 @@ int DLNASTransport::Decode(uint8_t* buf, int len) {
}
break
;
case
kIeiGprsTimer3BackOffTimer
:
{
Logger
::
nas_mm
().
debug
(
"Decoding IEI
(0x37)"
);
Logger
::
nas_mm
().
debug
(
"Decoding IEI
0x%x"
,
kIeiGprsTimer3BackOffTimer
);
GprsTimer3
ie_back_off_timer_value_tmp
(
kIeiGprsTimer3BackOffTimer
);
if
((
decoded_result
=
ie_back_off_timer_value_tmp
.
Decode
(
buf
+
decoded_size
,
len
-
decoded_size
,
true
))
==
...
...
src/nas/msgs/DLNASTransport.hpp
View file @
e925922f
...
...
@@ -38,7 +38,7 @@ class DLNASTransport : public NasMmPlainHeader {
void
SetPayloadContainerType
(
uint8_t
value
);
void
SetPayloadContainer
(
std
::
vector
<
PayloadContainerEntry
>
content
);
void
SetPayloadContainer
(
const
std
::
vector
<
PayloadContainerEntry
>&
content
);
void
SetPayloadContainer
(
uint8_t
*
buf
,
int
len
);
void
SetPduSessionId
(
uint8_t
value
);
...
...
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