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
3a2eb0d7
Commit
3a2eb0d7
authored
May 15, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RRC developments
parent
5186a13b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
1 deletion
+31
-1
src/ue/rrc/channel.cpp
src/ue/rrc/channel.cpp
+2
-1
src/ue/rrc/sysinfo.cpp
src/ue/rrc/sysinfo.cpp
+25
-0
src/ue/rrc/task.hpp
src/ue/rrc/task.hpp
+4
-0
No files found.
src/ue/rrc/channel.cpp
View file @
3a2eb0d7
...
...
@@ -140,7 +140,8 @@ void UeRrcTask::sendRrcMessage(ASN_RRC_UL_DCCH_Message *msg)
void
UeRrcTask
::
receiveRrcMessage
(
int
,
ASN_RRC_BCCH_BCH_Message
*
msg
)
{
// TODO
if
(
msg
->
message
.
present
==
ASN_RRC_BCCH_BCH_MessageType_PR_mib
)
receiveMib
(
*
msg
->
message
.
choice
.
mib
);
}
void
UeRrcTask
::
receiveRrcMessage
(
int
,
ASN_RRC_BCCH_DL_SCH_Message
*
msg
)
...
...
src/ue/rrc/sysinfo.cpp
0 → 100644
View file @
3a2eb0d7
//
// 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/asn/utils.hpp>
#include <lib/rrc/encode.hpp>
#include <ue/nas/task.hpp>
#include <ue/nts.hpp>
#include <utils/common.hpp>
namespace
nr
::
ue
{
void
UeRrcTask
::
receiveMib
(
const
ASN_RRC_MIB
&
msg
)
{
// TODO
}
}
// namespace nr::ue
\ No newline at end of file
src/ue/rrc/task.hpp
View file @
3a2eb0d7
...
...
@@ -38,6 +38,7 @@ extern "C"
struct
ASN_RRC_RRCReject
;
struct
ASN_RRC_RRCRelease
;
struct
ASN_RRC_Paging
;
struct
ASN_RRC_MIB
;
}
namespace
nr
::
ue
...
...
@@ -101,6 +102,9 @@ class UeRrcTask : public NtsTask
void
notifyCellDetected
(
int
cellId
,
int
dbm
);
void
notifyCellLost
(
int
cellId
);
bool
hasSignalToCell
(
int
cellId
);
/* System Information */
void
receiveMib
(
const
ASN_RRC_MIB
&
msg
);
};
}
// namespace nr::ue
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