Uplink User Plane Analysis Part 3: 5GC (UPF) & Application Server

Introduction

In part 2 of the Uplink User Plane analysis series, the data has been over the N3 interface using the GTP-U protocol. A series of three PDUs are en route to their destination at the external application server, which originated from the UE .

The interactions with the UPF and application server are fairly trivial from an analysis perspective, so I will also cover some of the data response analysis that will be sent back to the UE. Essentially, the downlink data will follow a similar path as the uplink data, with a few caveats that I will cover when appropriate.

For clarity on the setup used for this analysis, you can reference the first part of this series where I explain the software and hardware configuration, as well as some Wireshark pointers and configuration options that can be used for your own analysis.

Recap

The data is generated at the UE Application Layer, where the UE and App Server source and destination ports and IP addresses are added.

The NR User Plane stack receives the data at the SDAP layer where the DRB is mapped to a QFI, the PDCP layer adds sequence numbers and integrity protects and ciphers the data, the RLC layer segments the data appropriately based on the uplink grant TBS, the MAC layer adds LCID and appropriate MAC CE and based on the Uplink Grant, passes the data to the PHY layer for transmission on the PUSCH.

The gNB DU receives the PUSCH transmissions at the PHY layer, the MAC layer processes the subPDUs and transfers the appropriate subPDUs to the RLC layer where the data is re-assembled if necessary based on segment indications and segment offsets and sequence numbers. The RLC layer also generates a Status Report based on the polling bit associated with parts of the receives data, that is sent to the transmitting RLC entity at the UE.


The gNB DU passes each data to the F1-U for transfer to the gNB CU. The GTP-U layer uses TEID 1 to identify the appropriate GTP-U endpoint for this data. The source and destination IP addresses of the gNB DU and gNB CU on the F1-U interface are added, and the UDP port 2152 is used for GTP-U data.

The gNB CU receives the data and removes the GTP-U header information before passing the data to the PDCP layer. The PDCP layer re-orders data if receives out of order, and conducts integrity checking and de-ciphering and transfers to the SDAP layer where the DRB to QFI mapping if confirmed.

Similar to how the data was passed on the F1-U between the DU and CU, the data is transferred to the UPF on the NG-U/N3 interface using GTP-U. The TEID 2068 identifies the UPF on the NG-U.

UPF

Using the Open5GS trace level logs from the UPF, each data packet is received and referenced by it’s QFI, and the GTP-U TEID from the gNB CU (127.0.0.87). Each packet is identified by its protocol

  • PROTO: 6 = TCP
  • PROTO: 17 = UDP

The Source Hex data for TCP

  • 0a2d0002 = 10.45.0.2 (UE IP Address)
  • 08080404 = 8.8.4.4 (App Server IP Address)
  • e0b60355
    • e06b = 57526 (Source TCP Port)
    • 0355 = 853 (Destination TCP Port)
  • d6bbd604 = 3692634244 (TCP Sequence Number)

The Source Hex data for UDP

  • 0a2d0002 = 10.45.0.2 (UE IP Address)
  • 08080808 = 8.8.8.8 (App Server IP Address)
  • a26e01bb
    • a26e = 41582 (Source UDP Port)
    • 01bb = 443 (Destination UDP Port)
  • 04b8a9a3
    • 04b8 = 1208 (Length)
    • a9a3 = (UDP Checksum)
[gtp] TRACE:    QFI [0x1] (../lib/gtp/util.c:105)
[upf] TRACE: [RECV] GPU-U Type [255] from [127.0.0.87] : TEID[0x814] (../src/upf/gtp-path.c:345)
[pfcp] TRACE: PROTO:6 SRC:0a2d0002 08080404 e0b60355 d6bbd604 (../lib/pfcp/rule-match.c:165)
[pfcp] TRACE: HLEN:20  DST:08080404 e0b60355 d6bbd604 00000000 (../lib/pfcp/rule-match.c:168)

[gtp] TRACE:    QFI [0x1] (../lib/gtp/util.c:105)
[upf] TRACE: [RECV] GPU-U Type [255] from [127.0.0.87] : TEID[0x814] (../src/upf/gtp-path.c:345)
[pfcp] TRACE: PROTO:6 SRC:0a2d0002 08080808 c27c0355 b8a9406f (../lib/pfcp/rule-match.c:165)
[pfcp] TRACE: HLEN:20  DST:08080808 c27c0355 b8a9406f 00000000 (../lib/pfcp/rule-match.c:168)

[gtp] TRACE:    QFI [0x1] (../lib/gtp/util.c:105)
[upf] TRACE: [RECV] GPU-U Type [255] from [127.0.0.87] : TEID[0x814] (../src/upf/gtp-path.c:345)
[pfcp] TRACE: PROTO:17 SRC:0a2d0002 08080808 a26e01bb 04b8a9a3 (../lib/pfcp/rule-match.c:165)
[pfcp] TRACE: HLEN:20  DST:08080808 a26e01bb 04b8a9a3 ce000000 (../lib/pfcp/rule-match.c:168)

After receiving the data, all of the data is transmitted using PROTO:58 (IPv6-ICMP) where the UPF solicits the router of the machine it is running on so that the data can be routed to the external network. The UPF external facing IP address (as I am referring to it) is 192.168.1.10

[pfcp] TRACE: PROTO:58 SRC:0-0 DST:0-0 (../lib/pfcp/rule-match.c:172)
[pfcp] TRACE: SRC:00000000 00000000 00000000 00000000/00000000 00000000 00000000 00000000 (../lib/pfcp/rule-match.c:178)
[pfcp] TRACE: DST:ff020000 00000000 00000000 00000002/ffffffff ffffffff ffffffff ffffffff (../lib/pfcp/rule-match.c:187)

Looking at the tcpdump, see each packets journey from gNB DU to gNB CU, gNB CU to UPF, the original UE data from UE to App Server, and now the UPF external address to the App Server.

Application Server

Once the data leaves the 5G Core, it is out of our control until we receive any response data from the Application Server. I supposed I could create a web server of some sort and have the UE interact with that, though I think besides the routing, the information would be very similar.

Essentially, the Application Server at 8.8.8.8 and 8.8.4.4 will receive the data at the application layer, depending on what the data is (DNS query, HTTP data, etc) the Application Server will send the data back to the UPF where it will begin its downlink journey back to the UE.

The UPF can distinguish which response belongs to a requesting UE based on the TCP port mapping

Left: UPF sending UE request data Right: UPF receiving response data

Downlink Data Flow

Uplink and downlink are similar with a few differences. Some things to understand are

  • UPF uses TEID: 1 for gNB CU
  • gNB CU uses TEID:1 for gNB DU
  • UPF assigns QFI in GTP-U PDU Session Container (Per PDU Session)
  • gNB CU uses NR RAN Container (Per DRB)
  • gNB CU SDAP maps DRB to QFI
PDU Session Container – UPF to gNB CU
NR RAN Container – gNB CU to gNB DU
  • gNB CU PDCP adds sequence number, integrity protection and ciphering
[UDP-GW  ] [D] Received 88 bytes on UDP socket. Pool occupancy 0.03%
[GTPU    ] [D] Forwarding PDU. pdu_len=88 teid=0x000001
[GTPU    ] [D] ue=0 DL teid=0x000001: RX PDU. pdu_len=88 rx_deliv=0 rx_reord=0 rx_next=0 
[GTPU    ] [I] ue=0 DL teid=0x000001: RX SDU. sdu_len=72 qos_flow=QFI=1 sn={na}
[SDAP    ] [D] ue=0 psi=1 QFI=1 DRB1 DL: TX PDU. QFI=1 pdu_len=72
[PDCP    ] [D] ue=0 DRB1 DL: TX SDU. sdu_len=72
[PDCP    ] [D] ue=0 DRB1 DL: Adding sn=0 to window.
[PDCP    ] [D] ue=0 DRB1 DL: Added to tx window. count=0 discard_timer=infinity
[PDCP    ] [I] ue=0 DRB1 DL: TX PDU. type=data pdu_len=75 sn=0 count=0 is_retx=false
[CU-F1-U ] [D] ue=0 DRB1 ul-teid=0x000001: F1-U bearer received SDU. size=75 is_retx=false
[GTPU    ] [I] ue=0 TX teid=0x000001: TX PDU. pdu_len=95 teid=0x000001
[UDP-GW  ] [D] Sent PDU of 95 bytes

[UDP-GW  ] [D] Received 88 bytes on UDP socket. Pool occupancy 0.03%
[GTPU    ] [D] Forwarding PDU. pdu_len=88 teid=0x000001
[GTPU    ] [D] ue=0 DL teid=0x000001: RX PDU. pdu_len=88 rx_deliv=0 rx_reord=0 rx_next=0 
[GTPU    ] [I] ue=0 DL teid=0x000001: RX SDU. sdu_len=72 qos_flow=QFI=1 sn={na}
[SDAP    ] [D] ue=0 psi=1 QFI=1 DRB1 DL: TX PDU. QFI=1 pdu_len=72
[PDCP    ] [D] ue=0 DRB1 DL: TX SDU. sdu_len=72
[PDCP    ] [D] ue=0 DRB1 DL: Adding sn=1 to window.
[PDCP    ] [D] ue=0 DRB1 DL: Added to tx window. count=1 discard_timer=infinity
[PDCP    ] [I] ue=0 DRB1 DL: TX PDU. type=data pdu_len=75 sn=1 count=1 is_retx=false
[CU-F1-U ] [D] ue=0 DRB1 ul-teid=0x000001: F1-U bearer received SDU. size=75 is_retx=false
[GTPU    ] [I] ue=0 TX teid=0x000001: TX PDU. pdu_len=95 teid=0x000001
[UDP-GW  ] [D] Sent PDU of 95 bytes

[UDP-GW  ] [D] Received 1244 bytes on UDP socket. Pool occupancy 0.03%
[GTPU    ] [D] Forwarding PDU. pdu_len=1244 teid=0x000001
[GTPU    ] [D] ue=0 DL teid=0x000001: RX PDU. pdu_len=1244 rx_deliv=0 rx_reord=0 rx_next=0 
[GTPU    ] [I] ue=0 DL teid=0x000001: RX SDU. sdu_len=1228 qos_flow=QFI=1 sn={na}
[SDAP    ] [D] ue=0 psi=1 QFI=1 DRB1 DL: TX PDU. QFI=1 pdu_len=1228
[PDCP    ] [D] ue=0 DRB1 DL: TX SDU. sdu_len=1228
[PDCP    ] [D] ue=0 DRB1 DL: Adding sn=2 to window.
[PDCP    ] [D] ue=0 DRB1 DL: Added to tx window. count=2 discard_timer=infinity
[PDCP    ] [I] ue=0 DRB1 DL: TX PDU. type=data pdu_len=1231 sn=2 count=2 is_retx=false
[CU-F1-U ] [D] ue=0 DRB1 ul-teid=0x000001: F1-U bearer received SDU. size=1231 is_retx=false
[GTPU    ] [I] ue=0 TX teid=0x000001: TX PDU. pdu_len=1251 teid=0x000001
[UDP-GW  ] [D] Sent PDU of 1251 bytes
  • gNB DU RLC conducts segmentation if necessary
  • gNB DU MAC assigns LCID
  • gNB DU PHY transmits DL Grant on PDCCH with DCI 1_0
    • gNB DU PHY transmits data on the PDSCH

From the du_mac.pcap, see that the data is sent as

  • SN=0: Full Data (75 bytes)
  • SN=1: Segmented
    • 71 Bytes
    • 4 Bytes
  • SN=2: Full Data (1231 bytes)

So the data will be sent on four separate PDSCH transmissions to the UE

## SN 0
[UDP-GW  ] Received 95 bytes on UDP socket. Pool occupancy 0.04%
[GTPU    ] Forwarding PDU. pdu_len=95 teid=0x000001
[GTPU    ] ue=0 RX teid=0x000001: RX PDU. pdu_len=95
[GTPU    ] ue=0 RX teid=0x000001: RX DL user data. t_pdu_len=75
[DU-F1-U ] ue=0 DRB1 addr=127.0.10.2 dl-teid=0x000001: F1-U bearer received PDU
[DU-F1-U ] ue=0 DRB1 addr=127.0.10.2 dl-teid=0x000001: Delivering T-PDU. size=75
[RLC     ] du=0 ue=0 DRB1 DL: TX SDU. sdu_len=75 pdcp_sn=0 is_retx=false queued_sdus=1 queued_bytes=75
[RLC     ] du=0 ue=0 DRB1 DL: Triggering buffer state update to lower layer
[RLC     ] du=0 ue=0 DRB1 DL: Sending buffer state update to lower layer. bs=78
[RLC     ] du=0 ue=0 DRB1 DL: MAC opportunity. grant_len=78 tx_window_size=0
[RLC     ] du=0 ue=0 DRB1 DL: Reading SDU from sdu_queue. queued_sdus=1 queued_bytes=75
[RLC     ] du=0 ue=0 DRB1 DL: SDU queue released valid pdcp_sn=0
[RLC     ] du=0 ue=0 DRB1 DL: Read SDU. sn=0 pdcp_sn=0 sdu_len=75
[RLC     ] du=0 ue=0 DRB1 DL: Adding sn=0 to window.
[DU-F1-U ] ue=0 DRB1 addr=127.0.10.2 dl-teid=0x000001: Storing highest transmitted pdcp_sn=0 and desired_buf_size=6172672
[RLC     ] du=0 ue=0 DRB1 DL: Creating PDU with full SDU. sdu_len=75 grant_len=78
[RLC     ] du=0 ue=0 DRB1 DL: Checking poll bit requirements for PDU. sn=0 is_retx=false sdu_bytes=0 poll_sn=0
[RLC     ] du=0 ue=0 DRB1 DL: Setting poll bit due to empty buffers/inablity to TX. sn=0 poll_sn=0
[RLC     ] du=0 ue=0 DRB1 DL: Updated poll_sn=0.
[RLC     ] du=0 ue=0 DRB1 DL: Started poll retransmit timer. poll_sn=0
[RLC     ] du=0 ue=0 DRB1 DL: TX PDU. dc=data p=1 si=full sn=0 pdu_len=78 grant_len=78
[RLC     ] du=0 ue=0 DRB1 DL: TX entity state. tx_next_ack=0 tx_next=1 poll_sn=0 pdu_without_poll=0 byte_without_poll=0 sn_under_segmentation=none
[MAC     ] [   665.1] DL PDU: ue=0 rnti=0x4601 size=80: SDU: lcid=4 nof_sdus=1 total_size=80
[PHY     ] [   665.1] PDCCH: rnti=0x4601 ss_id=2 format=1_0 cce=0 al=2 t=11.2us
[PHY     ] [   665.1] PDSCH: rnti=0x4601 h_id=0 k1=4 prb=[0, 1) symb=[1, 14) mod=64QAM rv=0 tbs=80 t=28.8us

## SN 1
[UDP-GW  ] Received 95 bytes on UDP socket. Pool occupancy 0.04%
[GTPU    ] Forwarding PDU. pdu_len=95 teid=0x000001
[GTPU    ] ue=0 RX teid=0x000001: RX PDU. pdu_len=95
[GTPU    ] ue=0 RX teid=0x000001: RX DL user data. t_pdu_len=75
[DU-F1-U ] ue=0 DRB1 addr=127.0.10.2 dl-teid=0x000001: F1-U bearer received PDU
[DU-F1-U ] ue=0 DRB1 addr=127.0.10.2 dl-teid=0x000001: Delivering T-PDU. size=75
[RLC     ] du=0 ue=0 DRB1 DL: TX SDU. sdu_len=75 pdcp_sn=1 is_retx=false queued_sdus=1 queued_bytes=75
[RLC     ] du=0 ue=0 DRB1 DL: Triggering buffer state update to lower layer
[RLC     ] du=0 ue=0 DRB1 DL: Sending buffer state update to lower layer. bs=78
[RLC     ] du=0 ue=0 DRB1 DL: MAC opportunity. grant_len=74 tx_window_size=1
[RLC     ] du=0 ue=0 DRB1 DL: Reading SDU from sdu_queue. queued_sdus=1 queued_bytes=75
[RLC     ] du=0 ue=0 DRB1 DL: SDU queue released valid pdcp_sn=1
[RLC     ] du=0 ue=0 DRB1 DL: Read SDU. sn=1 pdcp_sn=1 sdu_len=75
[RLC     ] du=0 ue=0 DRB1 DL: Adding sn=1 to window.
[DU-F1-U ] ue=0 DRB1 addr=127.0.10.2 dl-teid=0x000001: Storing highest transmitted pdcp_sn=1 
[RLC     ] du=0 ue=0 DRB1 DL: Creating PDU with first SDU segment. sdu_len=75 grant_len=74
[RLC     ] du=0 ue=0 DRB1 DL: Checking poll bit requirements for PDU. sn=1 is_retx=false sdu_bytes=71 poll_sn=0
[RLC     ] du=0 ue=0 DRB1 DL: TX PDU. dc=data p=0 si=first sn=1 pdu_len=74 grant_len=74
[RLC     ] du=0 ue=0 DRB1 DL: TX entity state. tx_next_ack=0 tx_next=1 poll_sn=0 pdu_without_poll=1 byte_without_poll=71 sn_under_segmentation=1
[MAC     ] [   665.3] DL PDU: ue=0 rnti=0x4601 size=76: SDU: lcid=4 nof_sdus=1 total_size=76
[PHY     ] [   665.3] PDCCH: rnti=0x4601 ss_id=2 format=1_0 cce=0 al=2 t=13.6us
[PHY     ] [   665.3] PDSCH: rnti=0x4601 h_id=2 k1=4 prb=[0, 1) symb=[1, 14) mod=64QAM rv=0 tbs=76 t=39.5us 
[RLC     ] du=0 ue=0 DRB1 DL: MAC opportunity. grant_len=11 tx_window_size=2
[RLC     ] du=0 ue=0 DRB1 DL: Creating PDU with continued SDU segment. sn=1 next_so=71 sdu_len=75 grant_len=11
[RLC     ] du=0 ue=0 DRB1 DL: Checking poll bit requirements for PDU. sn=1 is_retx=false sdu_bytes=4 poll_sn=0
[RLC     ] du=0 ue=0 DRB1 DL: Setting poll bit due to empty buffers/inablity to TX. sn=1 poll_sn=0
[RLC     ] du=0 ue=0 DRB1 DL: Updated poll_sn=1.
[RLC     ] du=0 ue=0 DRB1 DL: Started poll retransmit timer. poll_sn=1
[RLC     ] du=0 ue=0 DRB1 DL: TX PDU. dc=data p=1 si=last sn=1 so=71 pdu_len=9 grant_len=11
[RLC     ] du=0 ue=0 DRB1 DL: TX entity state. tx_next_ack=0 tx_next=2 poll_sn=1 pdu_without_poll=0 byte_without_poll=0 sn_under_segmentation=none
[MAC     ] [   665.4] DL PDU: ue=0 rnti=0x4601 size=80: SDU: lcid=4 nof_sdus=1 total_size=11
[PHY     ] [   665.4] PDCCH: rnti=0x4601 ss_id=2 format=1_0 cce=0 al=2 t=12.6us
[PHY     ] [   665.4] PDSCH: rnti=0x4601 h_id=1 k1=4 prb=[0, 1) symb=[1, 14) mod=64QAM rv=0 tbs=80 t=12.7us

## SN 2
[UDP-GW  ] Received 1251 bytes on UDP socket. Pool occupancy 0.04%
[GTPU    ] Forwarding PDU. pdu_len=1251 teid=0x000001
[GTPU    ] ue=0 RX teid=0x000001: RX PDU. pdu_len=1251
[GTPU    ] ue=0 RX teid=0x000001: RX DL user data. t_pdu_len=1231
[DU-F1-U ] ue=0 DRB1 addr=127.0.10.2 dl-teid=0x000001: F1-U bearer received PDU
[DU-F1-U ] ue=0 DRB1 addr=127.0.10.2 dl-teid=0x000001: Delivering T-PDU. size=1231
[RLC     ] du=0 ue=0 DRB1 DL: TX SDU. sdu_len=1231 pdcp_sn=2 is_retx=false queued_sdus=1 queued_bytes=1231
[RLC     ] du=0 ue=0 DRB1 DL: Triggering buffer state update to lower layer
[RLC     ] du=0 ue=0 DRB1 DL: Sending buffer state update to lower layer. bs=1234
[RLC     ] du=0 ue=0 DRB1 DL: MAC opportunity. grant_len=1237 tx_window_size=2
[RLC     ] du=0 ue=0 DRB1 DL: Reading SDU from sdu_queue. queued_sdus=1 queued_bytes=1231
[RLC     ] du=0 ue=0 DRB1 DL: SDU queue released valid pdcp_sn=2
[RLC     ] du=0 ue=0 DRB1 DL: Read SDU. sn=2 pdcp_sn=2 sdu_len=1231
[RLC     ] du=0 ue=0 DRB1 DL: Adding sn=2 to window.
[DU-F1-U ] ue=0 DRB1 addr=127.0.10.2 dl-teid=0x000001: Storing highest transmitted pdcp_sn=2 and desired_buf_size=6172672
[RLC     ] du=0 ue=0 DRB1 DL: Creating PDU with full SDU. sdu_len=1231 grant_len=1237
[RLC     ] du=0 ue=0 DRB1 DL: Checking poll bit requirements for PDU. sn=2 is_retx=false sdu_bytes=0 poll_sn=1
[RLC     ] du=0 ue=0 DRB1 DL: Setting poll bit due to empty buffers/inablity to TX. sn=2 poll_sn=1
[RLC     ] du=0 ue=0 DRB1 DL: Updated poll_sn=2.
[RLC     ] du=0 ue=0 DRB1 DL: Started poll retransmit timer. poll_sn=2
[RLC     ] du=0 ue=0 DRB1 DL: TX PDU. dc=data p=1 si=full sn=2 pdu_len=1234 grant_len=1237
[RLC     ] du=0 ue=0 DRB1 DL: TX entity state. tx_next_ack=0 tx_next=3 poll_sn=2 pdu_without_poll=0 byte_without_poll=0 sn_under_segmentation=none
[MAC     ] [   666.7] DL PDU: ue=0 rnti=0x4601 size=1249: SDU: lcid=4 nof_sdus=1 total_size=1237
[PHY     ] [   666.7] PDCCH: rnti=0x4601 ss_id=2 format=1_0 cce=0 al=2 t=14.7us
[PHY     ] [   666.7] PDSCH: rnti=0x4601 h_id=1 k1=4 prb=[0, 15) symb=[1, 14) mod=64QAM rv=0 tbs=1249 t=38.7us


User Datagram Protocol, Src Port: 48879, Dst Port: 57005
MAC-NR DL-SCH (LCID:4 78 bytes) 
    [Context (RNTI=17921)]
        [Radio Type: FDD (1)]
        [Direction: Downlink (1)]
        [RNTI: 0x4601 (17921)]
        [RNTI Type: C-RNTI (3)]
        [UEId: 1]
        [HarqId: 0]
    Subheader: (LCID:4 78 bytes) 
        0... .... = Reserved: 0x00
        .0.. .... = Format: 8 bits
        ..00 0100 = LCID: 4 (4)
        SDU Length: 78
        DL-SCH SDU: c000008000004500004868da...........
    RLC-NR   UEId=1 [DL] [AM] DRB:1  [DATA] (P) SN=0               [75-bytes]
        [Context]
            [Direction: Downlink (1)]
            [RLC Mode: Acknowledged Mode (4)]
            [UEId: 1]
            [Bearer Type: DRB (5)]
            [Bearer Id: 1]
            [PDU Length: 78]
            [Sequence Number length: 18]
        AM Header  (P) SN=0             
            1... .... = Data/Control: Data PDU
            .1.. .... = Polling Bit: Status report is requested
            ..00 .... = Segmentation Info: Data field contains all bytes of an RLC SDU (0x0)
            .... 00.. = Reserved: 0x00
            .... ..00 0000 0000 0000 0000 = Sequence Number: 0
        AM Data: 8000004500004868da0.........
        PDCP-NR (SN=0     )
            [Configuration: UEId=  1   DRB-1  (direction=Downlink, plane=User)]
                [Direction: Downlink (1)]
                [Plane: User (2)]
                [UE: 1]
                [Bearer type: DCCH (1)]
                [Bearer Id: 1]
                [Seqnum length: 18]
                [MAC-I Present: False]
                [SDAP header: Not Present]
                [ROHC Compression: False]
            [UE Security (ciphering=NEA0 (NULL), integrity=NIA2 (AES))]
                [Configuration frame: 16]
                [Ciphering Algorithm: NEA0 (NULL) (0)]
                [Integrity Algorithm: NIA2 (AES) (2)]
                [BEARER: 0]
                [DIRECTION: Downlink (1)]
                [COUNT: 0]
            1... .... = PDU Type: Data PDU
            .000 00.. = Reserved: 0x00
            .... ..00 0000 0000 0000 0000 = Seq Num: 0
            [Sequence Analysis - OK]
                [OK: True]
            Internet Protocol Version 4, Src: 8.8.4.4 (8.8.4.4), Dst: 10.45.0.2 (10.45.0.2)
            Transmission Control Protocol, Src Port: 853, Dst Port: 57526, Seq: 0, Ack: 1, Len: 0

The UE receives the four PDSCH on the PHY – below shows 3 of the 4 PDSCH

   PdschStatusInfo : 
      [0 ] : 
        Tech ID : 1
        Opcode : 0
        Conn ID : 0
        SCell ID Raw : 0
        SFN : 665
        Slot : 1
        Bandwidth : 3
        Band Type : 0
        High Clock Mode : 0
        Physical Cell ID : 99
        EARFCN : 387850
        TB Index : 0
        TB Size : 80
        SCS MU : 0
        MCS : 27
        Num RBs : 1
        RV : 0
        HARQ or MBSFN Area ID : 0
        RNTI Type : C RNTI
        K1 or PMCH ID : 4
        TCI : 0
        Num Layers : 1
        Iteration Index : 0
        CRC Status : PASS
        New Tx Flag : 1
        NDI : 0
        Discard Mode : 0
        Bypass Decode : 0
        Bypass HARQ : 0
        Num ReTx : 0
        HD Onload Timeout : 0
        HARQ Onload Timeout : 0
        HD Offload Timeout : 0
        HARQ Offload Timeout : 0
        Did Recomb : 0
        Is IOVec Valid : True
        Mod Type : QAM64
        Num Rx : XMimo4
PdschStatusInfo : 
      [0 ] : 
        Tech ID : 1
        Opcode : 0
        Conn ID : 0
        SCell ID Raw : 0
        SFN : 665
        Slot : 3
        Bandwidth : 3
        Band Type : 0
        High Clock Mode : 0
        Physical Cell ID : 99
        EARFCN : 387850
        TB Index : 0
        TB Size : 76
        SCS MU : 0
        MCS : 26
        Num RBs : 1
        RV : 0
        HARQ or MBSFN Area ID : 2
        RNTI Type : C RNTI
        K1 or PMCH ID : 4
        TCI : 0
        Num Layers : 1
        Iteration Index : 0
        CRC Status : PASS
        New Tx Flag : 1
        NDI : 1
        Discard Mode : 0
        Bypass Decode : 0
        Bypass HARQ : 0
        Num ReTx : 0
        HD Onload Timeout : 0
        HARQ Onload Timeout : 0
        HD Offload Timeout : 0
        HARQ Offload Timeout : 0
        Did Recomb : 0
        Is IOVec Valid : True
        Mod Type : QAM64
        Num Rx : XMimo4
PdschStatusInfo : 
      [0 ] : 
        Tech ID : 1
        Opcode : 0
        Conn ID : 0
        SCell ID Raw : 0
        SFN : 666
        Slot : 7
        Bandwidth : 3
        Band Type : 0
        High Clock Mode : 0
        Physical Cell ID : 99
        EARFCN : 387850
        TB Index : 0
        TB Size : 1249
        SCS MU : 0
        MCS : 28
        Num RBs : 15
        RV : 0
        HARQ or MBSFN Area ID : 1
        RNTI Type : C RNTI
        K1 or PMCH ID : 4
        TCI : 0
        Num Layers : 1
        Iteration Index : 0
        CRC Status : PASS
        New Tx Flag : 1
        NDI : 0
        Discard Mode : 0
        Bypass Decode : 0
        Bypass HARQ : 0
        Num ReTx : 0
        HD Onload Timeout : 0
        HARQ Onload Timeout : 0
        HD Offload Timeout : 0
        HARQ Offload Timeout : 0
        Did Recomb : 0
        Is IOVec Valid : True
        Mod Type : QAM64
        Num Rx : XMimo4
  • UE MAC distributes subPDUs, where LCID 4 data is passed to the RLC layer
  • UE RLC Re-assembles the data
  • UE PDCP Re-orders if necessary, decrypts and integrity checks the data
NR 5G PDCP DL Data PDU
  [1 ] : 
    RB Cfg Index : 1
    PDCP SN Length : 18
    RX Deliv : 89
    Rx Next : 89
    Next Count : 89
    System Time
      Slot number : 1
      Radio Frame Number : 665
    RX Timetick : 0.38 dB
    Num NLO : 1
    RB Config Index : 1
    Key Index : 0
    RLC Path : MCG
    Route Status : DELIV_DIRECT
    IP Packet Header : 
      [0 ] : 0x00
      [1 ] : 0x00
    Start Count : 0
    End Count : 0
    RLC end SN : 0
    Number IP Pkts : 1
    Number IP bytes : 72
NR 5G PDCP DL Data PDU
  [1 ] : 
    RB Cfg Index : 1
    PDCP SN Length : 18
    RX Deliv : 89
    Rx Next : 89
    Next Count : 89
    System Time
      Slot number : 3
      Radio Frame Number : 665
    RX Timetick : 0.38 dB
    Num NLO : 1
    RB Config Index : 1
    Key Index : 0
    RLC Path : MCG
    Route Status : DELIV_DIRECT
    IP Packet Header : 
      [0 ] : 0x00
      [1 ] : 0x00
    Start Count : 1
    End Count : 1
    RLC end SN : 1
    Number IP Pkts : 1
    Number IP bytes : 72
NR 5G PDCP DL Data PDU
  [1 ] : 
    RB Cfg Index : 1
    PDCP SN Length : 18
    RX Deliv : 89
    Rx Next : 89
    Next Count : 89
    System Time
      Slot number : 7
      Radio Frame Number : 666
    RX Timetick : 0.39 dB
    Num NLO : 1
    RB Config Index : 1
    Key Index : 0
    RLC Path : MCG
    Route Status : DELIV_DIRECT
    IP Packet Header : 
      [0 ] : 0x00
      [1 ] : 0x00
    Start Count : 2
    End Count : 2
    RLC end SN : 2
    Number IP Pkts : 1
    Number IP bytes : 1228
  • The data passes through the UE SDAP layer since there is no SDAP header. SDAP delivers the data to the upper layers
  • UE IP, TCP/UDP, and Application layers process the data and receive the response

What I have covered in 3 separate blog posts took less than 40 milliseconds to complete

  • UE transmits 1st PUSCH @ 13:10:39.645
    • Frame : 662 Slot : 9
  • UE receives 4th PDSCH @ 13:10:39.683
    • SFN : 666 Slot : 7

Leave a Reply