Tech-invite3GPPspaceIETFspace
21222324252627282931323334353637384‑5x

Content for  TS 38.331  Word version:  18.0.0

Top   Top   Up   Prev   Next
1…   4…   5…   5.2.2.4…   5.3…   5.3.3…   5.3.5…   5.3.5.5…   5.3.5.6…   5.3.5.7…   5.3.5.13…   5.3.5.17…   5.3.6…   5.3.8…   5.3.13…   5.3.14…   5.4…   5.5…   5.5.3…   5.5.4…   5.5.4.15…   5.5.4.23…   5.5.5…   5.5a…   5.7…   5.7.4…   5.7.8…   5.7.12…   5.8…   5.8.9…   5.8.9.2…   5.8.9.8…   5.8.10…   5.8.11…   5.9…   5.10…   6…   6.2.2…   6-2-2-23…   6-2-2-27…   6-2-2-43…   6-2-2-47…   6.3…   6.3.2…   6-3-2-27…   6-3-2-49…   6-3-2-73…   6-3-2-95…   6-3-2-108…   6-3-2-134…   6-3-2-162…   6-3-2-188…   6-3-2-213…   6-3-2-243…   6-3-2-271…   6-3-2-297…   6-3-2-341…   6.3.3…   6-3-3-25…   6-3-3-51…   6.3.4…   6.3.5…   6-3-5-25…   6.3.6…   6.4…   7…   9…   11…   A…   A.4…   B…

 

5.3.3  RRC connection establishmentp. 75

5.3.3.1  Generalp. 75

Reproduction of 3GPP TS 38.331, Fig. 5.3.3.1-1: RRC connection establishment, successful
Up
Reproduction of 3GPP TS 38.331, Fig. 5.3.3.1-2: RRC connection establishment, network reject
Up
The purpose of this procedure is to establish an RRC connection. RRC connection establishment involves SRB1 establishment. The procedure is also used to transfer the initial NAS dedicated information/ message from the UE to the network.
The network applies the procedure e.g.as follows:
  • When establishing an RRC connection;
  • When UE is resuming or re-establishing an RRC connection, and the network is not able to retrieve or verify the UE context. In this case, UE receives RRCSetup and responds with RRCSetupComplete.
Up

5.3.3.1a  Conditions for establishing RRC Connection for NR sidelink communication/discovery/V2X sidelink communicationp. 75

For NR sidelink communication/discovery, an RRC connection establishment is initiated only in the following cases:
1 >
if configured by upper layers to transmit NR sidelink communication and related data is available for transmission:
2 >
if the frequency on which the UE is configured to transmit NR sidelink communication is included in sl-FreqInfoList/sl-FreqInfoListSizeExt within SIB12 provided by the cell on which the UE camps; and if the valid version of SIB12 does not include sl-TxPoolSelectedNormal for the concerned frequency;
1 >
if configured by upper layers to transmit NR sidelink discovery and related data is available for transmission:
2 >
if the UE is configured by upper layers to transmit NR sidelink L2 U2N relay discovery messages and sl-L2U2N-Relay is included in SIB12; or
2 >
if the UE is configured by upper layers to transmit NR sidelink L3 U2N relay discovery messages and sl-L3U2N-RelayDiscovery is included in SIB12; or
2 >
if the UE is configured by upper layers to transmit NR sidelink non-relay discovery messages and sl-NonRelayDiscovery is included in SIB12:
3 >
if the frequency on which the UE is configured to transmit NR sidelink discovery is included in sl-FreqInfoList/sl-FreqInfoListSizeExt within SIB12 provided by the cell on which the UE camps; and if the valid version of SIB12 includes neither sl-DiscTxPoolSelected nor sl-TxPoolSelectedNormal for the concerned frequency;
For L2 U2N Relay UE in RRC_IDLE, an RRC connection establishment is initiated in the following cases:
1 >
if any message is received from a L2 U2N Remote UE via SL-RLC0 as specified in clause 9.1.1.4 or SL-RLC1 as specified in clause 9.2.4; or
1 >
if RemoteUEInformationSidelink containing the connectionForMP is received from a L2 U2N Remote UE as specified in clause 5.8.9.8.3;
For V2X sidelink communication, an RRC connection is initiated only when the conditions specified for V2X sidelink communication in clause 5.3.3.1a of TS 36.331 are met.
Up

5.3.3.1b  Conditions for establishing RRC Connection for NR sidelink Positioningp. 76

For NR sidelink positioning an RRC connection is established only in the following cases:
1 >
if SL-PRS transmission is triggered:
2 >
if the frequency on which the UE is configured to transmit NR sidelink positioning is included in sl-FreqInfoList within SIB23 provided by the cell on which the UE camps; and if the valid version of SIB23 does not include sl-PRS-TxPoolSelectedNormal for the concerned frequency.

5.3.3.2  Initiationp. 76

The UE initiates the procedure when upper layers request establishment of an RRC connection while the UE is in RRC_IDLE and it has acquired essential system information, or for sidelink communication as specified in clause 5.3.3.1a.
The UE shall ensure having valid and up to date essential system information as specified in clause 5.2.2.2 before initiating this procedure.
Upon initiation of the procedure, the UE shall:
1 >
if the upper layers provide an Access Category and one or more Access Identities upon requesting establishment of an RRC connection:
2 >
perform the unified access control procedure as specified in clause 5.3.14 using the Access Category and Access Identities provided by upper layers;
3 >
if the access attempt is barred, the procedure ends;
1 >
if the upper layers provide NSAG information and one or more S-NSSAI(s) triggering the access attempt (TS 23.501 and TS 24.501):
2 >
apply the NSAG with highest NSAG priority among the NSAGs that are included in SIB1 (i.e., in FeatureCombination and/or in RA-PrioritizationSliceInfo), and that are associated with the S-NSSAI(s) triggering the access attempt, in the Random Access procedure (clause 5.1 of TS 38.321);
1 >
if the UE is acting as L2 U2N Remote UE:
2 >
establish a SRAP entity as specified in TS 38.351, if no SRAP entity has been established;
2 >
apply the specified configuration of SL-RLC0 as specified in clause 9.1.1.4;
2 >
apply the SDAP configuration and PDCP configuration as specified in clause 9.1.1.2 for SRB0;
1 >
else:
2 >
apply the default L1 parameter values as specified in corresponding physical layer specifications except for the parameters for which values are provided in SIB1;
2 >
apply the default MAC Cell Group configuration as specified in clause 9.2.2;
2 >
apply the CCCH configuration as specified in clause 9.1.1.2;
2 >
apply the timeAlignmentTimerCommon included in SIB1;
1 >
start timer T300;
1 >
initiate transmission of the RRCSetupRequest message in accordance with clause 5.3.3.3;
Up

5.3.3.3  Actions related to transmission of RRCSetupRequest messagep. 77

The UE shall set the contents of RRCSetupRequest message as follows:
1 >
set the ue-Identity as follows:
2 >
if upper layers provide a 5G-S-TMSI:
3 >
set the ue-Identity to ng-5G-S-TMSI-Part1;
2 >
else:
3 >
draw a 39-bit random value in the range 0..239-1 and set the ue-Identity to this value;
1 >
if the establishment of the RRC connection is the result of release with redirect with mpsPriorityIndication (either in NR or E-UTRAN):
2 >
set the establishmentCause to mps-PriorityAccess;
1 >
else:
2 >
set the establishmentCause in accordance with the information received from upper layers;
1 >
if ta-Report or ta-ReportATG is configured with value enabled and the UE supports TA reporting:
2 >
indicate TA report initiation to lower layers;
The UE shall submit the RRCSetupRequest message to lower layers for transmission.
If the UE is an (e)RedCap UE and the (e)RedCap-specific initial downlink BWP is not associated with CD-SSB, the UE may continue cell re-selection related measurements as well as cell re-selection evaluation, otherwise the UE shall continue cell re-selection related measurements as well as cell re-selection evaluation. If the conditions for cell re-selection are fulfilled, the UE shall perform cell re-selection as specified in clause 5.3.3.6.
Up

5.3.3.4  Reception of the RRCSetup by the UEp. 77

The UE shall perform the following actions upon reception of the RRCSetup:
1 >
if the RRCSetup is received in response to an RRCReestablishmentRequest; or
1 >
if the RRCSetup is received in response to an RRCResumeRequest or RRCResumeRequest1:
2 >
if the UE is NCR-MT:
3 >
indicate to NCR-Fwd to cease forwarding;
2 >
if sdt-MAC-PHY-CG-Config is configured:
3 >
instruct the MAC entity to stop the cg-SDT-TimeAlignmentTimer, if it is running;
3 >
instruct the MAC entity to start the timeAlignmentTimer associated with the PTAG, if it is not running;
2 >
if srs-PosRRC-Inactive is configured:
3 >
instruct the MAC entity to stop the inactivePosSRS-TimeAlignmentTimer, if it is running;
2 >
if srs-PosRRC-InactiveValidityAreaConfig is configured:
3 >
instruct the MAC entity to stop the inactivePosSRS-ValidityAreaTAT, if it is running;
2 >
discard any stored UE Inactive AS context and suspendConfig;
2 >
discard any current AS security context including the KRRCenc key, the KRRCint key, the KUPint key and the KUPenc key;
2 >
release radio resources for all established RBs except SRB0 and broadcast MRBs, including release of the RLC entities, of the associated PDCP entities and of SDAP;
2 >
release the RRC configuration except for the default L1 parameter values, default MAC Cell Group configuration, CCCH configuration and broadcast MRBs;
2 >
indicate to upper layers fallback of the RRC connection;
2 >
for each application layer measurement configuration with configForRRC-IdleInactive absent or not set to true:
3 >
discard any application layer measurement reports which were not transmitted yet;
3 >
inform upper layers about the release of all application layer measurement configurations;
2 >
stop timer T380, if running;
1 >
perform the cell group configuration procedure in accordance with the received masterCellGroup and as specified in clause 5.3.5.5;
1 >
perform the radio bearer configuration procedure in accordance with the received radioBearerConfig and as specified in clause 5.3.5.6;
1 >
if stored, discard the cell reselection priority information provided by the cellReselectionPriorities or inherited from another RAT;
1 >
stop timer T300, T301, T319;
1 >
if T319a is running:
2 >
stop T319a;
2 >
consider SDT procedure is not ongoing;
1 >
if T390 is running:
2 >
stop timer T390 for all access categories;
2 >
perform the actions as specified in clause 5.3.14.4;
1 >
if T302 is running:
2 >
stop timer T302;
2 >
perform the actions as specified in clause 5.3.14.4;
1 >
stop timer T320, if running;
1 >
if the RRCSetup is received in response to an RRCResumeRequest, RRCResumeRequest1 or RRCSetupRequest:
2 >
if T331 is running:
3 >
stop timer T331;
3 >
perform the actions as specified in clause 5.7.8.3;
2 >
enter RRC_CONNECTED;
2 >
stop the cell re-selection procedure;
2 >
stop relay (re)selection procedure if any for L2 U2N Remote UE;
1 >
consider the current cell to be the PCell;
1 >
perform the L2 U2N Remote UE configuration procedure in accordance with the received sl-L2RemoteUE-Config as specified in clause 5.3.5.16;
1 >
perform the sidelink dedicated configuration procedure in accordance with the received sl-ConfigDedicatedNR as specified in clause 5.3.5.14;
1 >
if the UE has radio link failure or handover failure information available in VarRLF-Report and if the RPLMN is included in plmn-IdentityList stored in VarRLF-Report:
2 >
if reconnectCellId in VarRLF-Report is not set after failing to perform reestablishment and if this is the first RRCSetup received by the UE after declaring the failure:
3 >
if the UE supports RLF-Report for conditional handover and if choCellId in VarRLF-Report is set:
4 >
set timeUntilReconnection in VarRLF-Report to the time that elapsed since the radio link failure or handover failure experienced in the failedPCellId stored in VarRLF-Report;
3 >
else:
4 >
set timeUntilReconnection in VarRLF-Report to the time that elapsed since the last radio link failure or handover failure;
3 >
set nrReconnectCellId in reconnectCellId in VarRLF-Report to the global cell identity and the tracking area code of the PCell;
1 >
if the UE supports RLF report for inter-RAT MRO NR as defined in TS 36.306, and if the UE has radio link failure or handover failure information available in VarRLF-Report of TS 36.331 and if the RPLMN is included in plmn-IdentityList stored in VarRLF-Report of TS 36.331:
2 >
if reconnectCellId in VarRLF-Report of TS 36.331 is not set after failing to perform reestablishment and if this is the first RRCSetup received by the UE after declaring the failure:
3 >
set timeUntilReconnection in VarRLF-Report of TS 36.331 to the time that elapsed since the last radio link failure or handover failure in LTE;
3 >
set nrReconnectCellId in reconnectCellId in VarRLF-Report of TS 36.331 to the global cell identity and the tracking area code of the PCell;
1 >
set the content of RRCSetupComplete message as follows:
2 >
if upper layers provide a 5G-S-TMSI:
3 >
if the RRCSetup is received in response to an RRCSetupRequest:
4 >
set the ng-5G-S-TMSI-Value to ng-5G-S-TMSI-Part2;
3 >
else:
4 >
set the ng-5G-S-TMSI-Value to ng-5G-S-TMSI;
2 >
if upper layers selected an SNPN or a PLMN and in case of PLMN UE is either allowed or instructed to access the PLMN via a cell for which at least one CAG ID is broadcast:
3 >
set the selectedPLMN-Identity from the npn-IdentityInfoList;
2 >
else:
3 >
set the selectedPLMN-Identity to the PLMN selected by upper layers from the plmn-IdentityInfoList;
2 >
if upper layers provide the 'Registered AMF':
3 >
include and set the registeredAMF as follows:
4 >
if the PLMN identity of the 'Registered AMF' is different from the PLMN selected by the upper layers:
5 >
include the plmnIdentity in the registeredAMF and set it to the value of the PLMN identity in the 'Registered AMF' received from upper layers;
4 >
set the amf-Identifier to the value received from upper layers;
3 >
include and set the guami-Type to the value provided by the upper layers;
2 >
if upper layers provide one or more S-NSSAI (see TS 23.003):
3 >
include the s-NSSAI-List and set the content to the values provided by the upper layers;
2 >
if upper layers provide onboarding request indication:
3 >
include the onboardingRequest;
2 >
set the dedicatedNAS-Message to include the information received from upper layers;
2 >
if connecting as an IAB-node:
3 >
include the iab-NodeIndication;
2 >
else if connecting as a mobile IAB-node:
3 >
include the mobileIAB-NodeIndication;
2 >
if connecting as an NCR-node:
3 >
include the ncr-NodeIndication;
2 >
if the SIB1 contains idleModeMeasurementsNR and the UE has NR idle/inactive measurement information concerning cells other than the PCell available in VarMeasIdleReport; or
2 >
if the SIB1 contains idleModeMeasurementsEUTRA and the UE has E-UTRA idle/inactive measurement information available in VarMeasIdleReport:
3 >
include the idleMeasAvailable;
2 >
if the UE has logged measurements available for NR and if the RPLMN is included in plmn-IdentityList stored in VarLogMeasReport; or
2 >
if the UE has logged measurements available for NR and if the current registered SNPN is included in snpn-ConfigIDList stored in VarLogMeasReport:
3 >
include the logMeasAvailable in the RRCSetupComplete message;
3 >
if Bluetooth measurement results are included in the logged measurements the UE has available for NR:
4 >
include the logMeasAvailableBT in the RRCSetupComplete message;
3 >
if WLAN measurement results are included in the logged measurements the UE has available for NR:
4 >
include the logMeasAvailableWLAN in the RRCSetupComplete message;
2 >
if the sigLoggedMeasType in VarLogMeasReport is included; or
2 >
if the UE is capable of reporting availability of signalling based logged MDT for inter-RAT (i.e. LTE to NR), and if the sigLoggedMeasType in VarLogMeasReport of TS 36.331 is included:
3 >
if T330 timer is running (associated to the logged measurement configuration for NR or for LTE):
4 >
set sigLogMeasConfigAvailable to true in the RRCSetupComplete message;
3 >
else:
4 >
if the UE has logged measurements:
5 >
set sigLogMeasConfigAvailable to false in the RRCSetupComplete message;
2 >
if the UE has connection establishment failure or connection resume failure information available in VarConnEstFailReport or VarConnEstFailReportList and if the RPLMN is equal to plmn-Identity stored in VarConnEstFailReport or in at least one of the entries of VarConnEstFailReportList; or
2 >
if the UE has connection establishment failure information or connection resume failure information available in VarConnEstFailReport or VarConnEstFailReportList and if the current registered SNPN identity is equal to snpn-identity stored in VarConnEstFailReport or any entry of VarConnEstFailReportList:
3 >
include connEstFailInfoAvailable in the RRCSetupComplete message;
2 >
if the UE has radio link failure or handover failure information available in VarRLF-Report and if the RPLMN is included in plmn-IdentityList stored in VarRLF-Report, or
2 >
if the UE has radio link failure or handover failure information available in VarRLF-Report of TS 36.331, and if the UE is capable of cross-RAT RLF reporting and if the RPLMN is included in plmn-IdentityList stored in VarRLF-Report of TS 36.331; or
2 >
if the UE has radio link failure or handover failure information available in VarRLF-Report and if the current registered SNPN is included in snpn-IdentityList stored in the VarRLF-Report:
3 >
include rlf-InfoAvailable in the RRCSetupComplete message;
2 >
if the UE has successful handover information available in VarSuccessHO-Report and if the RPLMN is included in plmn-IdentityList stored in VarSuccessHO-Report; or
2 >
if the UE has successful handover information available in VarSuccessHO-Report and if the current registered SNPN is included in snpn-IdentityList stored in the VarSuccessHO-Report:
3 >
include successHO-InfoAvailable in the RRCSetupComplete message;
2 >
if the UE has successful PSCell change or addition information available in VarSuccessPSCell-Report and if the RPLMN is included in plmn-IdentityList stored in VarSuccessPSCell-Report; or
2 >
if the UE has successful PSCell change or addition information available in VarSuccessPSCell-Report and if the current registered SNPN is included in snpn-IdentityList stored in the VarSuccessPSCell-Report:
3 >
include successPSCell-InfoAvailable in the RRCSetupComplete message;
2 >
if the UE supports storage of mobility history information and the UE has mobility history information available in VarMobilityHistoryReport:
3 >
include the mobilityHistoryAvail in the RRCSetupComplete message;
2 >
if the UE is configured with at least one application layer measurement with configForRRC-IdleInactive set to true:
3 >
for each application layer measurement configuration with configForRRC-IdleInactive set to true:
4 >
if the RPLMN is not included in plmn-IdentityList in VarAppLayerPLMN-ListConfig:
5 >
forward the measConfigAppLayerId and inform upper layers about the release of the application layer measurement configuration;
5 >
discard any application layer measurement reports which were not yet submitted to lower layers for transmission;
5 >
release the application layer measurement configuration in UE variables VarAppLayerIdleConfig and VarAppLayerPLMN-ListConfig;
5 >
consider itself not to be configured to send application layer measurement report for the measConfigAppLayerId;
3 >
if at least one stored application layer measurement configuration or application layer measurement report container has not been released:
4 >
include measConfigReportAppLayerAvailable in the RRCSetupComplete message;
2 >
if the UE supports uplink RRC message segmentation of UECapabilityInformation:
3 >
may include the ul-RRC-Segmentation in the RRCSetupComplete message;
2 >
if the RRCSetup is received in response to an RRCResumeRequest, RRCResumeRequest1 or RRCSetupRequest:
3 >
if speedStateReselectionPars is configured in the SIB2:
4 >
include the mobilityState in the RRCSetupComplete message and set it to the mobility state (as specified in TS 38.304) of the UE just prior to entering RRC_CONNECTED state;
2 >
if the SIB1 contains musim-CapRestrictionAllowed and the UE capability is restricted for MUSIM operation:
3 >
if supported, include the musim-CapRestrictionInd in the RRCSetupComplete message upon determining it has temporary capability restriction;
2 >
if the UE has flight path information available:
3 >
include flightPathInfoAvailable;
1 >
submit the RRCSetupComplete message to lower layers for transmission, upon which the procedure ends.
Up

5.3.3.5  Reception of the RRCReject by the UEp. 82

The UE shall:
1 >
perform the actions as specified in clause 5.3.15;

5.3.3.6  Cell re-selection or cell selection or relay (re)selection while T390, T300 or T302 is running (UE in RRC_IDLE)p. 82

The UE shall:
1 >
if cell reselection occurs while T300 or T302 is running; or
1 >
if relay reselection occurs while T300 is running; or
1 >
if cell changes due to relay reselection while T302 is running:
2 >
perform the actions upon going to RRC_IDLE as specified in clause 5.3.11 with release cause 'RRC connection failure';
1 >
else:
2 >
if cell selection or reselection occurs while T390 is running; or
2 >
cell change due to relay selection or reselection occurs while T390 is running:
3 >
stop T390 for all access categories;
3 >
perform the actions as specified in clause 5.3.14.4.
Up

5.3.3.7  T300 expiryp. 83

The UE shall:
1 >
if timer T300 expires:
2 >
reset MAC, release the MAC configuration and re-establish RLC for all RBs that are established (except broadcast MRBs);
2 >
if the UE supports RRC Connection Establishment failure with temporary offset and the T300 has expired a consecutive connEstFailCount times on the same cell for which connEstFailureControl is included in SIB1:
3 >
for a period as indicated by connEstFailOffsetValidity:
4 >
use connEstFailOffset for the parameter Qoffsettemp for the concerned cell when performing cell selection and reselection according to TS 38.304 and TS 36.304;
2 >
if the UE supports multiple CEF report:
3 >
if the UE is not registered in SNPN and if the UE has connection establishment failure information or connection resume failure information available in VarConnEstFailReport and if the RPLMN is equal to plmn-identity in network-Identity stored in VarConnEstFailReport; or
3 >
if the UE is registered in SNPN and if the UE has connection establishment failure information or connection resume failure information available in VarConnEstFailReport and if the registered SNPN identity is not equal to snpn-identity in network-Identity stored in any entry of VarConnEstFailReportList:
4 >
if the cell identity of current cell is not equal to the cell identity stored in measResultFailedCell in VarConnEstFailReport and if the maxCEFReport-r17 has not been reached:
5 >
append the VarConnEstFailReport as a new entry in the VarConnEstFailReportList;
2 >
if the UE has connection establishment failure information or connection resume failure information available in VarConnEstFailReport and if the RPLMN is not equal to plmn-identity in network-Identity stored in VarConnEstFailReport; or
2 >
if the UE is registered in SNPN and if the UE has connection establishment failure information or connection resume failure information available in VarConnEstFailReport and if the registered SNPN identity is not equal to snpn-identity in network-Identity stored in any entry of VarConnEstFailReportList:
2 >
if the cell identity of current cell is not equal to the cell identity stored in measResultFailedCell in VarConnEstFailReport:
3 >
reset the numberOfConnFail to 0;
2 >
if the UE supports multiple CEF report and if the UE has connection establishment failure information or connection resume failure information available in VarConnEstFailReportList and if the RPLMN is not equal to plmn-identity in network-Identity stored in any entry of VarConnEstFailReportList;or
2 >
if the UE supports multiple CEF report and if the UE has connection establishment failure information or connection resume failure information available in VarConnEstFailReportList and if the registered SNPN identity is not equal to snpn-identity in network-Identity stored in any entry of VarConnEstFailReportList:
3 >
clear the content included in VarConnEstFailReportList;
2 >
clear the content included in VarConnEstFailReport except for the numberOfConnFail, if any;
2 >
store the following connection establishment failure information in the VarConnEstFailReport by setting its fields as follows:
3 >
if the UE is not in SNPN access mode:
4 >
set the plmn-Identity in network-Identity to the PLMN selected by upper layers (see TS 24.501) from the PLMN(s) included in the plmn-IdentityInfoList in SIB1;
3 >
else if the UE is in SNPN access mode:
4 >
set the snpn-Identity in network-Identity to include the SNPN identity selected by upper layers (see TS 24.501) from the list of SNPN(s) included in the npn-IdentityInfoList in SIB1;
3 >
set the measResultFailedCell to include the global cell identity, tracking area code, the cell level and SS/PBCH block level RSRP, and RSRQ, and SS/PBCH block indexes, of the failed cell based on the available SSB measurements collected up to the moment the UE detected connection establishment failure;
3 >
if available, set the measResultNeighCells, in order of decreasing ranking-criterion as used for cell re-selection, to include neighbouring cell measurements for at most the following number of neighbouring cells: 6 intra-frequency and 3 inter-frequency neighbours per frequency as well as 3 inter-RAT neighbours, per frequency/ set of frequencies per RAT and according to the following:
4 >
for each neighbour cell included, include the optional fields that are available;
3 >
if available, set the locationInfo as follows:
4 >
if available, set the commonLocationInfo to include the detailed location information;
4 >
if available, set the bt-LocationInfo to include the Bluetooth measurement results, in order of decreasing RSSI for Bluetooth beacons;
4 >
if available, set the wlan-LocationInfo to include the WLAN measurement results, in order of decreasing RSSI for WLAN APs;
4 >
if available, set the sensor-LocationInfo to include the sensor measurement results as follows;
5 >
if available, include the sensor-MeasurementInformation;
5 >
if available, include the sensor-MotionInformation;
3 >
set perRAInfoList to indicate the performed random access procedure related information as specified in clause 5.7.10.5;
3 >
if the numberOfConnFail is smaller than 8:
4 >
increment the numberOfConnFail by 1;
2 >
inform upper layers about the failure to establish the RRC connection, upon which the procedure ends;
The UE may discard the connection establishment failure or connection resume failure information, i.e. release the UE variable VarConnEstFailReport and the UE variable VarConnEstFailReportList, 48 hours after the last connection establishment failure is detected.
The L2 U2N Relay UE either indicates to upper layers (to trigger PC5 unicast link release) or sends NotificationMessageSidelink message to the connected L2 U2N Remote UE(s) in accordance with clause 5.8.9.10.
Up

5.3.3.8  Abortion of RRC connection establishmentp. 85

If upper layers abort the RRC connection establishment procedure, due to a NAS procedure being aborted as specified in TS 24.501, while the UE has not yet entered RRC_CONNECTED, the UE shall:
1 >
stop timer T300, if running;
1 >
reset MAC, release the MAC configuration and re-establish RLC for all RBs that are established (except broadcast MRBs).
The L2 U2N Relay UE either indicates to upper layers (to trigger PC5 unicast link release) or sends NotificationMessageSidelink message to the connected L2 U2N Remote UE(s) in accordance with clause 5.8.9.10.
The L2 U2N Remote UE indicates to upper layers to trigger PC5 unicast link release with its connected L2 U2N Relay UE.
Up

5.3.4  Initial AS security activationp. 85

5.3.4.1  Generalp. 85

Reproduction of 3GPP TS 38.331, Fig. 5.3.4.1-1: Security mode command, successful
Up
Reproduction of 3GPP TS 38.331, Fig. 5.3.4.1-2: Security mode command, failure
Up
The purpose of this procedure is to activate AS security upon RRC connection establishment.

5.3.4.2  Initiationp. 85

The network initiates the security mode command procedure to a UE in RRC_CONNECTED. Moreover, the network applies the procedure as follows:
  • when only SRB1 is established, i.e. prior to establishment of SRB2, multicast MRBs and/ or DRBs.

5.3.4.3  Reception of the SecurityModeCommand by the UEp. 85

The UE shall:
1 >
derive the KgNB key, as specified in TS 33.501;
1 >
derive the KRRCint key associated with the integrityProtAlgorithm indicated in the SecurityModeCommand message, as specified in TS 33.501;
1 >
request lower layers to verify the integrity protection of the SecurityModeCommand message, using the algorithm indicated by the integrityProtAlgorithm as included in the SecurityModeCommand message and the KRRCint key;
1 >
if the SecurityModeCommand message passes the integrity protection check:
2 >
derive the KRRCenc key and the KUPenc key associated with the cipheringAlgorithm indicated in the SecurityModeCommand message, as specified in TS 33.501;
2 >
derive the KUPint key associated with the integrityProtAlgorithm indicated in the SecurityModeCommand message, as specified in TS 33.501;
2 >
configure lower layers to apply SRB integrity protection using the indicated algorithm and the KRRCint key immediately, i.e. integrity protection shall be applied to all subsequent messages received and sent by the UE, including the SecurityModeComplete message;
2 >
configure lower layers to apply SRB ciphering using the indicated algorithm, the KRRCenc keyafter completing the procedure, i.e. ciphering shall be applied to all subsequent messages received and sent by the UE, except for the SecurityModeComplete message which is sent unciphered;
2 >
consider AS security to be activated;
2 >
submit the SecurityModeComplete message to lower layers for transmission, upon which the procedure ends;
1 >
else:
2 >
continue using the configuration used prior to the reception of the SecurityModeCommand message, i.e. neither apply integrity protection nor ciphering.
2 >
submit the SecurityModeFailure message to lower layers for transmission, upon which the procedure ends.
Up

Up   Top   ToC