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
0a0e559c
Commit
0a0e559c
authored
Oct 12, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NGAP initial context setup bug fix
parent
baffde2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/gnb/ngap/context.cpp
src/gnb/ngap/context.cpp
+4
-4
No files found.
src/gnb/ngap/context.cpp
View file @
0a0e559c
...
...
@@ -64,6 +64,10 @@ void NgapTask::receiveInitialContextSetup(int amfId, ASN_NGAP_InitialContextSetu
if
(
ue
==
nullptr
)
return
;
auto
*
w
=
new
NmGnbNgapToGtp
(
NmGnbNgapToGtp
::
UE_CONTEXT_UPDATE
);
w
->
update
=
std
::
make_unique
<
GtpUeContextUpdate
>
(
true
,
ue
->
ctxId
,
ue
->
ueAmbr
);
m_base
->
gtpTask
->
push
(
w
);
auto
*
reqIe
=
asn
::
ngap
::
GetProtocolIe
(
msg
,
ASN_NGAP_ProtocolIE_ID_id_UEAggregateMaximumBitRate
);
if
(
reqIe
)
{
...
...
@@ -222,10 +226,6 @@ void NgapTask::receiveInitialContextSetup(int amfId, ASN_NGAP_InitialContextSetu
auto
*
response
=
asn
::
ngap
::
NewMessagePdu
<
ASN_NGAP_InitialContextSetupResponse
>
(
responseIes
);
sendNgapUeAssociated
(
ue
->
ctxId
,
response
);
auto
*
w
=
new
NmGnbNgapToGtp
(
NmGnbNgapToGtp
::
UE_CONTEXT_UPDATE
);
w
->
update
=
std
::
make_unique
<
GtpUeContextUpdate
>
(
true
,
ue
->
ctxId
,
ue
->
ueAmbr
);
m_base
->
gtpTask
->
push
(
w
);
}
void
NgapTask
::
receiveContextRelease
(
int
amfId
,
ASN_NGAP_UEContextReleaseCommand
*
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