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
12252056
Commit
12252056
authored
Apr 25, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for NSSAI
parent
e7de4a97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
src/nas/ies/S_NSSAI.cpp
src/nas/ies/S_NSSAI.cpp
+11
-8
No files found.
src/nas/ies/S_NSSAI.cpp
View file @
12252056
...
@@ -140,11 +140,12 @@ int S_NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
...
@@ -140,11 +140,12 @@ int S_NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
decoded_size
++
;
decoded_size
++
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
decoded_size
++
;
a
.
sd
<<
8
;
a
.
sd
=
a
.
sd
<<
8
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
decoded_size
++
;
a
.
sd
<<
8
;
a
.
sd
=
a
.
sd
<<
8
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
a
.
sd
|=
*
(
buf
+
decoded_size
);
a
.
sd
&=
0x00ffffff
;
decoded_size
++
;
decoded_size
++
;
a
.
mHplmnSst
=
-
1
;
a
.
mHplmnSst
=
-
1
;
a
.
mHplmnSd
=
-
1
;
a
.
mHplmnSd
=
-
1
;
...
@@ -154,11 +155,12 @@ int S_NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
...
@@ -154,11 +155,12 @@ int S_NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
decoded_size
++
;
decoded_size
++
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
decoded_size
++
;
a
.
sd
<<
8
;
a
.
sd
=
a
.
sd
<<
8
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
decoded_size
++
;
a
.
sd
<<
8
;
a
.
sd
=
a
.
sd
<<
8
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
a
.
sd
|=
*
(
buf
+
decoded_size
);
a
.
sd
&=
0x00ffffff
;
decoded_size
++
;
decoded_size
++
;
a
.
mHplmnSst
=
*
(
buf
+
decoded_size
);
a
.
mHplmnSst
=
*
(
buf
+
decoded_size
);
decoded_size
++
;
decoded_size
++
;
...
@@ -169,20 +171,21 @@ int S_NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
...
@@ -169,20 +171,21 @@ int S_NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
decoded_size
++
;
decoded_size
++
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
decoded_size
++
;
a
.
sd
<<
8
;
a
.
sd
=
a
.
sd
<<
8
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
a
.
sd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
decoded_size
++
;
a
.
sd
<<
8
;
a
.
sd
=
a
.
sd
<<
8
;
a
.
sd
|=
*
(
buf
+
decoded_size
);
a
.
sd
|=
*
(
buf
+
decoded_size
);
a
.
sd
&=
0x00ffffff
;
decoded_size
++
;
decoded_size
++
;
a
.
mHplmnSst
=
*
(
buf
+
decoded_size
);
a
.
mHplmnSst
=
*
(
buf
+
decoded_size
);
decoded_size
++
;
decoded_size
++
;
a
.
mHplmnSd
|=
*
(
buf
+
decoded_size
);
a
.
mHplmnSd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
decoded_size
++
;
a
.
mHplmnSd
<<
16
;
a
.
mHplmnSd
=
a
.
mHplmnSd
<<
8
;
a
.
mHplmnSd
|=
*
(
buf
+
decoded_size
);
a
.
mHplmnSd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
decoded_size
++
;
a
.
mHplmnSd
<<
8
;
a
.
mHplmnSd
=
a
.
mHplmnSd
<<
8
;
a
.
mHplmnSd
|=
*
(
buf
+
decoded_size
);
a
.
mHplmnSd
|=
*
(
buf
+
decoded_size
);
decoded_size
++
;
decoded_size
++
;
}
break
;
}
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