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
62d11fe7
Commit
62d11fe7
authored
Feb 20, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UE/gNB executable refactor
parent
b41ecee9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
src/app/cli_cmd.cpp
src/app/cli_cmd.cpp
+3
-5
src/ue/nts.hpp
src/ue/nts.hpp
+1
-1
No files found.
src/app/cli_cmd.cpp
View file @
62d11fe7
...
...
@@ -71,9 +71,7 @@ static std::map<std::string, std::string> g_gnbCmdToDescription = {
};
static
std
::
map
<
std
::
string
,
std
::
string
>
g_gnbCmdToUsage
=
{
{
"status"
,
""
},
{
"info"
,
""
},
{
"amf-list"
,
""
},
{
"amf-info"
,
"<amf-id>"
},
{
"ue-list"
,
""
},
{
"ue-count"
,
""
},
{
"status"
,
""
},
{
"info"
,
""
},
{
"amf-list"
,
""
},
{
"amf-info"
,
"<amf-id>"
},
{
"ue-list"
,
""
},
{
"ue-count"
,
""
},
};
static
std
::
map
<
std
::
string
,
bool
>
g_gnbCmdToHelpIfEmpty
=
{{
"status"
,
false
},
{
"info"
,
false
},
...
...
@@ -91,7 +89,7 @@ static std::map<std::string, std::string> g_ueCmdToUsage = {
{
"info"
,
""
},
{
"status"
,
""
},
{
"timers"
,
""
},
{
"deregister"
,
"<
switch-off|disable-5g|normal
>"
},
{
"deregister"
,
"<
normal|disable-5g|switch-off
>"
},
};
static
std
::
map
<
std
::
string
,
bool
>
g_ueCmdToHelpIfEmpty
=
{
...
...
@@ -240,7 +238,7 @@ std::unique_ptr<UeCliCommand> ParseUeCliCommand(std::vector<std::string> &&token
else
if
(
type
==
"disable-5g"
)
cmd
->
dueToDisable5g
=
true
;
else
if
(
type
!=
"normal"
)
CMD_ERR
(
"Invalid de-registration type, possible values are:
switch-off, disable-5g, normal
"
)
CMD_ERR
(
"Invalid de-registration type, possible values are:
\"
normal
\"
,
\"
disable-5g
\"
,
\"
switch-off
\"
"
)
return
cmd
;
}
...
...
src/ue/nts.hpp
View file @
62d11fe7
...
...
@@ -238,7 +238,7 @@ struct NwUeNasToApp : NtsMessage
struct
NwUeStatusUpdate
:
NtsMessage
{
static
constexpr
const
int
SESSION_ESTABLISHMENT
=
5
;
static
constexpr
const
int
SESSION_ESTABLISHMENT
=
1
;
const
int
what
{};
...
...
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