5G RLC Procedure
5G RLC Procedure
5G RLC Procedure
NR RLC is almost same as LTE RLC. So if you are already faimiliar with LTE
RLC, you wouldn't need much of extra study to understand NR RLC. If you
are new to overall functionality of RLC, I would suggest you to go through LTE
RLC page first. Since I wouldn't see any NR test equipment and UE in near
future, I wouldn't be able to put much of practical information on NR RLC
until the equipment and UE are available. Your knowledge on LTE RLC would
help you understand NR RLC.
Actually a large portions of the contents on this page comes from the direct
copy of LTE RLC page and I would try to highlight those parts which is unique
to NR RLC.
TM Mode / Procedure
UM Mode / Procedure
AM Mode / Procedure
o STATUS PDU
Each of these mode can both transmit and receive data. In TM and UM,
separate entity is used for transmission and reception, but in AM a single RLC
entity perform both transmission and reception as illustrated below.
One important thing you need to pay attention to is that each of logical
channels use a specific RLC mode as shown below.
DTCH use RLC UM or AM. (Which mode is used for each DTCH channel ?
This is determined by RRC message).
Now let's look into a little bit further details on how data is processed by
each RLC Mode. Since each RLC mode is associated with a specific set logical
channels, I would suggest you to associate this RLC mode procedure to RLC
layer processing mechanism for each of those channels.
TM Mode / Procedure
One important thing to keep in mind is that you need to pay attention to
MAC/PHY resource allocation. Even if MAC/PHY resource is allocated smaller
than the RLC packet, the RLC wouldn't care. It would just forward whatever it
has to MAC/PHY. So those RLC data bigger than MAC/PHY resource may be
chopped off or discarded.
Again another this to be noticed is that the local channel BCCH / PCCH /
CCCH data is processed by this RLC mode.
< 38.322 - Figure 4.2.1.1.1-1: Model of two transparent mode peer entities >
UM Mode / Procedure
What kind of operation UM mode do ? You can just 'read' diagram for the
answer. The answer would be a little bit different with transmitter side and
reciever side.
Let's read the operation on transmitting side first. If you just read (verbalize)
the diagram
ii) Segmetation (Split a big chunk into a multiple small chunk) and Modify
RLC Header (Some field in RLC header should be changed based on the
segmentation status)
NOTE : If you compare this in LTE process, it seems that UM RLC does not
perform any 'Concatenation'. According to following statement from 38.322
v0.1.0, the 'concatenation' process is moved to MAC layer.
Then, read the operation on recieving side. If you just read (verbalize) the
diagram
i) Buffering
iii) Remove the RLC header (you would remember that the transmitter put
the header to each of the chunk. So you have to remove this before you
reassemble the data).
iv) Reassembly
Now let's look at AM mode which is the most complicated RLC type. 'AM'
stands for 'Acknowledge Mode'. As it's name implies it requires ACK/NACK
from the other party. It is more like TCP packet in IP world, whereas RLC UM is
more like UDP in IP world.
Now just look into the diagram from the specification. If you go through the
left column and the right colum, you will see the same procedures you saw in
UM mode. so I don't want to verbalize that part again. What is different from
UM mode lies in the middle column, namely 'Retransmission buffer' and 'RLC
control' procedure.
Let's just follow the arrrows. What is coming into the retransmission buffer ?
i.e, what is the input to the retransmission buffer ?
If the RLC get Nack or does not get any response from the other party for a
certain period of time, the RLC packet (we call this RLC PDU) in the
retransmission buffer gets transmitted again. If the RLC get ACK, the ones in
retransmission buffer would be discarded.
For those who already familiar with LTE RLC, I put the NR RLC AM and LTE
RLC AM side by side for comparision. You see there is no difference in reciver
side operation, but there is some difference in transmitter side. The most
important difference in transmitter side is that NR RLC AM does not perform
'Concatenation' process.
RLC Data Structure
First type is the one shown below. The RLC header has only SI field and R
field and has no SN field. 38.322-6.2.2.3 states "When an UMD PDU contains
a complete RLC SDU, the UMD PDU header only contains the SI and R fields.
An UMD PDU header contains the SN field only when the corresponding RLC
SDU is segmented."
< 38.322-Figure 6.2.1.3-1: UMD PDU containing a complete RLC SDU >
Second type is the ones shown below. This type carries SN field. The length
of SN field is 6 or 12 bits. Which one to be used is determined by RRC
Configuration SN-FieldLengthUM. This type does not carry SO (Segment
Offset) field. 38.322-6.2.2.3 states "An UMD PDU carrying the first segment
of an RLC SDU does not carry the SO field in its header."
< 38.322-Figure 6.2.2.3-2: UMD PDU with 6 bit SN (No SO) >
< 38.322-Figure 6.2.2.3-3: UMD PDU with 12 bit SN (No SO) >
Third type is the ones shown below. It carries SI,SN and SO. The existence of
SO indicates that this PDU carries a segment of an SDU and the segment is
NOT the first segment. (If it is the first segment, SO field would not be
carried).
< 38.322-Figure 6.2.2.3-4: UMD PDU with 6 bit SN and with SO >
< 38.322-Figure 6.2.2.3-5: UMD PDU with 12 bit SN and with SO >
SO : SO stands for Segment Offset. It indicates the position of the RLC SDU
segment within the original RLC SDU. The unit of SO is in Byte.
Following type carries SN field but does not carry SO(Segment Offset) field. It
mean that this PDU non-segmented SDU(a complete SDU) or the first
segment of a segmented SDU.
< 38.322-Figure 6.2.1.4-2: AMD PDU with 18 bit SN (No SO) >
The second type of AMD PDU carries SO as illustrated below. It mean that
this PDU carries a Non-First segment of a segmented SDU. The length of SO
field is always 16 bits.
NOTE : 38.322-6.2.2.4 states 'An AMD PDU header contains a D/C, a P, a SI,
and a SN. An AMD PDU header contains the SO field only when the Data field
consists of an RLC SDU segment which is not the first segment, in which case
a 16 bit SO is present'.
D/C : This field indicate whether the RLC PDU is for Data or Control.
P : P stands for Polling bit. This indicates whether it requires RLC ACK or
NACK from the other party.
STATUS PDU
Status PDU is used to carry various RLC control information like ACK
sequence Number, NACK sequence number or the exact location of the NACK
in the unit of Bytes etc. The full stucture of Status PDU is as follows, but only
D/C, CPT, ACK_SN field are always present and other fields may or may not
present depending on situation. The receiving side of RLC can figure out
whether thse additional fields (e.g, NACK SN, SO, NACK range etc) by
checking the extention field (E1, E2, E3) which will be explained later.
logicalChannelIdentity LogicalChannelIdentity,
servedRadioBearer CHOICE {
srb-Identity SRB-Identity,
drb-Identity DRB-Identity
...
am SEQUENCE {
ul-AM-RLC UL-AM-RLC,
dl-AM-RLC DL-AM-RLC
},
um-Bi-Directional SEQUENCE {
ul-UM-RLC UL-UM-RLC,
dl-UM-RLC DL-UM-RLC
},
um-Uni-Directional-UL SEQUENCE {
ul-UM-RLC UL-UM-RLC
},
um-Uni-Directional-DL SEQUENCE {
dl-UM-RLC DL-UM-RLC
},
...
t-PollRetransmit T-PollRetransmit,
pollPDU PollPDU,
pollByte PollByte,
maxRetxThreshold ENUMERATED { t1, t2, t3, t4, t6, t8, t16, t32 }
t-Reassembly T-Reassembly,
t-StatusProhibit T-StatusProhibit
}
DL-UM-RLC ::= SEQUENCE {
t-Reassembly T-Reassembly
spare2, spare1}
p4, p8, p16, p32, p64, p128, p256, p512, p1024, p2048,
p4096,
Reference