Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
UERANSIM
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
Libraries
UERANSIM
Commits
6ca3a04d
Unverified
Commit
6ca3a04d
authored
Apr 29, 2021
by
fmeisel
Committed by
GitHub
Apr 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ue.cpp
parent
9896c8a4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/ue.cpp
src/ue.cpp
+4
-4
No files found.
src/ue.cpp
View file @
6ca3a04d
...
...
@@ -117,7 +117,7 @@ static nr::ue::UeConfig *ReadConfigYaml()
SingleSlice
s
{};
s
.
sst
=
yaml
::
GetInt32
(
sNssai
,
"sst"
,
1
,
0xFF
);
if
(
yaml
::
HasField
(
sNssai
,
"sd"
))
s
.
sd
=
octet3
{
yaml
::
GetInt32
(
sNssai
,
"sd"
,
1
,
0xFFFFFF
)};
s
.
sd
=
octet3
{
yaml
::
GetInt32
(
sNssai
,
"sd"
,
0
,
0xFFFFFF
)};
result
->
initials
.
defaultConfiguredNssai
.
slices
.
push_back
(
s
);
}
}
...
...
@@ -129,7 +129,7 @@ static nr::ue::UeConfig *ReadConfigYaml()
SingleSlice
s
{};
s
.
sst
=
yaml
::
GetInt32
(
sNssai
,
"sst"
,
1
,
0xFF
);
if
(
yaml
::
HasField
(
sNssai
,
"sd"
))
s
.
sd
=
octet3
{
yaml
::
GetInt32
(
sNssai
,
"sd"
,
1
,
0xFFFFFF
)};
s
.
sd
=
octet3
{
yaml
::
GetInt32
(
sNssai
,
"sd"
,
0
,
0xFFFFFF
)};
result
->
initials
.
configuredNssai
.
slices
.
push_back
(
s
);
}
}
...
...
@@ -182,7 +182,7 @@ static nr::ue::UeConfig *ReadConfigYaml()
s
.
sNssai
=
SingleSlice
{};
s
.
sNssai
->
sst
=
yaml
::
GetInt32
(
slice
,
"sst"
,
1
,
0xFF
);
if
(
yaml
::
HasField
(
slice
,
"sd"
))
s
.
sNssai
->
sd
=
octet3
{
yaml
::
GetInt32
(
slice
,
"sd"
,
1
,
0xFFFFFF
)};
s
.
sNssai
->
sd
=
octet3
{
yaml
::
GetInt32
(
slice
,
"sd"
,
0
,
0xFFFFFF
)};
}
std
::
string
type
=
yaml
::
GetString
(
sess
,
"type"
);
...
...
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