Tech-invite3GPPspaceIETFspace
21222324252627282931323334353637384‑5x

Content for  TS 38.323  Word version:  18.2.0

Top   Top   Up   Prev   None
1…   4…   5…   5.4…   5.8…   5.13…   6…   6.2.3…   7…   A…   B…

 

B (Normative)  Uplink Data Compression Protocol |R17|p. 51

B.1  UDC general descriptionp. 51

A UDC packet consists of a UDC header and a UDC data block. A UDC data block contains either DEFLATE compressed blocks generated by UDC protocol or original PDCP SDU for SDU not compressed by UDC protocol; the type is specified in FU field (details see Annex B.2.2.1) in UDC header. The FR field (details see Annex B.2.2.2) and the Checksum field (details see Annex B.2.2.3) in UDC header are used only if FU field is set to 1.
If reset procedure is triggered, after performing the reset, the FR field in UDC header of the first compressed PDU shall be set to 1.
Up

B.2  UDC packet format and parametersp. 51

B.2.1  UDC Header and UDC Data Block formatp. 51

Figure B.2.1-1 shows the format of UDC Header and UDC Data Block.
Reproduction of 3GPP TS 38.323, Fig. B.2.1-1: UDC header and UDC data block format
Up

B.2.2  UDC parametersp. 52

B.2.2.1  FUp. 52

Length:
1 bit
Indication of whether this packet is compressed by UDC protocol or not. Value '1' means the packet is compressed by UDC protocol.
Bit Description
0Packet is not compressed using UDC protocol
1Packet is compressed using UDC protocol
Up

B.2.2.2  FRp. 52

Length:
1 bit
Indication of whether UDC compression buffer is reset or not. Value '1' means this is the first compressed packet after UDC buffer reset.
Bit Description
0Compression buffer is not reset.
1Compression buffer has been reset.
Up

B.2.2.3  Checksump. 52

Length:
4 bits
This field contains the validation bits for the compression buffer content: The checksum is calculated by the content of current compression buffer before the current packet is put into buffer.
The checksum is derived from the values of the first 4 bytes and the last 4 bytes in the whole compression buffer. The calculation is described as follows:
  • Each byte is divided into two 4-bit numbers.
  • The 16 4-bit numbers are added together to obtain a sum;
  • The checksum is one's complement of the right-most 4 bits (i.e. 4 LSB) of the sum.
An example of checksum calculation is shown in Annex B.2.3.
Up

B.2.3  An example of UDC Checksum calculationp. 52

The current UDC compression/decompression buffer has the following binary values for example:
Header <1,1,0,0,0,1,0,1,0,0,1,1,1,1,1,1,0,0,0,1,1,0,0,1,0,1,0,1,0,0,0,1, …, 0,1,1,1,1,1,0,1,1,0,0,0,1,0,1,0,1,0,0,1,1,1,1,1,1,0,0,1,1,1,0,0> Tail
The sum of the first 4 bytes and the last 4 bytes can be calculated:
1100+0101+0011+1111+0001+1001+0101+0001+0111+1101+1000+1010+1001+1111+1001+1100 = 10000110;
And checksum value will be one's complement of the right-most 4 bits (i.e. 4 LSB) of the above sum. Hence checksum is 1001.
Up

$  Change historyp. 53


Up   Top