• Vision
  • About us
  • 5G Protocol Stack

    Joni Tyagi

    5G Protocol Stack:

    The 5G protocol stack is similar to the 4G protocol stack, but has some changes. If I talk about the changes, what kind of changes happen in 5G, then let me tell you that some new components have been introduced and 4G has some limitations, which have been overcome in 5G, So obviously some changes are needed. Therefore in 5g protocol stack the only one new layer is introduced is SDAP layer (in user plane only); present between rrc and pdcp and other protocols are same.
    So here I am sharing the 5G control plane protocol stack here and user plane below:
    5G-Control-Plane-Protocol-Stack

    5G Control Plane Protocol Stack; between the UE and the 5G Core:

    First I am sharing the details of 5G control plane; In the picture above you will get an idea of ​​ue's protocol stack in 5g core components, 



    In below picture define brief detail of NAS layer and the lower layer is mentioned in the picture, are RRC; and transport layers PDCP, RLC, MAC, PHYSICAL layer. More importantly, the AMF has only the NAS layer, the transport layers are absent in the AMF.
    5G-Control-Plane-Protocol-Stack-between-the-UE-and-the-5G-Core
    A single N1 NAS signaling connection is used for each received entry to which the UE is attached. The single N1 endpoint is placed in the AMF. Single N1 NAS signaling connections are used for both registration management and connection management (RM / CM) and for SME-related messages and tactics for UEs.
    The NAS protocol on N1 includes the NAS-mobility management and NAS-session management components.
    There is more than one case of protocol between the UE and the core network function (excluding AMF) that needs to be carried over the N1 through NAS-MM protocol. Such examples include:
    - Session Management Signalling.
    - SMS.
    - UE Policy.
    - LCS.
    RM/CM NAS messages in NAS-MM and other forms of NAS messages (e.g. SM), as well as the corresponding methods, are decoupled.
    The NAS-MM supports generic talents:
    => NAS techniques that terminate on the AMF. This includes:
    => Registration management and connection management with UE handles state machines and technologies, including NAS shipping; AMF supports the following skills:
    -- Decide whether to just accept the RM/CM a part of N1 signalling in the course of the RM/CM strategies without thinking about probable mixed different non NAS-MM messages (e.g., SM) inside the same NAS signalling contents;
    -- Know if one NAS message must be routed to every other NF (e.g., SMF), or domestically processed with the NAS routing capabilities inside at some stage in the RM/CM procedures; 
    -- Provide a secure NAS signalling connection (integrity protection, ciphering) between the UE and the AMF, together with for the delivery of payload;
    -- Provide get right of entry to control if it applies;
    -- It is viable to transmit the different form of NAS message (e.g., NAS SM) together with an RM/CM NAS message with the aid of helping NAS shipping of different varieties of payload or messages that don't terminate on the AMF, i.e. NAS-Session Management, SMS, User Equipment Policy and LCS between the UE and the AMF. This includes:
    -- Information approximately the Payload type;
    -- Additional Information for forwarding purposes
    -- The Payload (e.g. The SM message within the case of SM signalling);
    -- There is a Single NAS protocol that applies on both 3GPP and non-3GPP get entry to. When an UE is served via a single AMF whilst the UE is attached over a couple of (3GPP/Non 3GPP) accesses, there is a N1 NAS signalling connection in line with get admission to.
    Security of the NAS messages is provided based totally on the security context installed among the UE and the AMF.

    5G-R(AN) and the AMF Control Plane:

    5G-AN-and-the-AMF-Control-Plane
    Figure 1 5G-AN and the AMF Control Plane

    -          NG-AP (Application Protocol): Is a Application Layer Protocol between the 5G-AN node and the AMF. NG-AP.
    -          Stream Control Transmission Protocol (SCTP): This protocol ensures transport of signalling messages among AMF and 5G-AN node (N2). SCTP.

    5G-R(AN) and the SMF Control Plane via AMF:

     5G-R(AN)-and-the-SMF-Control-Plane-via-AMF
    -          N2 SM information: This is the subset of NG-AP statistics that the AMF transparently relays among the AN and the SMF, and is included inside the NG-AP messages and the N11 associated messages.

    Control Plane Between UE to 5G-AN and AMF: 

    Control-Plane-Between-UE-to-5G-AN-and-AMF
    Legend:
    - NAS-MM: The NAS protocol for MM capability supports registration management capability, connection management capability and user plane connection activation and deactivation. It is also responsible of ciphering and integrity safety of NAS signalling.
    - 5G-AN Protocol layer: This set of protocols/layers relies upon on the 5G-AN. In the case of NG-RAN, the radio protocol among the UE and the NG-RAN node (eNodeB or gNodeB) is laid out.

    Control Plane Between UE to 5G-AN and AMF to SMF: 

    Control-Plane-Between-UE-to-5G-AN-and-AMF-to-SMF

    The NAS-SM helps the coping with of Session Management among the UE and the SMF.
    The SM signalling message is handled, i.e. Created and processed, inside the NAS-SM layer of UE and the SMF. The content material of the SM signalling message isn't always interpreted with the aid of the AMF.
    The NAS-Mobility Management layer handles the Session Management signalling is as follows:
    -- For transmission of SM signalling:
    - The NAS-MM layer creates a NAS-MM message, which include protection header, indicating NAS transport of SM signalling, additional data for the receiving NAS-MM to derive how and where to forward the SM signalling message.
    -- For reception of SM signalling:
    - The receiving NAS-MM techniques the NAS-MM part of the message, i.e. plays integrity check, and translates the additional statistics to derive how and wherein to derive the SM signalling message.
    The SM message part shall encompass the PDU Session ID.

    5G User Plane Protocol Stack:
    5G-User-Plane-Protocol-Stack

    5G-User-Plane-Protocol-Stack-between-UE-to-UPF
    -        PDU layer: This layer corresponds to the PDU made between the UE and the data network (DN) above the PDU session. When the PDU session type is IPv4 or IPv6 or IPv4v6, it matches the IPv4 packet or IPv6 packet or each of them; When the PDU session type is Ethernet, it matches the Ethernet frame; e.t.c
    -        GPRS Tunneling Protocol (GTP-U) for User Plane: This protocol supports visitors to various PDU sessions (possibly corresponding to unique PDU session types) with the help of user records (i.e between 5G-AN nodes) for N3 is Does, (UPF) inside the backbone network. GTP will face all rejected user PDUs. This corresponds to the PDU session level. This layer carries forward the notation associated with the QoS flow.
    -        5G Encapsulation: This layer supports separate PDU sessions on N9 (all corresponding to a unique PDU session type) (such as between specific UPFs of 5G). This corresponds to the PDU session level. This layer contains notation associated with QoS flow.
    - 5G-AN protocol stack: This set of protocols/layers depends at the AN:
    -          When the 5G-AN is a 3GPP NG-RAN, these protocols/layers are described in TS 38.401 [42]. The radio protocol among the UE and the 5G-AN node (eNodeB or gNodeB) is laid out in TS 36.300 [30] and TS 38.300 [27].
    -          When the AN is an Untrusted non 3GPP get entry to to 5GC the 5G-AN interfaces with the 5GC at a N3IWF defined in clause 4.3.2 and the 5G-AN protocol stack is defined in clause 8.3.2.
    - UDP/IP: These are the main communication protocols.
    -          NOTE 1: The wide variety of UPF inside the facts route is not constrained through 3GPP specifications: there can be inside the information path of a PDU Session 0, 1 or multiple UPF that don't help a PDU Session Anchor capability for this PDU Session.
    -          NOTE 2: The "non PDU Session Anchor" UPF depicted in the Figure.
    -          NOTE 3: The N9 interface can be intra-PLMN or inter PLMN (in the case of Home Routed deployment).
    If there's an UL CL (Uplink Classifier) or a Branching Point (each described in clause 5.6.4) inside the data direction of a PDU Session, the UL CL or Branching Point acts because the non PDU Session Anchor UPF. In that case there are a couple of N9 interfaces branching out of the UL CL / Branching Point every main to extraordinary PDU Session anchors.
    -          NOTE 4: Co-vicinity of the UL CL or Branching Point with a PDU Session Anchor is a deployment option.

    LTE Frame Structure

    Jitendra Kumar

    LTE FDD FRAME:

    FDD Frame used for FDD technology.FDD is frequency division duplex which have different frequencies for both DL and UL at a same time. Below mentioned FDD frame.                                                                                                                                          see 5G frame structure
    LTE-FDD-FRAME-structure

    Levels in FDD Frame             see frame structure interview que & ans

    1st Level
    1 Radio Frame=10 ms
    Short CP=140 ofdm symbols and Long CP=120 ofdm symbols
    2nd Level
    1 Sub frame=1ms
    Short CP=14 ofdm symbols and Long CP=12 ofdm symbols
    3rd Level
    1 Time slot=0.5ms
    Short CP=7 ofdm symbols and Long CP=6 ofdm symbols.

    TIME UNIT IN LTE

    ·         Ts(Standard Time in LTE)= 1/(15000*2048)sec-->32ns
    v  It’s a smallest unit of time in LTE operation
    ·         Tslot=15360Ts=15360(1/(15000*2048))-->0.5ms
    ·         A sub frame is equal to 30720Ts=1ms
    ·         A Radio frame is equal to 307200Ts=10ms
    ·         A radio frame = 20 Tslot

    LTE TIME SLOT DIVISION

    Time slot having two categories

    ·         Short CP Time slot

    lte-Short-Cyclic-Prefix-Time-slot

    ·         Long CP Time slot:

    lte-long-Cyclic-Prefix-Time-slot

    LTE TDD FRAME:

    In TDD (Time division duplex) technique we are using, same frequency or frame for both DL and UL but at a different time.
    ·         It consists in a category of Frame 2
    ·         Radio frame size= 10 ms
    ·         Sub-frame size=  1 ms
    ·         Time slot size= 0.5 ms
    ·         Each Radio frame consists two half frames.

    LTE-TDD-FRAME-structure
    TDD have a special sub frame (1,6) when downlink-to-uplink switch-point-periodicity is 5ms.
    TDD have a special sub frame (1) when downlink-to-uplink switch-point-periodicity is 10ms.
    Special Sub-frame carries following info:
    DwPTS: Downlink pilot time slot
    UpPTS: Uplink pilot time slot
    Guard time: It is time using for switching from downlink to uplink so that interference can be eliminated.

    LTE TDD UPLINK AND DOWNLINK CONFIGURATION:

    TDD-UPLINK-AND-DOWNLINK-frame-structure
    *Note: operators choose any 1 configuration out of (7 configurations) as per their users requirements.        see LTE Protocol interview que & ans

    LTE ISI (INTER SYMBOL INTERFERENCE)

    Jitendra Kumar

    LTE INTER SYMBOL INTERFERENCE


    When Interference occurs between two symbols because of straight path and reflected path it’s called ISI.
    LTE-INTER-SYMBOL-INTERFERENCE

    ISI STRAIGHT VS REFLECTED WAVE:


    ISI-STRAIGHT-VS-REFLECTED-WAVE
    ISI SOLUTIONS:
    ** ISI OLD SOLUTIONS:

    (1) Rake Receiver:

    It’s a Multi Finger antenna which is capable for receiving and separating multi directional waves.
    Advantages:
    ·         No ISI any more.
    ·         Due to Multipath reception diversity increases the signal decoding success rate.
    Disadvantage:
    ·         Expensive due to use of Rake receiver
    ·         High Power consumption required for multi signal processing.

    (2) ISI FACTORS

    ·         Delay Time: If delay time increase than ISI will increase and vice versa.
    ·         Bandwidth: If Bandwidth increase than ISI will increase and vice versa.

    ** ISI NEW SOLUTIONS:

    (1) Sub Carrier Techniques:

    In this techniques each sub-carrier size should be 15 kHz Bandwidth because if lower the bandwidth so ISI also less.
    LTE Sub-carrier: Scalable Bandwidth in below table:
    lte-Subcarrier-Techniques
     LTE Cyclic Prefix Method:
    Add a waste piece at a start of a symbol so that it can absorb the shock of the impact.
    ·         Short CP: 14000 symbols per second per sub carrier and remaining 1000 symbols are used as a cyclic prefix.
    ·         Long CP: 12000 Symbols per second per sub-carrier.

    LTE SAE EPS BEARERS

    Jitendra Kumar
    EPS BEARERS
    EPS BEARERS:
    ·   EPS Bearer spans across LTE Network From UE to PGW
    ·   Every EPS Bearer created for a UE contains a ID for managing it across the network
    ·   Every EPS Bearer is associated with a Quality Of Service Class Identifier (QCI)

    lte-EPS-BEARERS
    PDN AND APPLICATIONS:

    lte-pdn-information

    ·     Every UE May Contain Many EPS Bearers. Each EPS Bearer would contain a Different QoS Implementation!
    ·     Every UE which is ‘Attached’ to an LTE Network Must
       At Least Be Connected To One ‘PDN’
       For Every PDN UE Is Connected, It Must
    o  Have '1' Default Bearer
    o  '0' OR More Dedicated Bearers
    lte-eps-bearer-quality-of-service-parameters
    • EPS BEARER PROPERTIES
      • DEFAULT AND DEDICATED BEARER
    difference-between-DEFAULT-AND-DEDICATED-BEARER

    ·         GBR(Guarantee bit rate): Guarantee delivery of packets on high priority
    ·         NGBR(Non-GBR): No guaranteed delivery, priority can be late.
    ·         MBR(Maximum Bit rate): MBR is always greater than GBR.
    ·         QCI(Quality of Service class Identifier): Below Table for QCI.

    qci-in-4g

    ·         ARP(Allocation Retention Priority): Used to set priority to reduce the congestion in the network.
    ·         AMBR(Aggregate MBR): Total data rate applicable for mobile phones in the particular PDN so AMBR is divided into multiple MBR.



    LTE INTERFACES WITH PROTOCOLS

    Jitendra Kumar


    LTE PROTOCOL INTRODUCTION

    INTRODUCTION OF PROTOCOLS:
    ·   There are three broad categories of Protocols
    o Application Protocols
    o Processing Protocols
    o Delivery Protocols

    ·   Application Protocols: Generate the Information required for the Communication of Nodes to achieve their Functionalities!

    ·   Processing Protocols: Process the Information generated by Application protocols!

    ·   Delivery Protocols: Send the Processed Information from Source to Destination!

    COMPUTER COMMUNICATION PROTOCOLS

     This is work on a principle of OSI communication have 7 layer shown in below. This communication is done by the use of Switches and Router between two computers.
    OSI-LAYER-PROTOCOL

    LTE MOBILE PROTOCOL LAYER

     Its work on Application, Delivery and Processing Protocols.      
    LTE-MOBILE-WIRELESS-PROTOCOL-LAYER

    LTE WIRELESS NETWORK INTERFACES

     There are many Interfaces in LTE network which are mentioned below:

    LTE INTEFACES

    PURPOSE
    LTE-Uu
    Interface between UE to Enb
    X2
    Interface between two adjacent eNBs
    S1-MME
    Interface between eNB to MME
    S1-U
    Interface between eNB to SGW
    S3
    Interface between MME to SGSN
    S4
    Interface between SGW to SGSN
    S5/S8
    Interface between SGW to PGW
    S6a
    Interface between MME to HSS
    S6d
    Interface between SGSN to HSS
    S7/Gx
    Interface between PGW to PCRF
    S9
    Interface between hPCRF to vPCRF
    S10
    Interface between MME to MME
    S11
    Interface between MME to SGW
    S12
    Interface between SGW to RNC
    S13
    Interface between MME to EIR
    S13'
    Interface between SGSN to EIR
    S16
    Interface between SGSN to SGSN
    Gy
    Interface between PGW to OFCS
    Gz
    Interface between PGW to OCS

    Transport Protocols

     There are few Transport Protocol which we need to know before proceed to further:

    ·     TCP: Transmission control Protocol

    o   It’s a connection oriented protocol.
    o   It’s a reliable protocol.
    o   It rearrange the data packet in the order specified.
    o   Speed is slower than UDP because its attempt error recovery process also.
    o   Header size is 20 Bytes
    o   Guaranteed to data delivery.

    ·     UDP: User Datagram Protocol

    o   It’s a connectionless protocol.
    o   It’s not reliable protocol.
    o   It is not rearrange the data packet in the order specified.
    o   Speed is faster because its not attempt error recovery process.
    o   Header size is 8 Bytes
    o   No Guaranteed for data delivery.

    ·  GTP: GPRS Tunneling Protocol

    o   Its used to encapsulate user data when passing through that core network.
    o   It provide mobility when UE is in mobility state, the IP address remain same and packet are still forwarded since tunneling is provide between PGW and eNB via SGW.
    o   There are two types GTPC is used for control plane and  GTPU is used for USER plane.
    o   Main IP is hidden so provided security also.
    ·         SCTP: Stream Control Transmission protocol
    o   It’s a connection oriented protocol.
    o   It’s a reliable protocol.
    o   It rearrange the data packet in the order specified.
    o   It does bundling the message but TCP doesn’t.
    o   Guaranteed to data delivery
    ·         Diameter: Its is a important protocol used for those components whose functionality come under AAA(Authentication, Authorization and Accounting) category. Its not a 3GPP protocol.

    LTE WIRELESS NETWORK PROTOCOLS

     These are the main application and transport protocol used for LTE Network:
    LTE-WIRELESS-NETWORK-PROTOCOLS

    PROTOCOL SUMMARY

    lte-protocol-stack