Section: 5.7.3.4 Setting the contents of MeasResultSCG-Failure
Content: The UE shall set the contents of the MeasResultSCG-Failure as follows: 1> for each MeasObjectNR configured on NR SCG for which a measId is configured and measurement results are available: 2> include an entry in measResultPerMOList; 2> if there is a measId configured with the MeasObjectNR and a reportConfig which has rsType set to ssb: 3> set ssbFrequency to the value indicated by ssbFrequency as included in the MeasObjectNR; 2> if there is a measId configured with the MeasObjectNR and a reportConfig which has rsType set to csi-rs: 3> set refFreqCSI-RS to the value indicated by refFreqCSI-RS as included in the associated measurement object; 2> if a serving cell is associated with the MeasObjectNR: 3> set measResultServingCell to include the available quantities of the concerned cell and in accordance with the performance requirements in TS 38.133[ NR; Requirements for support of radio resource management ]  [14]; 2> set the measResultNeighCellList to include the best measured cells, ordered such that the best cell is listed first, and based on measurements collected up to the moment the UE detected the failure, and set its fields as follows; 3> ordering the cells with sorting as follows: 4> based on SS/PBCH block if SS/PBCH block measurement results are available and otherwise based on CSI-RS; 4> using RSRP if RSRP measurement results are available, otherwise using RSRQ if RSRQ measurement results are available, otherwise using SINR; 3> for each neighbour cell included: 4> include the optional fields that are available. NOTE: The measured quantities are filtered by the L3 filter as configured in the mobility measurement configuration. The measurements are based on the time domain measurement resource restriction, if configured. Exclude-listed cells are not required to be reported. 1> if available, set the locationInfo as in 5.3.3.7 according to the otherConfig associated with the NR SCG.