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
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
littleBu
OpenXG-RAN
Commits
60ef7f04
Commit
60ef7f04
authored
8 months ago
by
Guido Casati
Committed by
Robert Schmidt
4 months ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new ci telnet commands to force UE release and UL failure
parent
59bf54c9
Branches unavailable
2025.w08
2025.w07
2025.w06
2025.w05
2025.w04
2025.w03
2025.w02
2024.w51
2024.w50
2024.w49
2024.w48
2024.w47
2024.w46
v2.2.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
common/utils/telnetsrv/telnetsrv_ci.c
common/utils/telnetsrv/telnetsrv_ci.c
+23
-0
No files found.
common/utils/telnetsrv/telnetsrv_ci.c
View file @
60ef7f04
...
...
@@ -37,6 +37,7 @@
#include "openair2/LAYER2/nr_rlc/nr_rlc_oai_api.h"
#include "openair2/LAYER2/nr_rlc/nr_rlc_ue_manager.h"
#include "openair2/LAYER2/nr_rlc/nr_rlc_entity_am.h"
#include "openair2/LAYER2/NR_MAC_gNB/mac_proto.h"
#define TELNETSERVERCODE
#include "telnetsrv.h"
...
...
@@ -167,7 +168,27 @@ int rrc_gNB_trigger_f1_ho(char *buf, int debug, telnet_printfunc_t prnt)
gNB_RRC_UE_t
*
UE
=
&
ue
->
ue_context
;
nr_HO_F1_trigger_telnet
(
RC
.
nrrrc
[
0
],
UE
->
rrc_ue_id
);
prnt
(
"RRC F1 handover triggered for UE %u
\n
"
,
UE
->
rrc_ue_id
);
return
0
;
}
int
force_ul_failure
(
char
*
buf
,
int
debug
,
telnet_printfunc_t
prnt
)
{
if
(
!
RC
.
nrmac
)
ERROR_MSG_RET
(
"no MAC/RLC present, force_ul_failure failed
\n
"
);
int
rnti
=
fetch_rnti
(
buf
,
prnt
);
NR_UE_info_t
*
UE
=
find_nr_UE
(
&
RC
.
nrmac
[
0
]
->
UE_info
,
rnti
);
nr_mac_trigger_ul_failure
(
&
UE
->
UE_sched_ctrl
,
UE
->
current_UL_BWP
.
scs
);
return
0
;
}
int
force_ue_release
(
char
*
buf
,
int
debug
,
telnet_printfunc_t
prnt
)
{
force_ul_failure
(
buf
,
debug
,
prnt
);
int
rnti
=
fetch_rnti
(
buf
,
prnt
);
NR_UE_info_t
*
UE
=
find_nr_UE
(
&
RC
.
nrmac
[
0
]
->
UE_info
,
rnti
);
NR_UE_sched_ctrl_t
*
sched_ctrl
=
&
UE
->
UE_sched_ctrl
;
sched_ctrl
->
ul_failure_timer
=
2
;
nr_mac_check_ul_failure
(
RC
.
nrmac
[
0
],
UE
->
rnti
,
sched_ctrl
);
return
0
;
}
...
...
@@ -175,6 +196,8 @@ static telnetshell_cmddef_t cicmds[] = {
{
"get_single_rnti"
,
""
,
get_single_rnti
},
{
"force_reestab"
,
"[rnti(hex,opt)]"
,
trigger_reestab
},
{
"get_reestab_count"
,
"[rnti(hex,opt)]"
,
get_reestab_count
},
{
"force_ue_release"
,
"[rnti(hex,opt)]"
,
force_ue_release
},
{
"force_ul_failure"
,
"[rnti(hex,opt)]"
,
force_ul_failure
},
{
"trigger_f1_ho"
,
"[rrc_ue_id(int,opt)]"
,
rrc_gNB_trigger_f1_ho
},
{
""
,
""
,
NULL
},
};
...
...
This diff is collapsed.
Click to expand it.
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