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
zzha zzha
OpenXG-RAN
Commits
5b916128
Commit
5b916128
authored
May 12, 2023
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
printing gNB MIMO stats only when reported
parent
1268b27c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
12 deletions
+13
-12
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
+3
-0
openair2/LAYER2/NR_MAC_gNB/main.c
openair2/LAYER2/NR_MAC_gNB/main.c
+9
-8
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
+1
-4
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
View file @
5b916128
...
...
@@ -821,6 +821,7 @@ static void extract_pucch_csi_report(NR_CSI_MeasConfig_t *csi_MeasConfig,
evaluate_rsrp_report
(
UE
,
sched_ctrl
,
csi_report_id
,
payload
,
&
cumul_bits
,
reportQuantity_type
);
break
;
case
NR_CSI_ReportConfig__reportQuantity_PR_cri_RI_CQI
:
sched_ctrl
->
CSI_report
.
cri_ri_li_pmi_cqi_report
.
print_report
=
true
;
cri_bitlen
=
csi_report
->
csi_meas_bitlen
.
cri_bitlen
;
if
(
cri_bitlen
)
evaluate_cri_report
(
payload
,
cri_bitlen
,
cumul_bits
,
sched_ctrl
);
...
...
@@ -834,6 +835,7 @@ static void extract_pucch_csi_report(NR_CSI_MeasConfig_t *csi_MeasConfig,
evaluate_cqi_report
(
payload
,
csi_report
,
cumul_bits
,
r_index
,
UE
,
cqi_table
);
break
;
case
NR_CSI_ReportConfig__reportQuantity_PR_cri_RI_PMI_CQI
:
sched_ctrl
->
CSI_report
.
cri_ri_li_pmi_cqi_report
.
print_report
=
true
;
cri_bitlen
=
csi_report
->
csi_meas_bitlen
.
cri_bitlen
;
if
(
cri_bitlen
)
evaluate_cri_report
(
payload
,
cri_bitlen
,
cumul_bits
,
sched_ctrl
);
...
...
@@ -850,6 +852,7 @@ static void extract_pucch_csi_report(NR_CSI_MeasConfig_t *csi_MeasConfig,
evaluate_cqi_report
(
payload
,
csi_report
,
cumul_bits
,
r_index
,
UE
,
cqi_table
);
break
;
case
NR_CSI_ReportConfig__reportQuantity_PR_cri_RI_LI_PMI_CQI
:
sched_ctrl
->
CSI_report
.
cri_ri_li_pmi_cqi_report
.
print_report
=
true
;
cri_bitlen
=
csi_report
->
csi_meas_bitlen
.
cri_bitlen
;
if
(
cri_bitlen
)
evaluate_cri_report
(
payload
,
cri_bitlen
,
cumul_bits
,
sched_ctrl
);
...
...
openair2/LAYER2/NR_MAC_gNB/main.c
View file @
5b916128
...
...
@@ -109,14 +109,15 @@ size_t dump_mac_stats(gNB_MAC_INST *gNB, char *output, size_t strlen, bool reset
avg_rsrp
,
stats
->
num_rsrp_meas
);
output
+=
snprintf
(
output
,
end
-
output
,
"UE %04x: CQI %d, RI %d, PMI (%d,%d)
\n
"
,
UE
->
rnti
,
sched_ctrl
->
CSI_report
.
cri_ri_li_pmi_cqi_report
.
wb_cqi_1tb
,
sched_ctrl
->
CSI_report
.
cri_ri_li_pmi_cqi_report
.
ri
+
1
,
sched_ctrl
->
CSI_report
.
cri_ri_li_pmi_cqi_report
.
pmi_x1
,
sched_ctrl
->
CSI_report
.
cri_ri_li_pmi_cqi_report
.
pmi_x2
);
if
(
sched_ctrl
->
CSI_report
.
cri_ri_li_pmi_cqi_report
.
print_report
)
output
+=
snprintf
(
output
,
end
-
output
,
"UE %04x: CQI %d, RI %d, PMI (%d,%d)
\n
"
,
UE
->
rnti
,
sched_ctrl
->
CSI_report
.
cri_ri_li_pmi_cqi_report
.
wb_cqi_1tb
,
sched_ctrl
->
CSI_report
.
cri_ri_li_pmi_cqi_report
.
ri
+
1
,
sched_ctrl
->
CSI_report
.
cri_ri_li_pmi_cqi_report
.
pmi_x1
,
sched_ctrl
->
CSI_report
.
cri_ri_li_pmi_cqi_report
.
pmi_x2
);
if
(
stats
->
srs_stats
[
0
]
!=
'\0'
)
{
output
+=
snprintf
(
output
,
end
-
output
,
"UE %04x: %s
\n
"
,
UE
->
rnti
,
stats
->
srs_stats
);
...
...
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
View file @
5b916128
...
...
@@ -467,10 +467,6 @@ typedef struct NR_bler_stats {
*/
#define MAX_NR_OF_REPORTED_RS 4
typedef
enum
NR_CSI_Report_Config
{
CSI_Report_PR_cri_ri_li_pmi_cqi_report
,
CSI_Report_PR_ssb_cri_report
}
NR_CSI_Report_Config_PR
;
struct
CRI_RI_LI_PMI_CQI
{
uint8_t
cri
;
uint8_t
ri
;
...
...
@@ -481,6 +477,7 @@ struct CRI_RI_LI_PMI_CQI {
uint8_t
wb_cqi_2tb
;
uint8_t
cqi_table
;
uint8_t
csi_report_id
;
bool
print_report
;
};
typedef
struct
CRI_SSB_RSRP
{
...
...
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