5G - Protocol Stack
5G - Protocol Stack
5G - Protocol Stack
The 5G layer-1 is
PHYSICAL Layer. The 5G layer-2 include MAC, RLC and PDCP.The 5G layer-3 is RRC layer
as shown in 5G protocol stack.
The Figure-1 depicts 5G Protocol Stack consisting of both User Plane and Control Plane protocol
layers.
Refer 5G NR PHY layer >> which describes processing of PDSCH and PUSCH channel through
PHYSICAL layer modules as defined in 38.200 series documents.
Following are the functions of 5G layer 2 i.e. PDCP sublayer in user plane.
• Ciphering and Integrity Protection (Note: Only AES shall be mandatory)
• Transfer of control plane data
Refer 5G NR MAC layer overview >> for more information on 5G NR MAC functions, 5G NR
MAC architecture, 5G NR MAC channel mapping, 5G NR MAC procedures and format of 5G
NR MAC header and subheaders.
Refer 5G NR RLC layer overview >> for more information on 5G NR RLC modes (TM mode,
UM mode, AM mode), data structures (TMD, UMD, AMD), RLC PDUs (TMD PDU, UMD
PDU, AMD PDU), data transfers (TM, UM and AM) and RRC parameters which defines RLC
layer.
Reference:
• TS V5G.300
• TS V5G.201
• 3GPP TS 38.212 (Multiplexing and channel coding), TS 38.321 (MAC specifications), TS
38.322 (RLC specifications)
•
3GPP has released specification 38.300 V1 this month about NR and NG-RAN Overall
Description: Stage 2, This standard comes with the detailed descriptions about 5G NR network
and Protocol architecture.
NR Radio User plane and Control Protocol Stack is shown in below figures:
When we closely see both the protocol stack we could see many similarities between LTE
protocol stack and 5G-NR protocol stack because LTE protocol stack is being taken as the base
line for the development 5G-NR.
5G-NR User plane contains Phy, MAC, RLC, and PDCP same as LTE and has introduced a new
layer named as SDAP (Service Data Adaptation Protocol).
On another side, the control plane of 5G-NR is identical to LTE, here MME equivalent node
named as AMF (Access and Management Mobility Function).
The main services and functions of the RRC sub layer include:
The two figures below depict the Layer 2 architecture for downlink and uplink, where:
Mapping between a QoS flow and a data radio bearer (Due to new QoS framework)
Marking QoS flow ID (QFI) in both DL and UL packets ( DL: due to reflective QoS and UL: due to
new QoS framework)
A single protocol entity of SDAP is configured for each individual PDU session, except for DC
where two entities can be configured.
The main services and functions of the PDCP sublayer for the user plane include:
Sequence Numbering
Header compression and decompression: ROHC only
Transfer of user data
Reordering and Duplicate detection (if in order delivery to layers above PDCP is required)
PDCP PDU routing (in case of split bearers)
Retransmission of PDCP SDUs
Ciphering and Deciphering
PDCP SDU discard
PDCP re-establishment and data recovery for RLC AM
Duplication of PDCP PDUs
The main services and functions of the PDCP sublayer for the control plane include:
Sequence Numbering;
Ciphering, deciphering and integrity protection;
Transfer of control plane data;
Duplicate detection;
Duplication of PDCP PDUs.
The main services and functions of the RLC sublayer depend on the transmission mode and
include:
The main services and functions of the MAC sub layer include:
Mapping between logical channels and transport channels
Multiplexing/demultiplexing of MAC SDUs belonging to one or different logical channels
into/from transport blocks (TB) delivered to/from the physical layer on transport channels
Scheduling Information Reporting
Error correction through HARQ
Priority handling between UEs by means of dynamic scheduling
Priority handling between logical channels of one UE by means of logical channel prioritization
Padding
A single MAC entity can support one or multiple numerologies and/or TTI durations and
mapping restrictions in logical channel prioritization controls which numerology and/or TTI
duration a logical channel can use.
NR Radio Protocol Stack Architecture is almost same as LTE Radio Protocol Stack
Architecture. If you are already familiar with LTE protocol stack or general concept of radio
protocol stack, you would not need to spend too much time in reading this page. Just take a
brief look at the various figures / diagrams shown in this page would be enough. If you are
new to the concept of LTE/NR radio protocol stack, I would suggest you to go through this
page whenever you have chance and try to form your own big picture.
I would not describe much details on each component of the protocol stack in this page. It is
too much to describe everything in a single page. The purpose of this page is to provide you
with some big picture or intuitive understanding of the radio protocol stack. Most of the
fundamental idea in this page comes from 3GPP 38.300.
As in LTE / WCDMA, NR radio protocol stack has two different stack depending on the type
of data that is processed by the stack. If the data is Signaling message, it goes through the
C-plane stack and if it is user data, it goes through U-Plane stack. Both U-Plane and C-Plane
is made up of a common structure : PHY <-> MAC <-> RLC <-> PDCP, but the components
sitting on top of PHY/MAC/RLC/PDCP gets different between C-Plane and U-Plane. In case of
U-Plane, a layer called SDAP is sitting at the top of the radio stack and the SDP is connected
to UPF (User Plane Function). In case of C-Plane, the two layers RRC and NAS are sitting at
the top of the stack. NAS layer gets connected to AMF (Access and Mobility Management
Function).
What I've mentioned can be described in a block diagram as shown below.
Now let's look just one step further into the protocol stack. Take a look at the L2 (layer 2)
structure of the NR U-Plane radio protocol. The structure of L2 downlink stack can be
illustrated as shown below. Except the new layer called SDAP, you would notice that the
overall structure is almost identical to LTE L2 structure. NR support carrier aggregation from
the beginning, data for each carrier is processed separately for each carrier in SDAP, PDCP,
RLC and multiplexed/scheduled in the common MAC layer. This is also same as LTE Rel 10
or higher.
Following is L2 structure of NR U-Plane Uplink radio protocol. Basic structure is same as
downlink structure except that Uplink does not support carrier aggregation.
The SDAP protocol is new in 5G NR compared to the LTE protocol stack. SDAP handles the
new QoS framework of the 5G System (in the 5G Core). SDAP applies also to LTE when
connected to the 5G Core. The introduction of SDAP enables end-to-end QoS framework that
works in both directions.
To meet the desired key capabilities of 5G NR, the other layers of the stack provide various
enhancements over their LTE counterparts. The PDCP, RLC, and MAC protocols handle tasks
such as header compression, ciphering, segmentation and concatenation, and multiplexing and
demultiplexing. PHY handles coding and decoding, modulation and demodulation, and antenna
mapping.
This figure shows the 5G NR user plane protocol stack for user equipment (UE) and the NR
radio access network node (gNB). 5G Toolbox™ supports the 5G NR physical layer, including
physical channels and signals. The toolbox also supports interfacing with portions of the RLC
and MAC layers, including transport channels and logical channels.
Downlink Channel Mapping
5G NR system downlink data follows the mapping between logical channels, transport channels,
and physical channels, as indicated in the diagram. 5G Toolbox provides the red-highlighted
downlink functionality for physical channels, transport channels, and control information.
Uplink Channel Mapping
5G NR system uplink data follows the mapping between logical channels, transport channels,
and physical channels, as indicated in the diagram. 5G Toolbox provides the red-highlighted
uplink functionality for physical channels, transport channels, and control information.
References
[1] 3GPP TS 38.211. “NR; Physical channels and modulation.” 3rd Generation Partnership
Project; Technical Specification Group Radio Access Network.
[2] 3GPP TS 38.212. “NR; Multiplexing and channel coding.” 3rd Generation Partnership
Project; Technical Specification Group Radio Access Network.
[3] 3GPP TS 38.300. “NR; NR and NG-RAN Overall Description.” 3rd Generation Partnership
Project; Technical Specification Group Radio Access Network.
G protocol or NR protocol stack is very much similar to the LTE (4G) protocol stack. Similar to
4G (LTE), depending upon the direction of data to be processed, 5G radio protocol stack has two
categories:
If the type of data is signaling or controlling message, then it is sent/forwarded through the
control plane.
Stacks of both control and user plane have almost the same structure. They both have the
common structure for PHY, MAC, RLC, and PDCP layers as shown in the figure. However, the
layers above the PDCP layer are different.
Have a look at the below figures to easily understand and get an overview of it. The main aim is
to develop an intuition of how the 5G protocol stack looks like.
Now, let's go one step deeper and have a look at the internal details of the protocol stack. Below
is the figure of downlink L2 (layer 2) stack.
One important thing we can note here that the structure of LTE L2 and NR L2 is very much
similar except that one new layer, SDAP, is added in NR. Carrier aggregation is supported in NR
from the start. In NR, data for each carrier is processed independently in SDAP layer, PDCP
layer, RLC layer and is basically multiplexed in MAC layer.
Now, let's discuss the structure of NR L2 user plane ( U-Plane) uplink protocol. We can observe
in the below figure that the basic structure of both uplink and downlink is very much similar. The
only major difference is the uplink stack that of downlink stack is it does not have support for
carrier aggregation.