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
75266085
Commit
75266085
authored
May 23, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
L3 RRC/NAS developments
parent
771dd269
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
30 deletions
+30
-30
src/ue/nts.hpp
src/ue/nts.hpp
+30
-30
No files found.
src/ue/nts.hpp
View file @
75266085
...
...
@@ -23,7 +23,7 @@
namespace
nr
::
ue
{
struct
N
w
AppToTun
:
NtsMessage
struct
N
m
AppToTun
:
NtsMessage
{
enum
PR
{
...
...
@@ -34,12 +34,12 @@ struct NwAppToTun : NtsMessage
int
psi
{};
OctetString
data
{};
explicit
N
w
AppToTun
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_APP_TO_TUN
),
present
(
present
)
explicit
N
m
AppToTun
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_APP_TO_TUN
),
present
(
present
)
{
}
};
struct
N
w
UeTunToApp
:
NtsMessage
struct
N
m
UeTunToApp
:
NtsMessage
{
enum
PR
{
...
...
@@ -54,12 +54,12 @@ struct NwUeTunToApp : NtsMessage
// TUN_ERROR
std
::
string
error
{};
explicit
N
w
UeTunToApp
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_TUN_TO_APP
),
present
(
present
)
explicit
N
m
UeTunToApp
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_TUN_TO_APP
),
present
(
present
)
{
}
};
struct
N
w
UeRrcToNas
:
NtsMessage
struct
N
m
UeRrcToNas
:
NtsMessage
{
enum
PR
{
...
...
@@ -82,12 +82,12 @@ struct NwUeRrcToNas : NtsMessage
// ACTIVE_CELL_CHANGED
Tai
previousTai
;
explicit
N
w
UeRrcToNas
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_RRC_TO_NAS
),
present
(
present
)
explicit
N
m
UeRrcToNas
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_RRC_TO_NAS
),
present
(
present
)
{
}
};
struct
N
w
UeNasToRrc
:
NtsMessage
struct
N
m
UeNasToRrc
:
NtsMessage
{
enum
PR
{
...
...
@@ -100,12 +100,12 @@ struct NwUeNasToRrc : NtsMessage
uint32_t
pduId
{};
OctetString
nasPdu
;
explicit
N
w
UeNasToRrc
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_NAS_TO_RRC
),
present
(
present
)
explicit
N
m
UeNasToRrc
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_NAS_TO_RRC
),
present
(
present
)
{
}
};
struct
N
w
UeRrcToRls
:
NtsMessage
struct
N
m
UeRrcToRls
:
NtsMessage
{
enum
PR
{
...
...
@@ -121,24 +121,24 @@ struct NwUeRrcToRls : NtsMessage
uint32_t
pduId
{};
OctetString
pdu
{};
explicit
N
w
UeRrcToRls
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_RRC_TO_RLS
),
present
(
present
)
explicit
N
m
UeRrcToRls
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_RRC_TO_RLS
),
present
(
present
)
{
}
};
struct
N
w
UeRrcToRrc
:
NtsMessage
struct
N
m
UeRrcToRrc
:
NtsMessage
{
enum
PR
{
TRIGGER_CYCLE
,
}
present
;
explicit
N
w
UeRrcToRrc
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_RRC_TO_RRC
),
present
(
present
)
explicit
N
m
UeRrcToRrc
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_RRC_TO_RRC
),
present
(
present
)
{
}
};
struct
N
w
UeRlsToRrc
:
NtsMessage
struct
N
m
UeRlsToRrc
:
NtsMessage
{
enum
PR
{
...
...
@@ -161,12 +161,12 @@ struct NwUeRlsToRrc : NtsMessage
// RADIO_LINK_FAILURE
rls
::
ERlfCause
rlfCause
{};
explicit
N
w
UeRlsToRrc
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_RLS_TO_RRC
),
present
(
present
)
explicit
N
m
UeRlsToRrc
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_RLS_TO_RRC
),
present
(
present
)
{
}
};
struct
N
w
UeNasToNas
:
NtsMessage
struct
N
m
UeNasToNas
:
NtsMessage
{
enum
PR
{
...
...
@@ -178,24 +178,24 @@ struct NwUeNasToNas : NtsMessage
// NAS_TIMER_EXPIRE
UeTimer
*
timer
{};
explicit
N
w
UeNasToNas
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_NAS_TO_NAS
),
present
(
present
)
explicit
N
m
UeNasToNas
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_NAS_TO_NAS
),
present
(
present
)
{
}
};
struct
N
w
UeNasToApp
:
NtsMessage
struct
N
m
UeNasToApp
:
NtsMessage
{
enum
PR
{
PERFORM_SWITCH_OFF
,
}
present
;
explicit
N
w
UeNasToApp
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_NAS_TO_APP
),
present
(
present
)
explicit
N
m
UeNasToApp
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_NAS_TO_APP
),
present
(
present
)
{
}
};
struct
N
w
UeAppToNas
:
NtsMessage
struct
N
m
UeAppToNas
:
NtsMessage
{
enum
PR
{
...
...
@@ -206,12 +206,12 @@ struct NwUeAppToNas : NtsMessage
int
psi
{};
OctetString
data
;
explicit
N
w
UeAppToNas
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_APP_TO_NAS
),
present
(
present
)
explicit
N
m
UeAppToNas
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_APP_TO_NAS
),
present
(
present
)
{
}
};
struct
N
w
UeNasToRls
:
NtsMessage
struct
N
m
UeNasToRls
:
NtsMessage
{
enum
PR
{
...
...
@@ -222,12 +222,12 @@ struct NwUeNasToRls : NtsMessage
int
psi
{};
OctetString
pdu
;
explicit
N
w
UeNasToRls
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_NAS_TO_RLS
),
present
(
present
)
explicit
N
m
UeNasToRls
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_NAS_TO_RLS
),
present
(
present
)
{
}
};
struct
N
w
UeRlsToApp
:
NtsMessage
struct
N
m
UeRlsToApp
:
NtsMessage
{
enum
PR
{
...
...
@@ -238,12 +238,12 @@ struct NwUeRlsToApp : NtsMessage
int
psi
{};
OctetString
pdu
{};
explicit
N
w
UeRlsToApp
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_RLS_TO_APP
),
present
(
present
)
explicit
N
m
UeRlsToApp
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_RLS_TO_APP
),
present
(
present
)
{
}
};
struct
N
w
UeRlsToRls
:
NtsMessage
struct
N
m
UeRlsToRls
:
NtsMessage
{
enum
PR
{
...
...
@@ -294,12 +294,12 @@ struct NwUeRlsToRls : NtsMessage
// TRANSMISSION_FAILURE
std
::
vector
<
rls
::
PduInfo
>
pduList
;
explicit
N
w
UeRlsToRls
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_RLS_TO_RLS
),
present
(
present
)
explicit
N
m
UeRlsToRls
(
PR
present
)
:
NtsMessage
(
NtsMessageType
::
UE_RLS_TO_RLS
),
present
(
present
)
{
}
};
struct
N
w
UeStatusUpdate
:
NtsMessage
struct
N
m
UeStatusUpdate
:
NtsMessage
{
static
constexpr
const
int
SESSION_ESTABLISHMENT
=
1
;
static
constexpr
const
int
SESSION_RELEASE
=
2
;
...
...
@@ -316,17 +316,17 @@ struct NwUeStatusUpdate : NtsMessage
// CM_STATE
ECmState
cmState
{};
explicit
N
w
UeStatusUpdate
(
const
int
what
)
:
NtsMessage
(
NtsMessageType
::
UE_STATUS_UPDATE
),
what
(
what
)
explicit
N
m
UeStatusUpdate
(
const
int
what
)
:
NtsMessage
(
NtsMessageType
::
UE_STATUS_UPDATE
),
what
(
what
)
{
}
};
struct
N
w
UeCliCommand
:
NtsMessage
struct
N
m
UeCliCommand
:
NtsMessage
{
std
::
unique_ptr
<
app
::
UeCliCommand
>
cmd
;
InetAddress
address
;
N
w
UeCliCommand
(
std
::
unique_ptr
<
app
::
UeCliCommand
>
cmd
,
InetAddress
address
)
N
m
UeCliCommand
(
std
::
unique_ptr
<
app
::
UeCliCommand
>
cmd
,
InetAddress
address
)
:
NtsMessage
(
NtsMessageType
::
UE_CLI_COMMAND
),
cmd
(
std
::
move
(
cmd
)),
address
(
address
)
{
}
...
...
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