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
b0ff6730
Commit
b0ff6730
authored
May 17, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
L3 RRC/NAS developments
parent
8078dd5f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
src/lib/nas/storage.hpp
src/lib/nas/storage.hpp
+2
-2
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
+3
-1
No files found.
src/lib/nas/storage.hpp
View file @
b0ff6730
...
...
@@ -33,7 +33,7 @@ class NasListT1
public:
NasListT1
(
size_t
sizeLimit
,
int64_t
autoClearingPeriod
)
:
m_sizeLimit
{
sizeLimit
},
m_autoClearingPeriod
{
autoClearingPeriod
},
m_data
{
sizeLimit
},
m_size
{},
m_lastAutoCleared
{
utils
::
CurrentTimeMillis
()}
m_lastAutoCleared
{
::
utils
::
CurrentTimeMillis
()}
{
}
...
...
@@ -113,7 +113,7 @@ class NasListT1
private:
void
autoClearIfNecessary
()
{
int64_t
currentTime
=
utils
::
CurrentTimeMillis
();
int64_t
currentTime
=
::
utils
::
CurrentTimeMillis
();
if
(
currentTime
-
m_lastAutoCleared
>=
m_autoClearingPeriod
)
{
m_lastAutoCleared
=
currentTime
;
...
...
src/ue/nas/mm/base.cpp
View file @
b0ff6730
...
...
@@ -18,7 +18,7 @@
namespace
nr
::
ue
{
NasMm
::
NasMm
(
TaskBase
*
base
,
UeTimers
*
timers
)
:
m_base
{
base
},
m_timers
{
timers
},
m_sm
{
nullptr
}
NasMm
::
NasMm
(
TaskBase
*
base
,
UeTimers
*
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 @
b0ff6730
...
...
@@ -11,6 +11,7 @@
#include <lib/crypt/milenage.hpp>
#include <lib/nas/nas.hpp>
#include <lib/nas/timer.hpp>
#include <ue/nas/storage.hpp>
#include <ue/nas/usim/usim.hpp>
#include <ue/nts.hpp>
#include <ue/types.hpp>
...
...
@@ -29,7 +30,8 @@ class NasMm
UeTimers
*
m_timers
;
std
::
unique_ptr
<
Logger
>
m_logger
;
NasSm
*
m_sm
;
Usim
*
m_usim
{};
Usim
*
m_usim
;
MmStorage
m_storage
;
ERmState
m_rmState
;
ECmState
m_cmState
;
...
...
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