openairinterface5G merge requestshttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests2023-10-09T17:32:53Zhttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/2152Draft: L1 and L3 measurements for the active and neighboring cells2023-10-09T17:32:53ZRoberto Louro MaguetaDraft: L1 and L3 measurements for the active and neighboring cells_4th MR related to the sequence of handover MRs (MR https://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/2111)_
- A3 event configuration in gNB
- L1 and L3 measurements for the active and neighboring cells
- Implementation ..._4th MR related to the sequence of handover MRs (MR https://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/2111)_
- A3 event configuration in gNB
- L1 and L3 measurements for the active and neighboring cells
- Implementation of procedures related to MeasurementReport
In the code, we have this LOG:
```
LOG_D(NR_RRC, "[%s][Nid_cell %i] Received %s measurements: RSRP = %i (dBm)\n",
NR_RRC_MAC_MEAS_DATA_IND(msg_p).is_neighboring_cell == 0 ? "Active cell" : "Neighboring cell",
NR_RRC_MAC_MEAS_DATA_IND(msg_p).Nid_cell,
NR_RRC_MAC_MEAS_DATA_IND(msg_p).meas_type == 0 ? "SS" : "CSI",
NR_RRC_MAC_MEAS_DATA_IND(msg_p).rsrp_dBm-157);
```
Which, if activated, puts LOGs in the UE terminal like:
```
[NR_RRC] [Neighboring cell][Nid_cell 1] Received SS measurements: RSRP = -44 (dBm)
[NR_RRC] [Active cell][Nid_cell 0] Received SS measurements: RSRP = -44 (dBm)
[NR_RRC] [Active cell][Nid_cell 0] Received CSI measurements: RSRP = -44 (dBm)
```
For a detailed debug of measurements in the PHY layer, the following line can be uncommented:
`//#define DEBUG_MEAS_NEIGHBORING_CELL`Thomas Laurentlaurent.thomas@open-cells.comThomas Laurentlaurent.thomas@open-cells.com