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
6141ba21
Commit
6141ba21
authored
May 28, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
L3 RRC/NAS developments
parent
62f9ed00
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
35 deletions
+0
-35
src/ue/app/task.cpp
src/ue/app/task.cpp
+0
-13
src/ue/types.cpp
src/ue/types.cpp
+0
-10
src/ue/types.hpp
src/ue/types.hpp
+0
-12
No files found.
src/ue/app/task.cpp
View file @
6141ba21
...
...
@@ -123,19 +123,6 @@ void UeAppTask::receiveStatusUpdate(NmUeStatusUpdate &msg)
{
auto
*
session
=
msg
.
pduSession
;
UePduSessionInfo
sessionInfo
{};
sessionInfo
.
psi
=
session
->
psi
;
sessionInfo
.
apn
=
session
->
apn
;
sessionInfo
.
sNssai
=
session
->
sNssai
;
sessionInfo
.
type
=
nas
::
utils
::
EnumToString
(
session
->
sessionType
);
if
(
session
->
pduAddress
.
has_value
())
sessionInfo
.
address
=
utils
::
OctetStringToIp
(
session
->
pduAddress
->
pduAddressInformation
);
sessionInfo
.
isEmergency
=
session
->
isEmergency
;
sessionInfo
.
uplinkPending
=
false
;
//m_pduSessions[session->psi] = std::move(sessionInfo);
setupTunInterface
(
session
);
return
;
}
...
...
src/ue/types.cpp
View file @
6141ba21
...
...
@@ -285,16 +285,6 @@ Json ToJson(const EPsState &state)
}
}
Json
ToJson
(
const
UePduSessionInfo
&
v
)
{
return
Json
::
Obj
({{
"id"
,
v
.
psi
},
{
"type"
,
v
.
type
},
{
"address"
,
v
.
address
},
{
"emergency"
,
v
.
isEmergency
},
{
"apn"
,
::
ToJson
(
v
.
apn
)},
{
"s-nssai"
,
ToJson
(
v
.
sNssai
)}});
}
bool
ActiveCellInfo
::
hasValue
()
const
{
return
cellId
!=
0
;
...
...
src/ue/types.hpp
View file @
6141ba21
...
...
@@ -453,17 +453,6 @@ enum class EAutnValidationRes
SYNCHRONISATION_FAILURE
,
};
struct
UePduSessionInfo
{
int
psi
{};
std
::
string
type
{};
std
::
string
address
{};
bool
isEmergency
{};
bool
uplinkPending
{};
std
::
optional
<
std
::
string
>
apn
{};
std
::
optional
<
SingleSlice
>
sNssai
{};
};
enum
class
ERegUpdateCause
{
// when the UE detects entering a tracking area that is not in the list of tracking areas that the UE previously
...
...
@@ -577,7 +566,6 @@ Json ToJson(const UeConfig &v);
Json
ToJson
(
const
NasTimers
&
v
);
Json
ToJson
(
const
ERegUpdateCause
&
v
);
Json
ToJson
(
const
EPsState
&
v
);
Json
ToJson
(
const
UePduSessionInfo
&
v
);
Json
ToJson
(
const
EServiceReqCause
&
v
);
Json
ToJson
(
const
ERrcState
&
v
);
...
...
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