NR SA Inactive State

Hi Experts,

When UE moves to inactive state(through rrc release procedure), UE is expected to maintain the context.
I am not clear what all parameters UE need to maintain in its context.

From 38.331, I can see :

1> if the RRCRelease includes suspendConfig:
	2> apply the received suspendConfig;
	2> reset MAC and release the default MAC Cell Group configuration, if any;
	2> re-establish RLC entities for SRB1;
	2> if the RRCRelease message with suspendConfig was received in response to an RRCResumeRequest or an RRCResumeRequest1:
		3> stop the timer T319 if running;
		3> in the stored UE Inactive AS context:
			4> replace the KgNB and KRRCint keys with the current KgNB and KRRCint keys;
			4> replace the C-RNTI with the temporary C-RNTI in the cell the UE has received the RRCRelease message;
			4> replace the cellIdentity with the cellIdentity of the cell the UE has received the RRCRelease message;
			4> replace the physical cell identity with the physical cell identity of the cell the UE has received the RRCRelease message;
	2> else:
		3> store in the UE Inactive AS Context the current KgNB and KRRCint keys, the ROHC state, the C-RNTI used in the source PCell, the cellIdentity and the physical cell identity of the source PCell, and all other parameters configured except for the ones within ReconfigurationWithSync and servingCellConfigCommonSIB;

Still not clear with this, any help would be appreciated.