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
08a6f653
Commit
08a6f653
authored
Jan 11, 2022
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Performance improvements
parent
1888647d
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
10 additions
and
10 deletions
+10
-10
src/lib/rls/rls_base.hpp
src/lib/rls/rls_base.hpp
+2
-0
src/ue/nas/mm/mm.hpp
src/ue/nas/mm/mm.hpp
+0
-1
src/ue/nas/sm/sm.hpp
src/ue/nas/sm/sm.hpp
+0
-1
src/ue/rls/ctl_layer.hpp
src/ue/rls/ctl_layer.hpp
+2
-3
src/ue/rrc/connection.cpp
src/ue/rrc/connection.cpp
+0
-1
src/ue/rrc/failures.cpp
src/ue/rrc/failures.cpp
+0
-1
src/ue/rrc/handler.cpp
src/ue/rrc/handler.cpp
+0
-1
src/ue/rrc/nas.cpp
src/ue/rrc/nas.cpp
+0
-1
src/ue/types.hpp
src/ue/types.hpp
+1
-0
src/utils/constants.hpp
src/utils/constants.hpp
+3
-0
src/utils/fd_base.hpp
src/utils/fd_base.hpp
+2
-1
No files found.
src/lib/rls/rls_base.hpp
View file @
08a6f653
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
// and subject to the terms and conditions defined in LICENSE file.
// and subject to the terms and conditions defined in LICENSE file.
//
//
#pragma once
#include "rls_pdu.hpp"
#include "rls_pdu.hpp"
#include <lib/rrc/rrc.hpp>
#include <lib/rrc/rrc.hpp>
...
...
src/ue/nas/mm/mm.hpp
View file @
08a6f653
...
@@ -12,7 +12,6 @@
...
@@ -12,7 +12,6 @@
#include <lib/nas/nas.hpp>
#include <lib/nas/nas.hpp>
#include <ue/nas/storage.hpp>
#include <ue/nas/storage.hpp>
#include <ue/nas/usim/usim.hpp>
#include <ue/nas/usim/usim.hpp>
#include <ue/nts.hpp>
#include <ue/task.hpp>
#include <ue/task.hpp>
#include <ue/types.hpp>
#include <ue/types.hpp>
#include <utils/nts.hpp>
#include <utils/nts.hpp>
...
...
src/ue/nas/sm/sm.hpp
View file @
08a6f653
...
@@ -11,7 +11,6 @@
...
@@ -11,7 +11,6 @@
#include <array>
#include <array>
#include <bitset>
#include <bitset>
#include <lib/nas/nas.hpp>
#include <lib/nas/nas.hpp>
#include <ue/nts.hpp>
#include <ue/task.hpp>
#include <ue/task.hpp>
#include <ue/types.hpp>
#include <ue/types.hpp>
#include <utils/nts.hpp>
#include <utils/nts.hpp>
...
...
src/ue/rls/ctl_layer.hpp
View file @
08a6f653
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
#include <vector>
#include <vector>
#include <lib/rrc/rrc.hpp>
#include <lib/rrc/rrc.hpp>
#include <
ue/nts
.hpp>
#include <
lib/rls/rls_base
.hpp>
#include <ue/types.hpp>
#include <ue/types.hpp>
#include <utils/nts.hpp>
#include <utils/nts.hpp>
...
@@ -41,8 +41,7 @@ class RlsCtlLayer
...
@@ -41,8 +41,7 @@ class RlsCtlLayer
void
handleRlsMessage
(
int
cellId
,
rls
::
RlsMessage
&
msg
);
void
handleRlsMessage
(
int
cellId
,
rls
::
RlsMessage
&
msg
);
void
assignCurrentCell
(
int
cellId
);
void
assignCurrentCell
(
int
cellId
);
void
handleUplinkRrcDelivery
(
int
cellId
,
uint32_t
pduId
,
rrc
::
RrcChannel
channel
,
OctetString
&&
data
);
void
handleUplinkRrcDelivery
(
int
cellId
,
uint32_t
pduId
,
rrc
::
RrcChannel
channel
,
OctetString
&&
data
);
void
handleUplinkDataDelivery
(
int
psi
,
uint8_t
*
buffer
,
size_t
size
);
void
handleUplinkDataDelivery
(
int
psi
,
uint8_t
*
buffer
,
size_t
size
);
};
};
}
// namespace nr::ue
}
// namespace nr::ue
\ No newline at end of file
src/ue/rrc/connection.cpp
View file @
08a6f653
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
#include "layer.hpp"
#include "layer.hpp"
#include <lib/rrc/encode.hpp>
#include <lib/rrc/encode.hpp>
#include <ue/nts.hpp>
#include <ue/task.hpp>
#include <ue/task.hpp>
#include <utils/random.hpp>
#include <utils/random.hpp>
...
...
src/ue/rrc/failures.cpp
View file @
08a6f653
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
#include "layer.hpp"
#include "layer.hpp"
#include <lib/rrc/encode.hpp>
#include <lib/rrc/encode.hpp>
#include <ue/nts.hpp>
#include <ue/task.hpp>
#include <ue/task.hpp>
namespace
nr
::
ue
namespace
nr
::
ue
...
...
src/ue/rrc/handler.cpp
View file @
08a6f653
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
#include <lib/asn/utils.hpp>
#include <lib/asn/utils.hpp>
#include <lib/rrc/encode.hpp>
#include <lib/rrc/encode.hpp>
#include <ue/nts.hpp>
#include <ue/task.hpp>
#include <ue/task.hpp>
#include <utils/common.hpp>
#include <utils/common.hpp>
...
...
src/ue/rrc/nas.cpp
View file @
08a6f653
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
#include "layer.hpp"
#include "layer.hpp"
#include <lib/rrc/encode.hpp>
#include <lib/rrc/encode.hpp>
#include <ue/nts.hpp>
#include <ue/task.hpp>
#include <ue/task.hpp>
#include <asn/rrc/ASN_RRC_DLInformationTransfer-IEs.h>
#include <asn/rrc/ASN_RRC_DLInformationTransfer-IEs.h>
...
...
src/ue/types.hpp
View file @
08a6f653
...
@@ -122,6 +122,7 @@ struct UeConfig
...
@@ -122,6 +122,7 @@ struct UeConfig
/* Assigned by program */
/* Assigned by program */
bool
configureRouting
{};
bool
configureRouting
{};
bool
prefixLogger
{};
bool
prefixLogger
{};
bool
disableCmd
{};
[[
nodiscard
]]
std
::
string
getNodeName
()
const
[[
nodiscard
]]
std
::
string
getNodeName
()
const
{
{
...
...
src/utils/constants.hpp
View file @
08a6f653
...
@@ -38,4 +38,7 @@ struct cons
...
@@ -38,4 +38,7 @@ struct cons
static
constexpr
const
char
*
PROC_TABLE_DIR
=
"/tmp/UERANSIM.proc-table/"
;
static
constexpr
const
char
*
PROC_TABLE_DIR
=
"/tmp/UERANSIM.proc-table/"
;
static
constexpr
const
char
*
PROCESS_DIR
=
"/proc/"
;
static
constexpr
const
char
*
PROCESS_DIR
=
"/proc/"
;
static
constexpr
const
char
DIR_SEPARATOR
=
'/'
;
static
constexpr
const
char
DIR_SEPARATOR
=
'/'
;
static
constexpr
const
char
*
UE_DOMAIN_SOCKET_PREFIX
=
"/tmp/UERANSIM.ue."
;
static
constexpr
const
char
*
UE_DOMAIN_SOCKET_POSTFIX
=
".socket"
;
};
};
src/utils/fd_base.hpp
View file @
08a6f653
...
@@ -20,8 +20,9 @@ class FdBase
...
@@ -20,8 +20,9 @@ class FdBase
static
constexpr
const
int
PS_END
=
15
;
static
constexpr
const
int
PS_END
=
15
;
static
constexpr
const
int
RLS_IP4
=
16
;
static
constexpr
const
int
RLS_IP4
=
16
;
static
constexpr
const
int
RLS_IP6
=
17
;
static
constexpr
const
int
RLS_IP6
=
17
;
static
constexpr
const
int
CMD
=
18
;
static
constexpr
const
int
SIZE
=
1
8
;
static
constexpr
const
int
SIZE
=
1
9
;
private:
private:
std
::
array
<
int
,
SIZE
>
m_fd
;
std
::
array
<
int
,
SIZE
>
m_fd
;
...
...
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