upon reception of sk-Counter as specified in TS 36.331:
3 >
update the S-KgNB key based on the KeNB key and using the received sk-Counter value, as specified in TS 33.401 for EN-DC, or TS 33.501 for NGEN-DC;
3 >
derive the KRRCenc and KUPenc keys as specified in TS 33.401 for EN-DC, or TS 33.501 for NGEN-DC;
3 >
derive the KRRCint and KUPint keys as specified in TS 33.401 for EN-DC or TS 33.501 for NGEN-DC.
1 >
else if this procedure was initiated due to reception of the masterKeyUpdate:
2 >
if the nas-Container is included in the received masterKeyUpdate:
3 >
forward the nas-Container to the upper layers;
2 >
if the keySetChangeIndicator is set to true:
3 >
derive or update the KgNB key based on the KAMF key, as specified in TS 33.501;
2 >
else:
3 >
derive or update the KgNB key based on the current KgNB key or the NH, using the nextHopChainingCount value indicated in the received masterKeyUpdate, as specified in TS 33.501;
2 >
store the nextHopChainingCount value;
2 >
derive the keys associated with the KgNB key as follows:
3 >
if the securityAlgorithmConfig is included in SecurityConfig:
4 >
derive the KRRCenc and KUPenc keys associated with the cipheringAlgorithm indicated in the securityAlgorithmConfig, as specified in TS 33.501;
4 >
derive the KRRCint and KUPint keys associated with the integrityProtAlgorithm indicated in the securityAlgorithmConfig, as specified in TS 33.501;
3 >
else:
4 >
derive the KRRCenc and KUPenc keys associated with the current cipheringAlgorithm, as specified in TS 33.501;
4 >
derive the KRRCint and KUPint keys associated with the current integrityProtAlgorithm, as specified in TS 33.501.
1 >
else if this procedure was initiated due to reception of the sk-Counter (UE is in NE-DC, or NR-DC, or is configured with SN terminated bearer(s)) or if the procedure was initiated due to selection of an sk-Counter for conditional reconfiguration execution for subsequent CPAC (UE is in NR-DC):
2 >
derive or update the secondary key (S-KgNB or S-KeNB) based on the KgNB key and using the received or selected sk-Counter value, as specified in TS 33.501;
2 >
derive the KRRCenc key and the KUPenc key as specified in TS 33.501 using the ciphering algorithms indicated in the RadioBearerConfig associated with the secondary key (S-KgNB or S-KeNB) as indicated by keyToUse;
2 >
derive the KRRCint key and the KUPint key as specified in TS 33.501 using the integrity protection algorithms indicated in the RadioBearerConfig associated with the secondary key (S-KgNB or S-KeNB) as indicated by keyToUse;
if the UE is unable to comply with (part of) the configuration included in the RRCReconfiguration message received over SRB3;
3 >
if the RRCReconfiguration message was received as part of ConditionalReconfiguration:
4 >
continue using the configuration used prior to when the inability to comply with the RRCReconfiguration message was detected;
3 >
else:
4 >
continue using the configuration used prior to the reception of RRCReconfiguration message;
3 >
if MCG transmission is not suspended:
4 >
initiate the SCG failure information procedure as specified in clause 5.7.3 to report SCG reconfiguration error, upon which the connection reconfiguration procedure ends;
3 >
else:
4 >
initiate the connection re-establishment procedure as specified in clause 5.3.7 of TS 36.331, upon which the connection reconfiguration procedure ends;
2 >
else, if the UE is unable to comply with (part of) the configuration included in the RRCReconfiguration message received over SRB1;
3 >
if the RRCReconfiguration message was received as part of ConditionalReconfiguration:
4 >
continue using the configuration used prior to when the inability to comply with the RRCReconfiguration message was detected;
3 >
else:
4 >
continue using the configuration used prior to the reception of RRCReconfiguration message;
3 >
initiate the connection re-establishment procedure as specified in clause 5.3.7 of TS 36.331, upon which the connection reconfiguration procedure ends.
1 >
else if RRCReconfiguration is received via NR (i.e., NR standalone, NE-DC, or NR-DC):
2 >
if the UE is unable to comply with (part of) the configuration included in the RRCReconfiguration message received over SRB3;
3 >
if the RRCReconfiguration message was received as part of ConditionalReconfiguration; or,
3 >
if the RRCReconfiguration message was received as part of ltm-Config:
4 >
continue using the configuration used prior to when the inability to comply with the RRCReconfiguration message was detected;
3 >
else:
4 >
continue using the configuration used prior to the reception of RRCReconfiguration message;
3 >
if MCG transmission is not suspended:
4 >
initiate the SCG failure information procedure as specified in clause 5.7.3 to report SCG reconfiguration error, upon which the connection reconfiguration procedure ends;
3 >
else:
4 >
initiate the connection re-establishment procedure as specified in clause 5.3.7, upon which the connection reconfiguration procedure ends;
2 >
else if the UE is unable to comply with (part of) the configuration included in the RRCReconfiguration message received over the SRB1 or if the upper layers indicate that the nas-Container is invalid:
3 >
if the RRCReconfiguration message was received as part of ConditionalReconfiguration; or,
3 >
if the RRCReconfiguration message was received as part of ltm-Config:
4 >
continue using the configuration used prior to when the inability to comply with the RRCReconfiguration message was detected;
3 >
else:
4 >
continue using the configuration used prior to the reception of RRCReconfiguration message;
3 >
if AS security has not been activated:
4 >
perform the actions upon going to RRC_IDLE as specified in clause 5.3.11, with release cause 'other'
3 >
else if AS security has been activated but SRB2 and at least one DRB or multicast MRB or, for IAB and NCR, SRB2, have not been setup:
4 >
perform the actions upon going to RRC_IDLE as specified in clause 5.3.11, with release cause 'RRC connection failure';
3 >
else:
4 >
initiate the connection re-establishment procedure as specified in clause 5.3.7, upon which the reconfiguration procedure ends;
1 >
else if RRCReconfiguration is received via other RAT (Handover to NR failure):
2 >
if the UE is unable to comply with any part of the configuration included in the RRCReconfiguration message or if the upper layers indicate that the nas-Container is invalid:
3 >
perform the actions defined for this failure case as defined in the specifications applicable for the other RAT.
if the target L2 U2N Relay UE (i.e., the UE indicated by targetRelayUE-Identity in the received RRCReconfiguration message containing reconfigurationWithSync indicating path switch as specified in clause 5.3.5.5.2) changes its serving PCell before path switch:
2 >
release dedicated preambles provided in rach-ConfigDedicated if configured;
2 >
release dedicated msgA PUSCH resources provided in rach-ConfigDedicated if configured;
2 >
if any DAPS bearer is configured, and radio link failure is not detected in the source PCell, according to clause 5.3.10.3:
3 >
reset MAC for the target PCell and release the MAC configuration for the target PCell;
3 >
for each DAPS bearer:
4 >
release the RLC entity or entities as specified in clause 5.1.3 of TS 38.322, and the associated logical channel for the target PCell;
4 >
reconfigure the PDCP entity to release DAPS as specified in TS 38.323;
3 >
for each SRB:
4 >
if the masterKeyUpdate was not received:
5 >
configure the PDCP entity for the source PCell with state variables continuation as specified in TS 38.323;
4 >
release the PDCP entity for the target PCell;
4 >
release the RLC entity as specified in clause 5.1.3 of TS 38.322, and the associated logical channel for the target PCell;
4 >
trigger the PDCP entity for the source PCell to perform SDU discard as specified in TS 38.323;
4 >
re-establish the RLC entity for the source PCell;
3 >
release the physical channel configuration for the target PCell;
3 >
discard the keys used in target PCell (the KgNB key, the KRRCenc key, the KRRCint key, the KUPint key and the KUPenc key), if any;
3 >
resume suspended SRBs in the source PCell;
3 >
for each non-DAPS bearer:
4 >
revert back to the UE configuration used for the DRB or multicast MRB in the source PCell, includes PDCP, RLC states variables, the security configuration and the data stored in transmission and reception buffers in PDCP and RLC entities ;
3 >
revert back to the UE measurement configuration used in the source PCell;
3 >
store the handover failure information in VarRLF-Report as described in the clause 5.3.10.5;
3 >
initiate the failure information procedure as specified in clause 5.7.5 to report DAPS handover failure.
2 >
else:
3 >
revert back to the UE configuration used in the source PCell;
3 >
if the associated T304 was not initiated upon cell selection performed while timer T311 was running, as defined in clause 5.3.7.3:
4 >
store the handover failure information in VarRLF-Report as described in the clause 5.3.10.5;
3 >
initiate the connection re-establishment procedure as specified in clause 5.3.7.
1 >
else if T304 of a secondary cell group expires:
2 >
if MCG transmission is not suspended:
3 >
release dedicated preambles provided in rach-ConfigDedicated, if configured;
3 >
release dedicated msgA PUSCH resources provided in rach-ConfigDedicated, if configured;
3 >
initiate the SCG failure information procedure as specified in clause 5.7.3 to report SCG reconfiguration with sync failure, upon which the RRC reconfiguration procedure ends;
2 >
else:
3 >
if the UE is in NR-DC:
4 >
initiate the connection re-establishment procedure as specified in clause 5.3.7;
if the received otherConfig includes the delayBudgetReportingConfig:
2 >
if delayBudgetReportingConfig is set to setup:
3 >
consider itself to be configured to send delay budget reports in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to send delay budget reports and stop timer T342, if running.
1 >
if the received otherConfig includes the overheatingAssistanceConfig:
2 >
if overheatingAssistanceConfig is set to setup:
3 >
consider itself to be configured to provide overheating assistance information in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide overheating assistance information and stop timer T345, if running;
1 >
if the received otherConfig includes the idc-AssistanceConfig:
2 >
if idc-AssistanceConfig is set to setup:
3 >
consider itself to be configured to provide IDC assistance information in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide IDC assistance information;
1 >
if the received otherConfig includes the drx-PreferenceConfig:
2 >
if drx-PreferenceConfig is set to setup:
3 >
consider itself to be configured to provide its preference on DRX parameters for power saving for the cell group in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide its preference on DRX parameters for power saving for the cell group and stop timer T346a associated with the cell group, if running;
1 >
if the received otherConfig includes the maxBW-PreferenceConfig:
2 >
if maxBW-PreferenceConfig is set to setup:
3 >
consider itself to be configured to provide its preference on the maximum aggregated bandwidth for power saving for the cell group in accordance with clause 5.7.4;
3 >
if otherConfig includes maxBW-PreferenceConfigFR2-2:
4 >
consider itself to be configured to provide its preference on the maximum aggregated bandwidth for FR2-2 for power saving for the cell group in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide its preference on the maximum aggregated bandwidth for power saving for the cell group and stop timer T346b associated with the cell group, if running;
1 >
if the received otherConfig includes the maxCC-PreferenceConfig:
2 >
if maxCC-PreferenceConfig is set to setup:
3 >
consider itself to be configured to provide its preference on the maximum number of secondary component carriers for power saving for the cell group in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide its preference on the maximum number of secondary component carriers for power saving for the cell group and stop timer T346c associated with the cell group, if running;
1 >
if the received otherConfig includes the maxMIMO-LayerPreferenceConfig:
2 >
if maxMIMO-LayerPreferenceConfig is set to setup:
3 >
consider itself to be configured to provide its preference on the maximum number of MIMO layers for power saving for the cell group in accordance with clause 5.7.4;
3 >
if otherConfig includes maxMIMO-LayerPreferenceConfigFR2-2:
4 >
consider itself to be configured to provide its preference on the maximum number of MIMO layers for FR2-2 for power saving for the cell group in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide its preference on the maximum number of MIMO layers for power saving for the cell group and stop timer T346d associated with the cell group, if running;
1 >
if the received otherConfig includes the minSchedulingOffsetPreferenceConfig:
2 >
if minSchedulingOffsetPreferenceConfig is set to setup:
3 >
consider itself to be configured to provide its preference on the minimum scheduling offset for cross-slot scheduling for power saving for the cell group in accordance with clause 5.7.4;
3 >
if otherConfig includes minSchedulingOffsetPreferenceConfigExt:
4 >
consider itself to be configured to provide its preference on the minimum scheduling offset for 480 kHz SCS and/or 960 kHz SCS for cross-slot scheduling for power saving for the cell group in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide its preference on the minimum scheduling offset for cross-slot scheduling for power saving for the cell group and stop timer T346e associated with the cell group, if running;
1 >
if the received otherConfig includes the releasePreferenceConfig:
2 >
if releasePreferenceConfig is set to setup:
3 >
consider itself to be configured to provide assistance information to transition out of RRC_CONNECTED in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide assistance information to transition out of RRC_CONNECTED and stop timer T346f, if running.
1 >
if the received otherConfig includes the obtainCommonLocation:
2 >
include available detailed location information for any subsequent measurement report or any subsequent RLF report, SCGFailureInformation and successful handover report;
1 >
if the received otherConfig includes the btNameList:
2 >
if btNameList is set to setup, include available Bluetooth measurement results for any subsequent measurement report or any subsequent RLF report and SCGFailureInformation;
1 >
if the received otherConfig includes the wlanNameList:
2 >
if wlanNameList is set to setup, include available WLAN measurement results for any subsequent measurement report or any subsequent RLF report and SCGFailureInformation;
1 >
if the received otherConfig includes the sensorNameList:
2 >
if sensorNameList is set to setup, include available Sensor measurement results for any subsequent measurement report or any subsequent RLF report and SCGFailureInformation;
1 >
if the received otherConfig includes the sl-AssistanceConfigNR:
2 >
consider itself to be configured to provide configured grant assistance information for NR sidelink communication in accordance with clause 5.7.4;
1 >
if the received otherConfig includes the referenceTimePreferenceReporting:
2 >
consider itself to be configured to provide UE reference time assistance information in accordance with clause 5.7.4;
1 >
else:
2 >
consider itself not to be configured to provide UE reference time assistance information;
1 >
if the received otherConfig includes the successHO-Config:
2 >
consider itself to be configured to provide the successful handover information in accordance with clause 5.7.10.6;
1 >
else:
2 >
consider itself not to be configured to provide the successful handover information.
1 >
if the received otherConfig includes the successPSCell-Config:
2 >
if thresholdPercentageT304-SCG is included:
3 >
consider itself to be configured by the target PSCell to provide the successful PSCell change or addition information in accordance with clause 5.7.10.7;
2 >
else if sn-InitiatedPSCellChange is included:
3 >
consider itself to be configured by the source PSCell to provide the successful PSCell change or addition information in accordance with clause 5.7.10.7;
2 >
else:
3 >
consider itself to be configured by the PCell to provide the successful PSCell change or addition information in accordance with clause 5.7.10.7;
1 >
else:
2 >
consider itself not to be configured to provide the successful PSCell change or addition information.
1 >
if the received otherConfig includes the ul-GapFR2-PreferenceConfig:
2 >
consider itself to be configured to provide its preference on FR2 UL gap in accordance with clause 5.7.4;
1 >
else:
2 >
consider itself not to be configured to provide its preference on FR2 UL gap;
1 >
if the received otherConfig includes the musim-GapAssistanceConfig:
2 >
if musim-GapAssistanceConfig is set to setup:
3 >
consider itself to be configured to provide MUSIM assistance information for gap preference in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide MUSIM assistance information for gap preference and stop timer T346h, if running;
1 >
if the received otherConfig includes the musim-LeaveAssistanceConfig:
2 >
if musim-LeaveAssistanceConfig is set to setup:
3 >
consider itself to be configured to provide MUSIM assistance information for leaving RRC_CONNECTED in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide MUSIM assistance information for leaving RRC_CONNECTED and stop timer T346g, if running.
1 >
if the received otherConfig includes the musim-GapPriorityAssistanceConfig:
2 >
consider itself to be configured to provide MUSIM assistance information for gap(s) priority in accordance with clause 5.7.4;
1 >
else:
2 >
consider itself not to be configured to provide MUSIM assistance information for gap(s) priority;
1 >
if the received otherConfig includes the musim-CapabilityRestrictionConfig:
2 >
if musim-CapabilityRestrictionConfig is set to setup:
3 >
consider itself to be configured to provide MUSIM assistance information for capability restriction in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide MUSIM assistance information for capability restriction and stop timer T348 and T346n, if running;
1 >
if the received otherConfig includes the rlm-RelaxationReportingConfig:
2 >
if rlm-RelaxationReportingConfig is set to setup:
3 >
consider itself to be configured to report the relaxation state of RLM measurements in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to report the relaxation state of RLM measurements and stop timer T346j associated with the cell group, if running;
1 >
if the received otherConfig includes the bfd-RelaxationReportingConfig:
2 >
if bfd-RelaxationReportingConfig is set to setup:
3 >
consider itself to be configured to report the relaxation state of BFD measurements in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to report the relaxation state of BFD measurements and stop timer T346k associated with the cell group, if running;
1 >
if the received otherConfig includes the scg-DeactivationPreferenceConfig:
2 >
if the scg-DeactivationPreferenceConfig is set to setup:
3 >
consider itself to be configured to provide its SCG deactivation preference in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide its SCG deactivation preference and stop timer T346i, if running.
1 >
if the received otherConfig includes the propDelayDiffReportConfig:
2 >
if the propDelayDiffReportConfig is set to setup:
3 >
consider itself to be configured to provide service link propagation delay difference between serving cell and neighbour cell(s) in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide service link propagation delay difference between serving cell and neighbour cell(s).
1 >
if the received otherConfig includes the rrm-MeasRelaxationReportingConfig:
2 >
if the rrm-MeasRelaxationReportingConfig is set to setup:
3 >
consider itself to be configured to report the fulfilment of the criterion for relaxing RRM measurements in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to report the fulfilment of the criterion for relaxing RRM measurements.
1 >
if the received otherConfig includes the multiRx-PreferenceReportingConfigFR2:
2 >
if the multiRx-PreferenceReportingConfigFR2 is set to setup:
3 >
consider itself to be configured to provide its preference on multi-Rx operation for FR2 in accordance with 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide its preference on multi-Rx operation for FR2 and stop timer T346m, if running.
1 >
if the received otherConfig includes the uav-FlightPathAvailabilityConfig:
2 >
consider itself to be configured to indicate the availability of flight path information in accordance with clause 5.7.4;
1 >
if the received otherConfig includes the ul-TrafficInfoReportingConfig:
2 >
if ul-TrafficInfoReportingConfig is set to setup:
3 >
consider itself to be configured to provide UL traffic information in accordance with clause 5.7.4;
2 >
else:
3 >
consider itself not to be configured to provide UL traffic information and stop all instances of timer T346x, if running.
for each musim-GapId included in the received musim-GapToReleaseList:
3 >
release the periodic MUSIM gap configuration associated with the musim-GapId;
2 >
for each MUSIM-Gap included in the received musim-GapToAddModList:
3 >
setup periodic MUSIM gap configuration indicated by the MUSIM-Gap in accordance with the received musim-GapRepetitionAndOffset (providing musim-GapRepetition and Offset value for the following condition) i.e. the first subframe of each periodic MUSIM gap occurs at an SFN and subframe of the NR PCell meeting the following condition:
SFN mod T = FLOOR(Offset/10);
subframe = Offset mod 10;
with T = musim-GapRepetition/10;
3 >
set the MUSIM gap priority configuration indicated by musim-GapPriorityToAddModList, if configured, for each periodic MUSIM gap;
3 >
set the musim-GapKeep, if all collided MUSIM gaps are configured to be kept;
2 >
if musim-AperiodicGap is included:
3 >
setup aperiodic MUSIM gap configuration indicated by the musim-AperiodicGap in accordance with the received musim-Starting-SFN-AndSubframe, i.e. the first subframe of aperiodic MUSIM gap occurs at an SFN and subframe of the NR PCell meeting the following condition: