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
629a07ad
Commit
629a07ad
authored
May 22, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
L3 RRC/NAS developments
parent
8397d4e1
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
12 deletions
+12
-12
src/ue/nas/mm/base.cpp
src/ue/nas/mm/base.cpp
+1
-1
src/ue/nas/mm/mm.hpp
src/ue/nas/mm/mm.hpp
+2
-2
src/ue/nas/sm/base.cpp
src/ue/nas/sm/base.cpp
+1
-1
src/ue/nas/sm/sm.hpp
src/ue/nas/sm/sm.hpp
+2
-2
src/ue/nas/task.hpp
src/ue/nas/task.hpp
+1
-1
src/ue/types.cpp
src/ue/types.cpp
+2
-2
src/ue/types.hpp
src/ue/types.hpp
+3
-3
No files found.
src/ue/nas/mm/base.cpp
View file @
629a07ad
...
...
@@ -54,7 +54,7 @@ static EMmState GetMmStateFromSubState(EMmSubState subState)
std
::
terminate
();
}
NasMm
::
NasMm
(
TaskBase
*
base
,
Ue
Timers
*
timers
)
:
m_base
{
base
},
m_timers
{
timers
},
m_sm
{},
m_usim
{}
NasMm
::
NasMm
(
TaskBase
*
base
,
Nas
Timers
*
timers
)
:
m_base
{
base
},
m_timers
{
timers
},
m_sm
{},
m_usim
{}
{
m_logger
=
base
->
logBase
->
makeUniqueLogger
(
base
->
config
->
getLoggerPrefix
()
+
"nas"
);
...
...
src/ue/nas/mm/mm.hpp
View file @
629a07ad
...
...
@@ -27,7 +27,7 @@ class NasMm
{
private:
TaskBase
*
m_base
;
Ue
Timers
*
m_timers
;
Nas
Timers
*
m_timers
;
std
::
unique_ptr
<
Logger
>
m_logger
;
NasSm
*
m_sm
;
Usim
*
m_usim
;
...
...
@@ -70,7 +70,7 @@ class NasMm
friend
class
UeCmdHandler
;
public:
NasMm
(
TaskBase
*
base
,
Ue
Timers
*
timers
);
NasMm
(
TaskBase
*
base
,
Nas
Timers
*
timers
);
public:
/* Base */
void
onStart
(
NasSm
*
sm
,
Usim
*
usim
);
...
...
src/ue/nas/sm/base.cpp
View file @
629a07ad
...
...
@@ -11,7 +11,7 @@
namespace
nr
::
ue
{
NasSm
::
NasSm
(
TaskBase
*
base
,
Ue
Timers
*
timers
)
:
m_base
(
base
),
m_timers
(
timers
),
m_mm
(
nullptr
)
NasSm
::
NasSm
(
TaskBase
*
base
,
Nas
Timers
*
timers
)
:
m_base
(
base
),
m_timers
(
timers
),
m_mm
(
nullptr
)
{
m_logger
=
base
->
logBase
->
makeUniqueLogger
(
base
->
config
->
getLoggerPrefix
()
+
"nas"
);
...
...
src/ue/nas/sm/sm.hpp
View file @
629a07ad
...
...
@@ -25,7 +25,7 @@ class NasSm
{
private:
TaskBase
*
m_base
;
Ue
Timers
*
m_timers
;
Nas
Timers
*
m_timers
;
std
::
unique_ptr
<
Logger
>
m_logger
;
NasMm
*
m_mm
;
...
...
@@ -35,7 +35,7 @@ class NasSm
friend
class
UeCmdHandler
;
public:
NasSm
(
TaskBase
*
base
,
Ue
Timers
*
timers
);
NasSm
(
TaskBase
*
base
,
Nas
Timers
*
timers
);
public:
/* Base */
...
...
src/ue/nas/task.hpp
View file @
629a07ad
...
...
@@ -27,7 +27,7 @@ class NasTask : public NtsTask
TaskBase
*
base
;
std
::
unique_ptr
<
Logger
>
logger
;
Ue
Timers
timers
;
Nas
Timers
timers
;
NasMm
*
mm
;
NasSm
*
sm
;
Usim
*
usim
;
...
...
src/ue/types.cpp
View file @
629a07ad
...
...
@@ -12,7 +12,7 @@
namespace
nr
::
ue
{
UeTimers
::
Ue
Timers
()
NasTimers
::
Nas
Timers
()
:
t3346
(
3346
,
true
,
INT32_MAX
),
t3396
(
3396
,
false
,
INT32_MAX
),
t3444
(
3444
,
true
,
12
*
60
*
60
),
t3445
(
3445
,
true
,
12
*
60
*
60
),
t3502
(
3502
,
true
,
12
*
60
),
t3510
(
3510
,
true
,
15
),
t3511
(
3511
,
true
,
10
),
t3512
(
3512
,
true
,
54
*
60
),
t3516
(
3516
,
true
,
30
),
t3517
(
3517
,
true
,
15
),
t3519
(
3519
,
true
,
60
),
...
...
@@ -144,7 +144,7 @@ Json ToJson(const UeConfig &v)
});
}
Json
ToJson
(
const
Ue
Timers
&
v
)
Json
ToJson
(
const
Nas
Timers
&
v
)
{
return
Json
::
Obj
({
{
"T3346"
,
ToJson
(
v
.
t3346
)},
...
...
src/ue/types.hpp
View file @
629a07ad
...
...
@@ -187,7 +187,7 @@ struct TaskBase
UeRlsTask
*
rlsTask
{};
};
struct
Ue
Timers
struct
Nas
Timers
{
nas
::
NasTimer
t3346
;
/* MM - ... */
nas
::
NasTimer
t3396
;
/* SM - ... */
...
...
@@ -210,7 +210,7 @@ struct UeTimers
nas
::
NasTimer
t3584
;
/* SM - ... */
nas
::
NasTimer
t3585
;
/* SM - ... */
Ue
Timers
();
Nas
Timers
();
};
enum
class
ERmState
...
...
@@ -545,7 +545,7 @@ Json ToJson(const EMmState &state);
Json
ToJson
(
const
EMmSubState
&
state
);
Json
ToJson
(
const
E5UState
&
state
);
Json
ToJson
(
const
UeConfig
&
v
);
Json
ToJson
(
const
Ue
Timers
&
v
);
Json
ToJson
(
const
Nas
Timers
&
v
);
Json
ToJson
(
const
ERegUpdateCause
&
v
);
Json
ToJson
(
const
EPsState
&
v
);
Json
ToJson
(
const
UePduSessionInfo
&
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