Add MR.NRScSSSINR metric
Implement MR.NRScSSSINR (3GPP TS 28.552 §5.1.1.32): distribution of the NR
serving-cell SS-SINR reported by UEs. Level L maps to (L-46)/2 dB (0.5 dB
steps, range -23..+40.5 dB) per TS 38.133 §10.1.16.
This is the RRC serving-cell SS-SINR (TS 38.331 Measurement Report), so it
is collected at RRC and kept as a per-cell RRC statistic.
- ran_func_kpm.c: introduce kpm_node_meas_cu[] with MR.NRScSSSINR; add it to
kpm_node_meas_gnb[]; wire kpm_node_meas_cu into the ran_def_kpm table for
the CU and CU-CP rows.
- ran_func_kpm_subs.c: add fill_MR_NRScSSSINR(); distBinX (SINR level) is
0-based on the wire (valid range 0..127) and used directly as the array
index, returning RC.nrrrc[0]->ss_sinr_cell_dist[bin]; requests without
distBinX yield NO_VALUE; add dispatch entry to lst_measure[].
- nr_rrc_defs.h: add ss_sinr_cell_dist[128] to gNB_RRC_INST.
- rrc_gNB.c: add nr_rrc_count_ss_sinr_dist(); it reads the serving-cell SINR
of a periodic Measurement Report and increments the histogram. It is
invoked from rrc_gNB_process_MeasurementReport() on the report itself,
before process_Periodical_Measurement_Report() consumes it, so the latter
keeps its original signature. It is always compiled: counting is harmless
when the E2 agent is disabled.
Advertised by CU, CU-CP, and monolithic gNB node types.
Signed-off-by:
Noemi Giustini <giustini.n@northeastern.edu>
Showing
Please register or sign in to comment