Section: 5.7.10.7 Actions for the successful PSCell change or addition report determination
Content: The UE shall for the PSCell: 1> if the ratio between the value of the elapsed time of the timer T304 and the configured value of the timer T304, included in the last applied RRCReconfiguration message for the SCG including the reconfigurationWithSync, is greater than thresholdPercentageT304-SCG if included in the successPSCell-Config received before executing the last reconfiguration with sync for the SCG; or 1> if sn-InitiatedPSCellChange is configured in the RRCReconfiguration including the last applied RRCReconfiguration with reconfigurationWithSync for the SCG and if the ratio between the value of the elapsed time of the timer T310 and the configured value of the timer T310, configured while the UE was connected to the source PSCell before executing the last reconfiguration with sync for the SCG, is greater than thresholdPercentageT310-SCG included in the successPSCell-Config if configured by the source PSCell before executing the last reconfiguration with sync; or 1> if sn-InitiatedPSCellChange is configured in the RRCReconfiguration including the last applied RRCReconfiguration with reconfigurationWithSync for the SCG and if the T312 associated to the measurement identity of the target PSCell was running at the time of initiating the execution of the reconfiguration with sync procedure for the SCG and if the ratio between the value of the elapsed time of the timer T312 and the configured value of the timer T312, configured while the UE was connected to the source PSCell before executing the last reconfiguration with sync, is greater than thresholdPercentageT312-SCG included in the successPSCell-Config if configured by the source PSCell before executing the last reconfiguration with sync: 1> if sn-InitiatedPSCellChange is not configured in the RRCReconfiguration including the last applied RRCReconfiguration with reconfigurationWithSync for the SCG and if the ratio between the value of the elapsed time of the timer T310 and the configured value of the timer T310, configured while the UE was connected to the source PSCell before executing the last reconfiguration with sync for the SCG, is greater than thresholdPercentageT310-SCG included in the successPSCell-Config if configured by the PCell before executing the last reconfiguration with sync; or 1> if sn-InitiatedPSCellChange is not configured in the RRCReconfiguration including the last applied RRCReconfiguration with reconfigurationWithSync for the SCG and if the T312 associated to the measurement identity of the target PSCell was running at the time of initiating the execution of the reconfiguration with sync procedure for the SCG and if the ratio between the value of the elapsed time of the timer T312 and the configured value of the timer T312, configured while the UE was connected to the source PSCell before executing the last reconfiguration with sync, is greater than thresholdPercentageT312-SCG included in the successPSCell-Config if configured by the PCell before executing the last reconfiguration with sync: 2> clear the information included in VarSuccessPSCell-Report, if any; 2> store the successful PSCell change or addition information in VarSuccessPSCell-Report and determine the content in VarSuccessPSCell-Report as follows: 3> if the UE is not in SNPN access mode, set the plmn-IdentityList to include the list of EPLMNs stored by the UE (i.e., includes the RPLMN); 3> else if the UE is in SNPN access mode, set the snpn-IdentityList to include the list of equivalent SNPNs stored by the UE (i.e., includes the registered SNPN), if available; 3> set the pCellId to the global cell identity and tracking area code, if available, of the PCell; 3> for the source PSCell (if available) in which the last RRCReconfiguration message for the SCG including reconfigurationWithSync was applied: 4> set the sourcePSCellId in sourcePSCellInfo to the global cell identity and tracking area code, of the source PSCell; 4> set the sourcePSCellMeas in sourcePSCellInfo to include the cell level RSRP, RSRQ and the available SINR, of the source PSCell based on the available SSB and CSI-RS measurements collected up to the moment the UE successfully completed the random access procedure for the SCG; 4> set the rsIndexResults in sourceCellMeas to include all the available SSB and CSI-RS measurement quantities of the source PSCell collected up to the moment the UE successfully completed the random access procedure for the SCG; 3> for the target PSCell indicated in the last applied RRCReconfiguration message for the SCG including reconfigurationWithSync: 4> set the targetPSCellID in targetPSCellInfo to the global cell identity and tracking area code, if available, and otherwise to the physical cell identity and carrier frequency of the target PSCell; 4> set the targetPSCellMeas in targetPSCellInfo to include the cell level RSRP, RSRQ and the available SINR, of the target PSCell based on the available SSB and CSI-RS measurements collected up to the moment the UE successfully completed the random access procedure for the SCG; 4> set the rsIndexResults in targetCellMeas to include all the available SSB and CSI-RS measurement quantities of the target PSCell collected up to the moment the UE successfully completed the random access procedure for the SCG; 4> if the last applied RRCReconfiguration message for the SCG including reconfigurationWithSync was included in the stored condRRCReconfig: 5> set the timeSinceCPAC-Reconfig to the time elapsed between the initiation of the execution of conditional reconfiguration for the target PSCell and the reception of the last conditionalReconfiguration for the SCG including the condRRCReconfig of the target PSCell; 3> if the ratio between the value of the elapsed time of the timer T304 and the configured value of the T304 timer, included in the last applied RRCReconfiguration message for the SCG including the reconfigurationWithSync, is greater than thresholdPercentageT304-SCG if included in the successPSCell-Config received before executing the last reconfiguration with sync for the SCG: 4> set t304-cause in spr-Cause to true; 4> set the ra-InformationCommon to include the random-access related information associated to the random access procedure in the target PSCell, as specified in clause 5.7.10.5; 3> if the ratio between the value of the elapsed time of the timer T310 and the configured value of the timer T310, configured while the UE was connected to the source PSCell before executing the last reconfiguration with sync for the SCG, is greater than thresholdPercentageT310-SCG included in the successPSCell-Config if configured before executing the last reconfiguration with sync: 4> set t310-cause in spr-Cause to true; 3> if the T312 associated to the measurement identity of the target PSCell was running at the time of initiating the execution of the reconfiguration with sync procedure for the SCG and if the ratio between the value of the elapsed time of the timer T312 and the configured value of the timer T312, configured while the UE was connected to the source PSCell before executing the last reconfiguration with sync, is greater than thresholdPercentageT312-SCG included in the successPSCell-Config if configured before executing the last reconfiguration with sync: 4> set t312-cause in spr-Cause to true; 3> if sn-InitiatedPSCellChange is configured in the RRCReconfiguration including the last applied RRCReconfiguration with reconfigurationWithSync for the SCG: 4> consider all measObjectNR configured by the the source PSCell; 3> else: 4> consider all measObjectNR configured by the the PCell; 3> for each of the measObjectNR: 4> if measurements are available for the measObjectNR: 5> if the SS/PBCH block-based measurement quantities are available: 6> include in the measResultListNR in measResultNeighCells all the available measurement quantities of the best measured cells, other than the source PCell or target PCell, ordered such that the cell with highest SS/PBCH block RSRP is listed first if SS/PBCH block RSRP measurement results are available, otherwise the cell with highest SS/PBCH block RSRQ is listed first if SS/PBCH block RSRQ measurement results are available, otherwise the cell with highest SS/PBCH block SINR is listed first, based on the available SS/PBCH block based measurements collected up to the moment the UE successfully completed the random access procedure; 6> for each neighbour cell included, include the optional fields that are available (including the CSI-RS based measurement quantities, if available); 5> if the CSI-RS measurement quantities are available for the cells not yet included in measResultListNR in measResultNeighCells: 6> include in the measResultListNR in measResultNeighCells all the available measurement quantities of the best measured cells, other than the source PCell and target PCell, ordered such that the cell with highest CSI-RS RSRP is listed first if CSI-RS RSRP measurement results are available, otherwise the cell with highest CSI-RS RSRQ is listed first if CSI-RS RSRQ measurement results are available, otherwise the cell with highest CSI-RS SINR is listed first, based on the available CSI-RS based measurements collected up to the moment the UE successfully completed the random access procedure; 6> for each neighbour cell included, include the optional fields that are available; 3> for each of the neighbour cells included in measResultNeighCells: 4> if the cell was a candidate target cell included in the condRRCReconfig within the conditionalReconfiguration, in which the last RRCReconfiguration message for the SCG including reconfigurationWithSync was applied: 5> set the choCandidate to true in measResultNR; 3> include sn-InitiatedPSCellChange if sn-InitiatedPSCellChange is included in the RRCReconfiguration including the applied RRCReconfiguration message with reconfigurationWithSync for the SCG; 3> if sn-InitiatedPSCellChange is configured in the RRCReconfiguration including the last applied RRCReconfiguration with reconfigurationWithSync for the SCG: 4> if available, set the locationInfo as in 5.3.3.7 7 according to the otherConfig associated with the source PSCell; 3> else: 4> if available, set the locationInfo as in 5.3.3.7 7 according to the otherConfig associated with the PCell; 1> release successPSCell-Config configured by the source PSCell if available and thresholdPercentageT304 if configured by the target PSCell. The UE may discard the successful PSCell change or addition information, i.e., release the UE variable VarSuccessPSCell-Report, 48 hours after the last successful PSCell change or addition information is added to the VarSuccessPSCell-Report or upon detaching from the network.