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
a4bbf9e5
Commit
a4bbf9e5
authored
Jan 15, 2025
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/UE_log_improv' into integration_2025_w03 (!3179)
UE statistics improvements
parents
876343e7
7b499f50
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
executables/nr-ue.c
executables/nr-ue.c
+4
-2
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+2
-0
No files found.
executables/nr-ue.c
View file @
a4bbf9e5
...
...
@@ -642,8 +642,9 @@ static int UE_dl_preprocessing(PHY_VARS_NR_UE *UE,
}
}
bool
dl_slot
=
false
;
if
(
proc
->
rx_slot_type
==
NR_DOWNLINK_SLOT
||
proc
->
rx_slot_type
==
NR_MIXED_SLOT
)
{
dl_slot
=
true
;
if
(
UE
->
if_inst
!=
NULL
&&
UE
->
if_inst
->
dl_indication
!=
NULL
)
{
nr_downlink_indication_t
dl_indication
;
nr_fill_dl_indication
(
&
dl_indication
,
NULL
,
NULL
,
proc
,
UE
,
phy_data
);
...
...
@@ -656,7 +657,8 @@ static int UE_dl_preprocessing(PHY_VARS_NR_UE *UE,
const
int
ack_nack_slot
=
(
proc
->
nr_slot_rx
+
phy_data
->
dlsch
[
0
].
dlsch_config
.
k1_feedback
)
%
UE
->
frame_parms
.
slots_per_frame
;
tx_wait_for_dlsch
[
ack_nack_slot
]
++
;
}
}
else
{
}
if
(
fp
->
frame_type
==
FDD
||
!
dl_slot
)
{
// good time to print statistics, we don't have to spend time to decode DCI
if
(
proc
->
frame_rx
%
128
==
0
)
{
if
(
*
stats_printed
==
false
)
{
...
...
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
a4bbf9e5
...
...
@@ -70,6 +70,8 @@ static void save_pdsch_pdu_for_crnti(nfapi_nr_dl_tti_request_t *dl_tti_request);
void
print_ue_mac_stats
(
const
module_id_t
mod
,
const
int
frame_rx
,
const
int
slot_rx
)
{
NR_UE_MAC_INST_t
*
mac
=
get_mac_inst
(
mod
);
if
(
mac
->
state
!=
UE_CONNECTED
)
return
;
int
ret
=
pthread_mutex_lock
(
&
mac
->
if_mutex
);
AssertFatal
(
!
ret
,
"mutex failed %d
\n
"
,
ret
);
...
...
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