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
05b209e3
Commit
05b209e3
authored
Apr 04, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SRA dev.
parent
97e344f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
src/gnb/sra/management.cpp
src/gnb/sra/management.cpp
+1
-1
src/gnb/sra/task.cpp
src/gnb/sra/task.cpp
+1
-1
src/gnb/sra/task.hpp
src/gnb/sra/task.hpp
+1
-0
No files found.
src/gnb/sra/management.cpp
View file @
05b209e3
...
@@ -28,7 +28,7 @@ int GnbSraTask::updateUeInfo(const InetAddress &addr, uint64_t sti)
...
@@ -28,7 +28,7 @@ int GnbSraTask::updateUeInfo(const InetAddress &addr, uint64_t sti)
}
}
else
else
{
{
int
ueId
=
utils
::
NextId
()
;
int
ueId
=
++
m_ueIdCounter
;
m_stiToUeId
[
sti
]
=
ueId
;
m_stiToUeId
[
sti
]
=
ueId
;
auto
ctx
=
std
::
make_unique
<
SraUeContext
>
(
ueId
);
auto
ctx
=
std
::
make_unique
<
SraUeContext
>
(
ueId
);
ctx
->
sti
=
sti
;
ctx
->
sti
=
sti
;
...
...
src/gnb/sra/task.cpp
View file @
05b209e3
...
@@ -20,7 +20,7 @@ static const int TIMER_PERIOD_LOST_CONTROL = 2000;
...
@@ -20,7 +20,7 @@ static const int TIMER_PERIOD_LOST_CONTROL = 2000;
namespace
nr
::
gnb
namespace
nr
::
gnb
{
{
GnbSraTask
::
GnbSraTask
(
TaskBase
*
base
)
:
m_base
{
base
},
m_udpTask
{},
m_ueCtx
{},
m_stiToUeId
{}
GnbSraTask
::
GnbSraTask
(
TaskBase
*
base
)
:
m_base
{
base
},
m_udpTask
{},
m_ueCtx
{},
m_stiToUeId
{}
,
m_ueIdCounter
{}
{
{
m_logger
=
m_base
->
logBase
->
makeUniqueLogger
(
"sra"
);
m_logger
=
m_base
->
logBase
->
makeUniqueLogger
(
"sra"
);
m_sti
=
utils
::
Random64
();
m_sti
=
utils
::
Random64
();
...
...
src/gnb/sra/task.hpp
View file @
05b209e3
...
@@ -32,6 +32,7 @@ class GnbSraTask : public NtsTask
...
@@ -32,6 +32,7 @@ class GnbSraTask : public NtsTask
uint64_t
m_sti
;
uint64_t
m_sti
;
std
::
unordered_map
<
int
,
std
::
unique_ptr
<
SraUeContext
>>
m_ueCtx
;
std
::
unordered_map
<
int
,
std
::
unique_ptr
<
SraUeContext
>>
m_ueCtx
;
std
::
unordered_map
<
uint64_t
,
int
>
m_stiToUeId
;
std
::
unordered_map
<
uint64_t
,
int
>
m_stiToUeId
;
int
m_ueIdCounter
;
friend
class
GnbCmdHandler
;
friend
class
GnbCmdHandler
;
...
...
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