The transmitting side of an AM RLC entity shall prioritize transmission of RLC control PDUs over AMD PDUs. The transmitting side of an AM RLC entity shall prioritize transmission of AMD PDUs containing previously transmitted RLC SDUs or RLC SDU segments over transmission of AMD PDUs containing not previously transmitted RLC SDUs or RLC SDU segments.
The transmitting side of an AM RLC entity shall maintain a transmitting window according to the state variable TX_Next_Ack as follows:
-
a SN falls within the transmitting window if TX_Next_Ack ≤ SN < TX_Next_Ack + AM_Window_Size;
-
a SN falls outside of the transmitting window otherwise.
The transmitting side of an AM RLC entity shall not submit to lower layer any AMD PDU whose SN falls outside of the transmitting window.
For each RLC SDU received from the upper layer, the AM RLC entity shall:
-
associate a SN with the RLC SDU equal to TX_Next and construct an AMD PDU by setting the SN of the AMD PDU to TX_Next;
-
increment TX_Next by one.
When submitting an AMD PDU that contains a segment of an RLC SDU, to lower layer, the transmitting side of an AM RLC entity shall:
-
set the SN of the AMD PDU to the SN of the corresponding RLC SDU.
The transmitting side of an AM RLC entity can receive a positive acknowledgement (confirmation of successful reception by its peer AM RLC entity) for an RLC SDU by the following:
-
STATUS PDU from its peer AM RLC entity.
When receiving a positive acknowledgement for an RLC SDU with SN = x, the transmitting side of an AM RLC entity shall:
-
send an indication to the upper layers of successful delivery of the RLC SDU;
-
set TX_Next_Ack equal to the SN of the RLC SDU with the smallest SN, whose SN falls within the range TX_Next_Ack ≤ SN ≤ TX_Next and for which a positive acknowledgment has not been received yet.