8.5.9 START value calculation
25.3313GPPProtocol specificationRadio Resource Control (RRC)Release 17TS
In connected mode, if a security mode command procedure has been successfully completed for a CN domain during the current RRC connection, the START value for that CN domain is calculated as:
Let STARTX = the START value for CN domain ‘X’ prior to the calculation below:
STARTX‘ = MSB20 ( MAX {COUNT-C, COUNT-I | radio bearers and signalling radio bearers using the most recently configured CKX and IKX}) + 2.
– if STARTX‘= the maximum value = 1048575 then STARTX = STARTX‘;
– if the current STARTX < STARTX‘ then STARTX = STARTX‘, otherwise STARTX is unchanged.
NOTE: Here, "most recently configured" means that if there is more than one key in use for a CN domain, due to non-expiry of the ciphering and/or integrity protection activation time for any signalling radio bearers and/or radio bearers, do not include the COUNT-I/COUNT-C for these signalling radio bearers and/or radio bearers in the calculation of the START X‘.
COUNT-C corresponding to non-ciphered radio bearers (i.e. RBs with ciphering status set to "not started") shall not be included in the calculation of the STARTX‘. If a radio bearer is released and the radio bearer was ciphered, the values of the COUNT-C at the time the radio bearer is released shall be taken into account in the calculation of the STARTX‘.
If a security mode command procedure has not been successfully completed for a CN domain during the current RRC connection, the UE shall use the latest transmitted START value for this CN domain.