|
|
@ -14,7 +14,6 @@
|
|
|
|
#define SRSUE_NAS_EMM_STATE_H
|
|
|
|
#define SRSUE_NAS_EMM_STATE_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "srsran/srslog/srslog.h"
|
|
|
|
#include "srsran/srslog/srslog.h"
|
|
|
|
#include <atomic>
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
|
|
namespace srsue {
|
|
|
|
namespace srsue {
|
|
|
@ -77,10 +76,10 @@ public:
|
|
|
|
const std::string get_full_state_text();
|
|
|
|
const std::string get_full_state_text();
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
std::atomic<state_t> state{state_t::null}; // The GW might require to know the NAS state from another thread
|
|
|
|
state_t state = state_t::null;
|
|
|
|
std::atomic<deregistered_substate_t> deregistered_substate{deregistered_substate_t::null};
|
|
|
|
deregistered_substate_t deregistered_substate = deregistered_substate_t::null;
|
|
|
|
std::atomic<registered_substate_t> registered_substate{registered_substate_t::null};
|
|
|
|
registered_substate_t registered_substate = registered_substate_t::null;
|
|
|
|
srslog::basic_logger& logger = srslog::fetch_basic_logger("NAS");
|
|
|
|
srslog::basic_logger& logger = srslog::fetch_basic_logger("NAS");
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const char* emm_state_text(emm_state_t::state_t type);
|
|
|
|
const char* emm_state_text(emm_state_t::state_t type);
|
|
|
|