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
abf4ffa6
Commit
abf4ffa6
authored
Apr 17, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RRC paging handling
parent
d3623907
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
+5
-9
src/gnb/ngap/radio.cpp
src/gnb/ngap/radio.cpp
+1
-7
src/gnb/nts.hpp
src/gnb/nts.hpp
+2
-1
src/gnb/rrc/task.hpp
src/gnb/rrc/task.hpp
+2
-1
No files found.
src/gnb/ngap/radio.cpp
View file @
abf4ffa6
...
...
@@ -50,14 +50,8 @@ void NgapTask::receivePaging(int amfId, ASN_NGAP_Paging *msg)
auto
*
w
=
new
NwGnbNgapToRrc
(
NwGnbNgapToRrc
::
PAGING
);
w
->
uePagingTmsi
=
ngap_encode
::
EncodeS
(
asn_DEF_ASN_NGAP_FiveG_S_TMSI
,
ieUePagingIdentity
->
UEPagingIdentity
.
choice
.
f
iveG_S_TMSI
);
asn
::
UniqueCopy
(
*
ieUePagingIdentity
->
UEPagingIdentity
.
choice
.
fiveG_S_TMSI
,
asn_DEF_ASN_NGAP_F
iveG_S_TMSI
);
w
->
taiListForPaging
=
asn
::
UniqueCopy
(
ieTaiListForPaging
->
TAIListForPaging
,
asn_DEF_ASN_NGAP_TAIListForPaging
);
if
(
w
->
uePagingTmsi
.
length
()
==
0
)
{
m_logger
->
err
(
"FiveG-S-TMSI encoding failed"
);
delete
w
;
return
;
}
m_base
->
rrcTask
->
push
(
w
);
}
...
...
src/gnb/nts.hpp
View file @
abf4ffa6
...
...
@@ -20,6 +20,7 @@
#include <utils/octet_string.hpp>
#include <utils/unique_buffer.hpp>
extern
"C"
struct
ASN_NGAP_FiveG_S_TMSI
;
extern
"C"
struct
ASN_NGAP_TAIListForPaging
;
namespace
nr
::
gnb
...
...
@@ -116,7 +117,7 @@ struct NwGnbNgapToRrc : NtsMessage
OctetString
pdu
{};
// PAGING
OctetString
uePagingTmsi
{};
asn
::
Unique
<
ASN_NGAP_FiveG_S_TMSI
>
uePagingTmsi
{};
asn
::
Unique
<
ASN_NGAP_TAIListForPaging
>
taiListForPaging
{};
explicit
NwGnbNgapToRrc
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
GNB_NGAP_TO_RRC
),
present
(
present
)
...
...
src/gnb/rrc/task.hpp
View file @
abf4ffa6
...
...
@@ -70,7 +70,8 @@ class GnbRrcTask : public NtsTask
void
deliverUplinkNas
(
int
ueId
,
OctetString
&&
nasPdu
);
void
releaseConnection
(
int
ueId
);
void
handleRadioLinkFailure
(
int
ueId
);
void
handlePaging
(
const
OctetString
&
tmsi
,
const
asn
::
Unique
<
ASN_NGAP_TAIListForPaging
>
&
taiList
);
void
handlePaging
(
const
asn
::
Unique
<
ASN_NGAP_FiveG_S_TMSI
>
&
tmsi
,
const
asn
::
Unique
<
ASN_NGAP_TAIListForPaging
>
&
taiList
);
void
receiveUplinkInformationTransfer
(
int
ueId
,
const
ASN_RRC_ULInformationTransfer
&
msg
);
void
receiveRrcSetupRequest
(
int
ueId
,
const
ASN_RRC_RRCSetupRequest
&
msg
);
...
...
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