Section: 5.3.5.13.4 Conditional reconfiguration evaluation
Content: The UE shall: 1> for each condReconfigId within the VarConditionalReconfig: 2> if the RRCReconfiguration within condRRCReconfig includes the masterCellGroup including the reconfigurationWithSync: 3> if the associated condExecutionCondPSCell is configured: 4> consider the cell which has a physical cell identity matching the value indicated in the ServingCellConfigCommon included in the reconfigurationWithSync within the masterCellGroup in the received condRRCReconfig to be applicable cell; and 4> consider the cell which has a physical cell identity matching the value indicated in the ServingCellConfigCommon included in the reconfigurationWithSync within the secondaryCellGroup within the nr-SCG within the received condRRCReconfig to be applicable cell; 3> else: 4> consider the cell which has a physical cell identity matching the value indicated in the ServingCellConfigCommon included in the reconfigurationWithSync within the masterCellGroup in the received condRRCReconfig to be applicable cell; 2> else if the RRCReconfiguration within condRRCReconfig includes the secondaryCellGroup including the reconfigurationWithSync: 3> if the cell which has a physical cell identity matching the value indicated in the ServingCellConfigCommon included in the reconfigurationWithSync within the secondaryCellGroup within the received condRRCReconfig is not the PSCell: 4> consider the cell to be applicable cell; 2> if condExecutionCondSCG is configured: 3> in the remainder of the procedure, consider each measId indicated in the condExecutionCondSCG as a measId in the VarMeasConfig associated with the SCG measConfig; 2> if the condExecutionCondPSCell is configured: 3> in the remainder of the procedure, consider each measId indicated in the condExecutionCondPSCell as a measId in the VarMeasConfig associated with the MCG measConfig; 2> if condExecutionCond is configured: 3> if it is configured via SRB3 or configured within nr-SCG or within nr-SecondaryCellGroupConfig (specified in TS 36.331[ Evolved Universal Terrestrial Radio Access (E-UTRA); Radio Resource Control (RRC); Protocol specification ] [10]) via SRB1: 4> in the remainder of the procedure, consider each measId indicated in the condExecutionCond as a measId in the VarMeasConfig associated with the SCG measConfig; 3> else: 4> in the remainder of the procedure, consider each measId indicated in the condExecutionCond as a measId in the VarMeasConfig associated with the MCG measConfig; 2> for each measId included in the measIdList within VarMeasConfig indicated in the condExecutionCond, condExecutionCondSCG, or condExecutionCondPSCell associated to condReconfigId: 3> if the condTriggerConfig is not configured with nesEvent: 4> if the condEventId is associated with condEventT1, and if the entry condition applicable for this event associated with the condReconfigId, i.e. the event corresponding with the condEventId(s) of the corresponding condTriggerConfig within VarConditionalReconfig, is fulfilled for the applicable cell; or 4> if the condEventId is associated with condEventD1, and if the entry conditions applicable for this event associated with the condReconfigId, i.e. the event corresponding with the condEventId(s) of the corresponding condTriggerConfig within VarConditionalReconfig, is fulfilled for the applicable cell during the corresponding timeToTrigger defined for this event within the VarConditionalReconfig; or 4> if the condEventId is associated with condEventD2, and if the entry conditions applicable for this event associated with the condReconfigId, i.e., the event corresponding with the condEventId(s) of the corresponding condTriggerConfig within VarConditionalReconfig, is fulfilled for the applicable cell during the corresponding timeToTrigger defined for this event within the VarConditionalReconfig; or 4> if the condEventId is associated with condEventA3, condEventA4 or condEventA5, and if the entry condition(s) applicable for this event associated with the condReconfigId, i.e. the event corresponding with the condEventId(s) of the corresponding condTriggerConfig within VarConditionalReconfig, is fulfilled for the applicable cells for all measurements after layer 3 filtering taken during the corresponding timeToTrigger defined for this event within the VarConditionalReconfig: 5> consider the event associated to that measId to be fulfilled; 4> if the measId for this event associated with the condReconfigId has been modified; or 4> if the condEventId is associated with condEventT1, and if the leaving condition applicable for this event associated with the condReconfigId, i.e. the event corresponding with the condEventId(s) of the corresponding condTriggerConfig within VarConditionalReconfig, is fulfilled for the applicable cell; or 4>if the condEventId is associated with condEventD1, and if the leaving condition(s) applicable for this event associated with the condReconfigId, i.e. the event corresponding with the condEventId(s) of the corresponding condTriggerConfig within VarConditionalReconfig, is fulfilled for the applicable cell during the corresponding timeToTrigger defined for this event within the VarConditionalReconfig; or 4> if the condEventId is associated with condEventD2, and if the leaving condition(s) applicable for this event associated with the condReconfigId, i.e., the event corresponding with the condEventId(s) of the corresponding condTriggerConfig within VarConditionalReconfig, is fulfilled for the applicable cell during the corresponding timeToTrigger defined for this event within the VarConditionalReconfig; or 4> if the condEventId is associated with condEventA3, condEventA4 or condEventA5, and if the leaving condition(s) applicable for this event associated with the condReconfigId, i.e. the event corresponding with the condEventId(s) of the corresponding condTriggerConfig within VarConditionalReconfig, is fulfilled for the applicable cells for all measurements after layer 3 filtering taken during the corresponding timeToTrigger defined for this event within the VarConditionalReconfig: 5> consider the event associated to that measId to be not fulfilled; 3> else: 4> if NES mode indication is received from lower layers, indicating that the NES-specific CHO execution condition is enabled; and 4> if the entry condition(s) applicable for this event associated with the condReconfigId, i.e. the event corresponding with the condEventId(s) of the corresponding condTriggerConfig within VarConditionalReconfig, is fulfilled for the applicable cells for all measurements after layer 3 filtering taken during the corresponding timeToTrigger defined for this event within the VarConditionalReconfig: 5> consider the event associated to that measId to be fulfilled; 4> if the measId for this event associated with the condReconfigId has been modified; or 4> if NES mode indication is received from lower layers, indicating that the NES-specific CHO execution condition is disabled; or 4> if the leaving condition(s) applicable for this event associated with the condReconfigId, i.e. the event corresponding with the condEventId(s) of the corresponding condTriggerConfig within VarConditionalReconfig, is fulfilled for the applicable cells for all measurements after layer 3 filtering taken during the corresponding timeToTrigger defined for this event within the VarConditionalReconfig: 5> consider the event associated to that measId to be not fulfilled; 2> if condExecutionCondPSCell is not configured: 3> if event(s) associated to all measId(s) within condTriggerConfig for the applicable cell are fulfilled: 4> consider the applicable cell, associated to that condReconfigId, as a triggered cell; 4> initiate the conditional reconfiguration execution, as specified in 5.3.5.13.5; 2> else: 3> if event(s) associated to all measId(s), as indicated in the condExecutionCond and condExecutionCondPSCell, within condTriggerConfig for a target candidate cell within the stored condRRCReconfig are fulfilled: 4> consider the target candidate PCell within the stored condRRCReconfig, associated to that condReconfigId, as a triggered PCell; 4> consider the target candidate PSCell within the stored condRRCReconfig, associated to that condReconfigId, as a triggered PSCell; 4> initiate the conditional reconfiguration execution, as specified in 5.3.5.13.5. 2> if one of the events associated to the measIds within condTriggerConfig for the applicable cell within the stored condRRCReconfig is not configured with nesEvent, and the other event associated to the measIds within condTriggerConfig for the applicable cell within the stored condRRCReconfig is configured with nesEvent, and at least one of them is fulfilled: 3> consider the applicable cell within the stored condRRCReconfig, associated to that condReconfigId, as a triggered cell; 3> initiate the conditional reconfiguration execution, as specified in 5.3.5.13.5; NOTE 1: Up to 2 MeasId can be configured for each condReconfigId, if condExecutionCondPSCell is not configured. The conditional reconfiguration event of the 2 MeasId may have the same or different event conditions, triggering quantity, time to trigger, and triggering threshold. NOTE 2: Void. NOTE 3: For CHO with candidate SCGs, up to 2 MeasId can be configured for condExecutionCond and up to 2 MeasId can be configured for condExecutionCondPSCell for each condReconfigId.