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
4ea2e7b1
Commit
4ea2e7b1
authored
Nov 23, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for NSSAI
parent
5afc944b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
src/nas/ies/NSSAI.cpp
src/nas/ies/NSSAI.cpp
+14
-14
No files found.
src/nas/ies/NSSAI.cpp
View file @
4ea2e7b1
...
...
@@ -145,9 +145,9 @@ int NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
a
.
sst
=
*
(
buf
+
decoded_size
);
decoded_size
++
;
length_tmp
--
;
a
.
sd
=
-
1
;
a
.
mHplmnSst
=
-
1
;
a
.
mHplmnSd
=
-
1
;
a
.
sd
=
0
;
a
.
mHplmnSst
=
0
;
a
.
mHplmnSd
=
0
;
}
break
;
case
4
:
{
decoded_size
++
;
...
...
@@ -158,16 +158,16 @@ int NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
length_tmp
--
;
a
.
sd
<<
8
;
a
.
sd
<<
=
8
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
length_tmp
--
;
a
.
sd
<<
8
;
a
.
sd
<<
=
8
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
length_tmp
--
;
a
.
mHplmnSst
=
-
1
;
a
.
mHplmnSd
=
-
1
;
a
.
mHplmnSst
=
0
;
a
.
mHplmnSd
=
0
;
}
break
;
case
5
:
{
decoded_size
++
;
...
...
@@ -178,18 +178,18 @@ int NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
length_tmp
--
;
a
.
sd
<<
8
;
a
.
sd
<<
=
8
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
length_tmp
--
;
a
.
sd
<<
8
;
a
.
sd
<<
=
8
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
length_tmp
--
;
a
.
mHplmnSst
=
*
(
buf
+
decoded_size
);
decoded_size
++
;
length_tmp
--
;
a
.
mHplmnSd
=
-
1
;
a
.
mHplmnSd
=
0
;
}
break
;
case
8
:
{
decoded_size
++
;
...
...
@@ -200,11 +200,11 @@ int NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
length_tmp
--
;
a
.
sd
<<
8
;
a
.
sd
<<
=
8
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
length_tmp
--
;
a
.
sd
<<
8
;
a
.
sd
<<
=
8
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
length_tmp
--
;
...
...
@@ -214,11 +214,11 @@ int NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
a
.
mHplmnSd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
length_tmp
--
;
a
.
mHplmnSd
<<
16
;
a
.
mHplmnSd
<<
=
8
;
a
.
mHplmnSd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
length_tmp
--
;
a
.
mHplmnSd
<<
8
;
a
.
mHplmnSd
<<
=
8
;
a
.
mHplmnSd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
length_tmp
--
;
...
...
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