Commit b0ff6730 authored by aligungr's avatar aligungr

L3 RRC/NAS developments

parent 8078dd5f
...@@ -33,7 +33,7 @@ class NasListT1 ...@@ -33,7 +33,7 @@ class NasListT1
public: public:
NasListT1(size_t sizeLimit, int64_t autoClearingPeriod) NasListT1(size_t sizeLimit, int64_t autoClearingPeriod)
: m_sizeLimit{sizeLimit}, m_autoClearingPeriod{autoClearingPeriod}, m_data{sizeLimit}, m_size{}, : 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 ...@@ -113,7 +113,7 @@ class NasListT1
private: private:
void autoClearIfNecessary() void autoClearIfNecessary()
{ {
int64_t currentTime = utils::CurrentTimeMillis(); int64_t currentTime = ::utils::CurrentTimeMillis();
if (currentTime - m_lastAutoCleared >= m_autoClearingPeriod) if (currentTime - m_lastAutoCleared >= m_autoClearingPeriod)
{ {
m_lastAutoCleared = currentTime; m_lastAutoCleared = currentTime;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
namespace nr::ue 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"); m_logger = base->logBase->makeUniqueLogger(base->config->getLoggerPrefix() + "nas");
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <lib/crypt/milenage.hpp> #include <lib/crypt/milenage.hpp>
#include <lib/nas/nas.hpp> #include <lib/nas/nas.hpp>
#include <lib/nas/timer.hpp> #include <lib/nas/timer.hpp>
#include <ue/nas/storage.hpp>
#include <ue/nas/usim/usim.hpp> #include <ue/nas/usim/usim.hpp>
#include <ue/nts.hpp> #include <ue/nts.hpp>
#include <ue/types.hpp> #include <ue/types.hpp>
...@@ -29,7 +30,8 @@ class NasMm ...@@ -29,7 +30,8 @@ class NasMm
UeTimers *m_timers; UeTimers *m_timers;
std::unique_ptr<Logger> m_logger; std::unique_ptr<Logger> m_logger;
NasSm *m_sm; NasSm *m_sm;
Usim *m_usim{}; Usim *m_usim;
MmStorage m_storage;
ERmState m_rmState; ERmState m_rmState;
ECmState m_cmState; ECmState m_cmState;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment