Rework CARR.PDSCHMCSDist metric
CARR.PDSCHMCSDist (3GPP TS 28.552 §5.1.1.12.1) and its du_stats histogram
already existed, but the metric was never collected and the reader indexed
the histogram incorrectly. Rework it into a correct PRB-weighted 3D
histogram over (rank, MCS-table, MCS-index).
- gNB_scheduler_dlsch.c: add the missing collection hook in the DL
scheduling path; increment the (rank, MCS-table, MCS) bin by the number of
scheduled PRBs on each PDSCH. mcsTableIdx is 0-based (0..2), so it is used
directly to index the MCS-table axis of the histogram.
- ran_func_kpm_subs.c: make fill_CARR_PDSCHMCSDist() fully label-driven;
reject with NO_VALUE if any of distBinX/Y/Z is absent. distBinX (rank) and
distBinY (MCS table) are 1-based on the wire and converted to 0-based
indices; distBinZ (MCS index) is already 0-based and used directly, reading
du_stats->pdsch_mcs_dist[rank-1][table-1][mcs].
Carried as E2SM-KPM Style 1 measurement (Indication Message Format 1) with
standard MeasurementLabel fields distBinX/Y/Z (INTEGER 1..65535).
Advertised by DU and monolithic gNB node types.
Signed-off-by:
Noemi Giustini <giustini.n@northeastern.edu>
Showing
Please register or sign in to comment