Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
UERANSIM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
UERANSIM
Commits
884965d4
Commit
884965d4
authored
Jun 06, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UAC implementation
parent
fd2e832f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
src/ue/rrc/access.cpp
src/ue/rrc/access.cpp
+1
-1
src/ue/types.hpp
src/ue/types.hpp
+9
-1
No files found.
src/ue/rrc/access.cpp
View file @
884965d4
...
@@ -19,7 +19,7 @@ void UeRrcTask::performUac(std::shared_ptr<LightSync<UacInput, UacOutput>> &uacC
...
@@ -19,7 +19,7 @@ void UeRrcTask::performUac(std::shared_ptr<LightSync<UacInput, UacOutput>> &uacC
auto
&
input
=
uacCtl
->
input
();
auto
&
input
=
uacCtl
->
input
();
auto
output
=
std
::
make_unique
<
UacOutput
>
();
auto
output
=
std
::
make_unique
<
UacOutput
>
();
output
->
allowed
=
true
;
// TODO
output
->
res
=
EUacResult
::
ALLOWED
;
// TODO
uacCtl
->
notifyProcessed
(
std
::
move
(
output
));
uacCtl
->
notifyProcessed
(
std
::
move
(
output
));
}
}
...
...
src/ue/types.hpp
View file @
884965d4
...
@@ -580,9 +580,17 @@ struct UacInput
...
@@ -580,9 +580,17 @@ struct UacInput
int
establishmentCause
{};
int
establishmentCause
{};
};
};
enum
class
EUacResult
{
ALLOWED
,
BARRED
,
BARRING_APPLICABLE_EXCEPT_0
,
BARRING_APPLICABLE_EXCEPT_0_2
};
struct
UacOutput
struct
UacOutput
{
{
bool
allowed
{};
EUacResult
res
{};
};
};
Json
ToJson
(
const
ECmState
&
state
);
Json
ToJson
(
const
ECmState
&
state
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment