tokens: ['a', 'Sidelink', 'DRB', 'additionmodification', 'conditions', 'For', 'NR', 'sidelink', 'communication', 'a', 'sidelink', 'DRB', 'addition', 'is', 'initiated', 'only', 'in', 'the', 'following', 'cases', '', 'if', 'any', 'sidelink', 'QoS', 'flow', 'is', 'reconfigured', 'by', 'slConfigDedicatedNR', 'SIB', 'SidelinkPreconfigNR', 'and', 'is', 'to', 'be', 'mapped', 'to', 'one', 'sidelink', 'DRB', 'which', 'is', 'not', 'established', 'or', '', 'if', 'any', 'sidelink', 'QoS', 'flow', 'is', 'reconfigured', 'by', 'RRCReconfigurationSidelink', 'and', 'is', 'to', 'be', 'mapped', 'to', 'a', 'sidelink', 'DRB', 'which', 'is', 'not', 'established', 'For', 'NR', 'sidelink', 'communication', 'a', 'sidelink', 'DRB', 'modification', 'is', 'initiated', 'only', 'in', 'the', 'following', 'cases', '', 'if', 'any', 'of', 'the', 'sidelink', 'DRB', 'related', 'parameters', 'is', 'changed', 'by', 'slConfigDedicatedNR', 'SIB', 'SidelinkPreconfigNR', 'or', 'RRCReconfigurationSidelink', 'for', 'one', 'sidelink', 'DRB', 'which', 'is', 'established', 'a', 'Sidelink', 'DRB', 'additionmodification', 'operations', 'For', 'the', 'sidelink', 'DRB', 'whose', 'sidelink', 'DRB', 'addition', 'conditions', 'are', 'met', 'as', 'in', 'clause', 'a', 'the', 'UE', 'capable', 'of', 'NR', 'sidelink', 'communication', 'that', 'is', 'configured', 'by', 'upper', 'layers', 'to', 'perform', 'NR', 'sidelink', 'communication', 'shall', '', 'for', 'groupcast', 'and', 'broadcast', 'or', '', 'for', 'unicast', 'if', 'the', 'sidelink', 'DRB', 'addition', 'was', 'triggered', 'due', 'to', 'the', 'reception', 'of', 'the', 'RRCReconfigurationSidelink', 'message', 'or', '', 'for', 'unicast', 'after', 'receiving', 'the', 'RRCReconfigurationCompleteSidelink', 'message', 'if', 'the', 'sidelink', 'DRB', 'addition', 'was', 'triggered', 'due', 'to', 'the', 'configuration', 'received', 'within', 'the', 'slConfigDedicatedNR', 'SIB', 'SidelinkPreconfigNR', 'or', 'indicated', 'by', 'upper', 'layers', '', 'if', 'an', 'SDAP', 'entity', 'for', 'NR', 'sidelink', 'communication', 'associated', 'with', 'the', 'destination', 'and', 'the', 'cast', 'type', 'of', 'the', 'sidelink', 'DRB', 'does', 'not', 'exist', '', 'establish', 'an', 'SDAP', 'entity', 'for', 'NR', 'sidelink', 'communication', 'as', 'specified', 'in', 'TS', '', 'Evolved', 'Universal', 'Terrestrial', 'Radio', 'Access', 'EUTRA', 'and', 'NR', 'Service', 'Data', 'Adaptation', 'Protocol', 'SDAP', 'specification', '', '', 'clause', '', '', 'reconfigure', 'the', 'SDAP', 'entity', 'in', 'accordance', 'with', 'the', 'slSDAPConfigPC', 'received', 'in', 'the', 'RRCReconfigurationSidelink', 'or', 'slSDAPConfig', 'received', 'in', 'slConfigDedicatedNR', 'SIB', 'SidelinkPreconfigNR', 'associated', 'with', 'the', 'sidelink', 'DRB', '', 'establish', 'a', 'PDCP', 'entity', 'for', 'NR', 'sidelink', 'communication', 'and', 'configure', 'it', 'in', 'accordance', 'with', 'the', 'slPDCPConfigPC', 'received', 'in', 'the', 'RRCReconfigurationSidelink', 'or', 'slPDCPConfig', 'received', 'in', 'slConfigDedicatedNR', 'SIB', 'SidelinkPreconfigNR', 'associated', 'with', 'the', 'sidelink', 'DRB', '', 'for', 'a', 'perhop', 'sidelink', 'DRB', 'ie', 'the', 'UE', 'is', 'not', 'acting', 'as', 'L', 'UU', 'Remote', 'UE', '', 'establish', 'a', 'RLC', 'entity', 'for', 'NR', 'sidelink', 'communication', 'and', 'configure', 'it', 'in', 'accordance', 'with', 'the', 'slRLCConfigPC', 'received', 'in', 'the', 'RRCReconfigurationSidelink', 'or', 'slRLCConfig', 'received', 'in', 'slConfigDedicatedNR', 'SIB', 'SidelinkPreconfigNR', 'associated', 'with', 'sidelink', 'DRB', '', 'if', 'this', 'procedure', 'was', 'due', 'to', 'the', 'reception', 'of', 'a', 'RRCReconfigurationSidelink', 'message', '', 'configure', 'the', 'MAC', 'entity', 'with', 'a', 'logical', 'channel', 'in', 'accordance', 'with', 'the', 'slMACLogicalChannelConfigPC', 'received', 'in', 'the', 'RRCReconfigurationSidelink', 'associated', 'with', 'the', 'sidelink', 'DRB', 'and', 'perform', 'the', 'sidelink', 'UE', 'information', 'procedure', 'in', 'clause', '', 'for', 'unicast', 'if', 'need', '', 'else', 'if', 'this', 'procedure', 'was', 'due', 'to', 'the', 'reception', 'of', 'a', 'RRCReconfigurationCompleteSidelink', 'message', '', 'configure', 'the', 'MAC', 'entity', 'with', 'a', 'logical', 'channel', 'associated', 'with', 'the', 'sidelink', 'DRB', 'in', 'accordance', 'with', 'the', 'slMACLogicalChannelConfig', 'received', 'in', 'the', 'slConfigDedicatedNR', 'SIB', 'SidelinkPreconfigNR', '', 'else', 'ie', 'for', 'groupcastbroadcast', '', 'configure', 'the', 'MAC', 'entity', 'with', 'a', 'logical', 'channel', 'associated', 'with', 'the', 'sidelink', 'DRB', 'in', 'accordance', 'with', 'the', 'slMACLogicalChannelConfig', 'received', 'in', 'the', 'slConfigDedicatedNR', 'SIB', 'SidelinkPreconfigNR', 'and', 'assign', 'a', 'new', 'LCID', 'to', 'this', 'logical', 'channel', '', 'for', 'an', 'endtoend', 'sidelink', 'DRB', 'ie', 'the', 'UE', 'is', 'acting', 'as', 'L', 'UU', 'Remote', 'UE', '', 'if', 'the', 'UE', 'is', 'in', 'RRCCONNECTED', '', 'associate', 'this', 'endtoend', 'sidelink', 'DRB', 'with', 'the', 'PC', 'RLC', 'channel', 'indicated', 'by', 'slEgressRLCChannelPC', 'included', 'in', 'slConfigDedicatedNR', 'received', 'from', 'RRCReconfiguration', '', 'else', 'if', 'the', 'UE', 'is', 'in', 'RRCIDLE', 'or', 'RRCINACTIVE', '', 'associate', 'this', 'endtoend', 'sidelink', 'DRB', 'with', 'the', 'PC', 'RLC', 'channel', 'derived', 'by', 'perSLRB', 'QoS', 'profile', 'of', 'this', 'endtoend', 'sidelink', 'DRB', 'based', 'on', 'the', 'configuration', 'in', 'SIB', '', 'else', 'if', 'the', 'UE', 'is', 'out', 'of', 'coverage', '', 'associate', 'this', 'endtoend', 'sidelink', 'DRB', 'with', 'the', 'PC', 'RLC', 'channel', 'derived', 'by', 'perSLRB', 'QoS', 'profile', 'of', 'this', 'endtoend', 'sidelink', 'DRB', 'based', 'on', 'the', 'configuration', 'in', 'SidelinkPreconfigNR', 'NOTE', '', 'When', 'a', 'sidelink', 'DRB', 'addition', 'is', 'due', 'to', 'the', 'configuration', 'by', 'RRCReconfigurationSidelink', 'it', 'is', 'up', 'to', 'UE', 'implementation', 'to', 'select', 'the', 'sidelink', 'DRB', 'configuration', 'as', 'necessary', 'transmitting', 'parameters', 'for', 'the', 'sidelink', 'DRB', 'from', 'the', 'received', 'slConfigDedicatedNR', 'if', 'in', 'RRCCONNECTED', 'SIB', 'if', 'in', 'RRCIDLEINACTIVE', 'SidelinkPreconfigNR', 'if', 'out', 'of', 'coverage', 'with', 'the', 'same', 'RLC', 'mode', 'as', 'the', 'one', 'configured', 'in', 'RRCReconfigurationSidelink', 'For', 'the', 'sidelink', 'DRB', 'whose', 'sidelink', 'DRB', 'modification', 'conditions', 'are', 'met', 'as', 'in', 'clause', 'a', 'the', 'UE', 'capable', 'of', 'NR', 'sidelink', 'communication', 'that', 'is', 'configured', 'by', 'upper', 'layers', 'to', 'perform', 'NR', 'sidelink', 'communication', 'shall', '', 'for', 'groupcast', 'and', 'broadcast', 'or', '', 'for', 'unicast', 'if', 'the', 'sidelink', 'DRB', 'modification', 'was', 'triggered', 'due', 'to', 'the', 'reception', 'of', 'the', 'RRCReconfigurationSidelink', 'message', 'or', '', 'for', 'unicast', 'after', 'receiving', 'the', 'RRCReconfigurationCompleteSidelink', 'message', 'if', 'the', 'sidelink', 'DRB', 'modification', 'was', 'triggered', 'due', 'to', 'the', 'configuration', 'received', 'within', 'the', 'slConfigDedicatedNR', 'SIB', 'or', 'SidelinkPreconfigNR', '', 'reconfigure', 'the', 'SDAP', 'entity', 'of', 'the', 'sidelink', 'DRB', 'in', 'accordance', 'with', 'the', 'slSDAPConfigPC', 'received', 'in', 'the', 'RRCReconfigurationSidelink', 'or', 'slSDAPConfig', 'received', 'in', 'slConfigDedicatedNR', 'SIB', 'SidelinkPreconfigNR', 'if', 'included', '', 'reconfigure', 'the', 'PDCP', 'entity', 'of', 'the', 'sidelink', 'DRB', 'in', 'accordance', 'with', 'the', 'slPDCPConfigPC', 'received', 'in', 'the', 'RRCReconfigurationSidelink', 'or', 'slPDCPConfig', 'received', 'in', 'slConfigDedicatedNR', 'SIB', 'SidelinkPreconfigNR', 'if', 'included', '', 'reconfigure', 'the', 'RLC', 'entity', 'of', 'the', 'sidelink', 'DRB', 'in', 'accordance', 'with', 'the', 'slRLCConfigPC', 'received', 'in', 'the', 'RRCReconfigurationSidelink', 'or', 'slRLCConfig', 'received', 'in', 'slConfigDedicatedNR', 'SIB', 'SidelinkPreconfigNR', 'if', 'included', '', 'reconfigure', 'the', 'logical', 'channel', 'of', 'the', 'sidelink', 'DRB', 'in', 'accordance', 'with', 'the', 'slMACLogicalChannelConfigPC', 'received', 'in', 'the', 'RRCReconfigurationSidelink', 'or', 'slMACLogicalChannelConfig', 'received', 'in', 'slConfigDedicatedNR', 'SIB', 'SidelinkPreconfigNR', 'if', 'included']