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
4fa23821
Commit
4fa23821
authored
Apr 17, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UE RRC paging handling
parent
2a4de4ba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
src/ue/rrc/channel.cpp
src/ue/rrc/channel.cpp
+12
-1
src/ue/rrc/handler.cpp
src/ue/rrc/handler.cpp
+6
-0
src/ue/rrc/task.hpp
src/ue/rrc/task.hpp
+2
-0
No files found.
src/ue/rrc/channel.cpp
View file @
4fa23821
...
@@ -185,7 +185,18 @@ void UeRrcTask::receiveRrcMessage(ASN_RRC_DL_DCCH_Message *msg)
...
@@ -185,7 +185,18 @@ void UeRrcTask::receiveRrcMessage(ASN_RRC_DL_DCCH_Message *msg)
void
UeRrcTask
::
receiveRrcMessage
(
ASN_RRC_PCCH_Message
*
msg
)
void
UeRrcTask
::
receiveRrcMessage
(
ASN_RRC_PCCH_Message
*
msg
)
{
{
// TODO
if
(
msg
->
message
.
present
!=
ASN_RRC_PCCH_MessageType_PR_c1
)
return
;
auto
&
c1
=
msg
->
message
.
choice
.
c1
;
switch
(
c1
->
present
)
{
case
ASN_RRC_PCCH_MessageType__c1_PR_paging
:
receivePaging
(
*
c1
->
choice
.
paging
);
break
;
default:
break
;
}
}
}
}
// namespace nr::ue
}
// namespace nr::ue
src/ue/rrc/handler.cpp
View file @
4fa23821
...
@@ -131,4 +131,10 @@ void UeRrcTask::receiveRrcRelease(const ASN_RRC_RRCRelease &msg)
...
@@ -131,4 +131,10 @@ void UeRrcTask::receiveRrcRelease(const ASN_RRC_RRCRelease &msg)
m_base
->
nasTask
->
push
(
new
NwUeRrcToNas
(
NwUeRrcToNas
::
RRC_CONNECTION_RELEASE
));
m_base
->
nasTask
->
push
(
new
NwUeRrcToNas
(
NwUeRrcToNas
::
RRC_CONNECTION_RELEASE
));
}
}
void
UeRrcTask
::
receivePaging
(
const
ASN_RRC_Paging
&
msg
)
{
// TODO
m_logger
->
err
(
"Paging received"
);
}
}
// namespace nr::ue
}
// namespace nr::ue
\ No newline at end of file
src/ue/rrc/task.hpp
View file @
4fa23821
...
@@ -35,6 +35,7 @@ extern "C"
...
@@ -35,6 +35,7 @@ extern "C"
struct
ASN_RRC_RRCSetup
;
struct
ASN_RRC_RRCSetup
;
struct
ASN_RRC_RRCReject
;
struct
ASN_RRC_RRCReject
;
struct
ASN_RRC_RRCRelease
;
struct
ASN_RRC_RRCRelease
;
struct
ASN_RRC_Paging
;
}
}
namespace
nr
::
ue
namespace
nr
::
ue
...
@@ -73,6 +74,7 @@ class UeRrcTask : public NtsTask
...
@@ -73,6 +74,7 @@ class UeRrcTask : public NtsTask
void
receiveRrcReject
(
const
ASN_RRC_RRCReject
&
msg
);
void
receiveRrcReject
(
const
ASN_RRC_RRCReject
&
msg
);
void
receiveRrcRelease
(
const
ASN_RRC_RRCRelease
&
msg
);
void
receiveRrcRelease
(
const
ASN_RRC_RRCRelease
&
msg
);
void
receiveDownlinkInformationTransfer
(
const
ASN_RRC_DLInformationTransfer
&
msg
);
void
receiveDownlinkInformationTransfer
(
const
ASN_RRC_DLInformationTransfer
&
msg
);
void
receivePaging
(
const
ASN_RRC_Paging
&
msg
);
void
handleRadioLinkFailure
();
void
handleRadioLinkFailure
();
...
...
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