Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
882712ff
Commit
882712ff
authored
Jul 24, 2024
by
Guido Casati
Committed by
Robert Schmidt
Nov 17, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ciUE telnet command to force RLF
parent
1692e00d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
common/utils/telnetsrv/telnetsrv_ciUE.c
common/utils/telnetsrv/telnetsrv_ciUE.c
+12
-0
No files found.
common/utils/telnetsrv/telnetsrv_ciUE.c
View file @
882712ff
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
#include <stdarg.h>
#include <stdarg.h>
#include "openair2/LAYER2/NR_MAC_UE/mac_defs.h"
#include "openair2/LAYER2/NR_MAC_UE/mac_defs.h"
#include "openair2/LAYER2/NR_MAC_UE/mac_proto.h"
#include "openair2/LAYER2/NR_MAC_UE/mac_proto.h"
#include "openair2/RRC/NR_UE/rrc_proto.h"
#define TELNETSERVERCODE
#define TELNETSERVERCODE
#include "telnetsrv.h"
#include "telnetsrv.h"
...
@@ -73,9 +74,20 @@ int get_sync_state(char *buf, int debug, telnet_printfunc_t prnt)
...
@@ -73,9 +74,20 @@ int get_sync_state(char *buf, int debug, telnet_printfunc_t prnt)
return
0
;
return
0
;
}
}
/**
* Force RLF on UE
*/
int
force_rlf
(
char
*
buf
,
int
debug
,
telnet_printfunc_t
prnt
)
{
NR_UE_RRC_INST_t
*
rrc
=
get_NR_UE_rrc_inst
(
0
);
handle_rlf_detection
(
rrc
);
return
0
;
}
/* Telnet shell command definitions */
/* Telnet shell command definitions */
static
telnetshell_cmddef_t
cicmds
[]
=
{
static
telnetshell_cmddef_t
cicmds
[]
=
{
{
"sync_state"
,
"[UE_ID(int,opt)]"
,
get_sync_state
},
{
"sync_state"
,
"[UE_ID(int,opt)]"
,
get_sync_state
},
{
"force_rlf"
,
""
,
force_rlf
},
{
""
,
""
,
NULL
},
{
""
,
""
,
NULL
},
};
};
...
...
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