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
fd2e832f
Commit
fd2e832f
authored
Jun 06, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UAC implementation
parent
b237a9e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
src/ue/rrc/access.cpp
src/ue/rrc/access.cpp
+6
-1
src/ue/rrc/sap.cpp
src/ue/rrc/sap.cpp
+2
-1
src/ue/types.hpp
src/ue/types.hpp
+1
-1
No files found.
src/ue/rrc/access.cpp
View file @
fd2e832f
...
@@ -16,7 +16,12 @@ namespace nr::ue
...
@@ -16,7 +16,12 @@ namespace nr::ue
void
UeRrcTask
::
performUac
(
std
::
shared_ptr
<
LightSync
<
UacInput
,
UacOutput
>>
&
uacCtl
)
void
UeRrcTask
::
performUac
(
std
::
shared_ptr
<
LightSync
<
UacInput
,
UacOutput
>>
&
uacCtl
)
{
{
// TODO
auto
&
input
=
uacCtl
->
input
();
auto
output
=
std
::
make_unique
<
UacOutput
>
();
output
->
allowed
=
true
;
// TODO
uacCtl
->
notifyProcessed
(
std
::
move
(
output
));
}
}
}
// namespace nr::ue
}
// namespace nr::ue
src/ue/rrc/sap.cpp
View file @
fd2e832f
...
@@ -57,7 +57,8 @@ void UeRrcTask::handleNasSapMessage(NmUeNasToRrc &msg)
...
@@ -57,7 +57,8 @@ void UeRrcTask::handleNasSapMessage(NmUeNasToRrc &msg)
break
;
break
;
}
}
case
NmUeNasToRrc
:
:
PERFORM_UAC
:
{
case
NmUeNasToRrc
:
:
PERFORM_UAC
:
{
performUac
(
msg
.
uacCtl
);
if
(
!
msg
.
uacCtl
->
isExpiredForProducer
())
performUac
(
msg
.
uacCtl
);
break
;
break
;
}
}
}
}
...
...
src/ue/types.hpp
View file @
fd2e832f
...
@@ -582,7 +582,7 @@ struct UacInput
...
@@ -582,7 +582,7 @@ struct UacInput
struct
UacOutput
struct
UacOutput
{
{
bool
allowed
{};
};
};
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