Commit 6141ba21 authored by aligungr's avatar aligungr

L3 RRC/NAS developments

parent 62f9ed00
......@@ -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;
}
......
......@@ -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;
......
......@@ -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);
......
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