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
27727cb3
Commit
27727cb3
authored
May 15, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RRC developments
parent
098e110d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletion
+19
-1
src/ue/rrc/channel.cpp
src/ue/rrc/channel.cpp
+12
-1
src/ue/rrc/sysinfo.cpp
src/ue/rrc/sysinfo.cpp
+5
-0
src/ue/rrc/task.hpp
src/ue/rrc/task.hpp
+2
-0
No files found.
src/ue/rrc/channel.cpp
View file @
27727cb3
...
@@ -146,7 +146,18 @@ void UeRrcTask::receiveRrcMessage(int cellId, ASN_RRC_BCCH_BCH_Message *msg)
...
@@ -146,7 +146,18 @@ void UeRrcTask::receiveRrcMessage(int cellId, ASN_RRC_BCCH_BCH_Message *msg)
void
UeRrcTask
::
receiveRrcMessage
(
int
cellId
,
ASN_RRC_BCCH_DL_SCH_Message
*
msg
)
void
UeRrcTask
::
receiveRrcMessage
(
int
cellId
,
ASN_RRC_BCCH_DL_SCH_Message
*
msg
)
{
{
// TODO
if
(
msg
->
message
.
present
!=
ASN_RRC_BCCH_DL_SCH_MessageType_PR_c1
)
return
;
auto
&
c1
=
msg
->
message
.
choice
.
c1
;
switch
(
c1
->
present
)
{
case
ASN_RRC_BCCH_DL_SCH_MessageType__c1_PR_systemInformationBlockType1
:
receiveSib1
(
cellId
,
*
c1
->
choice
.
systemInformationBlockType1
);
break
;
default:
break
;
}
}
}
void
UeRrcTask
::
receiveRrcMessage
(
int
cellId
,
ASN_RRC_DL_CCCH_Message
*
msg
)
void
UeRrcTask
::
receiveRrcMessage
(
int
cellId
,
ASN_RRC_DL_CCCH_Message
*
msg
)
...
...
src/ue/rrc/sysinfo.cpp
View file @
27727cb3
...
@@ -27,4 +27,9 @@ void UeRrcTask::receiveMib(int cellId, const ASN_RRC_MIB &msg)
...
@@ -27,4 +27,9 @@ void UeRrcTask::receiveMib(int cellId, const ASN_RRC_MIB &msg)
desc
.
isIntraFreqReselectAllowed
=
msg
.
intraFreqReselection
==
ASN_RRC_MIB__intraFreqReselection_allowed
;
desc
.
isIntraFreqReselectAllowed
=
msg
.
intraFreqReselection
==
ASN_RRC_MIB__intraFreqReselection_allowed
;
}
}
void
UeRrcTask
::
receiveSib1
(
int
cellId
,
const
ASN_RRC_SIB1
&
msg
)
{
// TODO
}
}
// namespace nr::ue
}
// namespace nr::ue
\ No newline at end of file
src/ue/rrc/task.hpp
View file @
27727cb3
...
@@ -39,6 +39,7 @@ extern "C"
...
@@ -39,6 +39,7 @@ extern "C"
struct
ASN_RRC_RRCRelease
;
struct
ASN_RRC_RRCRelease
;
struct
ASN_RRC_Paging
;
struct
ASN_RRC_Paging
;
struct
ASN_RRC_MIB
;
struct
ASN_RRC_MIB
;
struct
ASN_RRC_SIB1
;
}
}
namespace
nr
::
ue
namespace
nr
::
ue
...
@@ -105,6 +106,7 @@ class UeRrcTask : public NtsTask
...
@@ -105,6 +106,7 @@ class UeRrcTask : public NtsTask
/* System Information */
/* System Information */
void
receiveMib
(
int
cellId
,
const
ASN_RRC_MIB
&
msg
);
void
receiveMib
(
int
cellId
,
const
ASN_RRC_MIB
&
msg
);
void
receiveSib1
(
int
cellId
,
const
ASN_RRC_SIB1
&
msg
);
};
};
}
// namespace nr::ue
}
// 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