Commit 884965d4 authored by aligungr's avatar aligungr

UAC implementation

parent fd2e832f
......@@ -19,7 +19,7 @@ void UeRrcTask::performUac(std::shared_ptr<LightSync<UacInput, UacOutput>> &uacC
auto &input = uacCtl->input();
auto output = std::make_unique<UacOutput>();
output->allowed = true; // TODO
output->res = EUacResult::ALLOWED; // TODO
uacCtl->notifyProcessed(std::move(output));
}
......
......@@ -580,9 +580,17 @@ struct UacInput
int establishmentCause{};
};
enum class EUacResult
{
ALLOWED,
BARRED,
BARRING_APPLICABLE_EXCEPT_0,
BARRING_APPLICABLE_EXCEPT_0_2
};
struct UacOutput
{
bool allowed{};
EUacResult res{};
};
Json ToJson(const ECmState &state);
......
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