Commit b237a9e1 authored by aligungr's avatar aligungr

UAC implementation

parent 0ccaa71a
//
// This file is a part of UERANSIM open source project.
// Copyright (c) 2021 ALİ GÜNGÖR.
//
// The software and all associated files are licensed under GPL-3.0
// and subject to the terms and conditions defined in LICENSE file.
//
#include "task.hpp"
#include <lib/rrc/encode.hpp>
#include <ue/nas/task.hpp>
namespace nr::ue
{
void UeRrcTask::performUac(std::shared_ptr<LightSync<UacInput, UacOutput>> &uacCtl)
{
// TODO
}
} // namespace nr::ue
...@@ -56,6 +56,10 @@ void UeRrcTask::handleNasSapMessage(NmUeNasToRrc &msg) ...@@ -56,6 +56,10 @@ void UeRrcTask::handleNasSapMessage(NmUeNasToRrc &msg)
triggerCycle(); triggerCycle();
break; break;
} }
case NmUeNasToRrc::PERFORM_UAC: {
performUac(msg.uacCtl);
break;
}
} }
} }
......
...@@ -133,6 +133,9 @@ class UeRrcTask : public NtsTask ...@@ -133,6 +133,9 @@ class UeRrcTask : public NtsTask
/* Failures */ /* Failures */
void declareRadioLinkFailure(rls::ERlfCause cause); void declareRadioLinkFailure(rls::ERlfCause cause);
void handleRadioLinkFailure(rls::ERlfCause cause); void handleRadioLinkFailure(rls::ERlfCause cause);
/* Access Control */
void performUac(std::shared_ptr<LightSync<UacInput, UacOutput>>& uacCtl);
}; };
} // namespace nr::ue } // namespace nr::ue
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