SDAP (Service Data Adaptation Protocol) in 5G-NR
LTE and NR QOS:
The way data moves in NR (that's like super-fast internet) is based on ideas similar to LTE (kind of like fast internet), but there are some differences. One big difference between how data is handled in LTE and NR is that NR has a new layer in its setup called SDAP – which stands for Service Data Adaptation Protocol.
Now, you might wonder why they added this new layer in NR. The reason has to do with how they make sure the quality of your service (QoS) is good in LTE and NR. So, before we talk about why SDAP is important in NR, let's first understand the small differences in how they make sure your service is good between LTE and NR:
NR QoS in Detail:
Having looked at the variations in the Quality of Service (QoS) approach between LTE and NR, we can recognize the necessity for a fresh layer within the NR Protocol Stack to address these updated QoS demands. Let's now take a brief and more detailed exploration of the QoS process in NR. This will help us gain insight into how the new SDAP layer is integrated into the NR protocol stack.
Taking a look at Figure 2 in the diagram can provide us with insights into 5G Quality of Service (QoS) and help us grasp the rationale behind the introduction of SDAP. In this visual representation, each QoS flow is distinguished by a unique QoS Flow Identifier (QFI). Typically, there are two main types of QoS flows: Guaranteed Bit Rate (GBR) and Non GBR.
One important point to note is:
1.????Within the Non-Access Stratum (NAS), the assignment of Uplink and Downlink Packets to their respective QoS flows is achieved through Packet Filters.
2.????In the Access Stratum (AS), the alignment of QoS Flows with Data Radio Bearers (DRBs) is governed by the rules established within User Equipment (UE) and gNB. It's important to note that this particular rule is managed by SDAP.
?
Looking at Figure 2, we observe the presence of packets generated by different applications such as WhatsApp Video, YouTube, Voice, and Netflix.
?
Role of SDAP: This is where the Service Data Adaptation Protocol (SDAP) becomes pivotal. In scenarios where multiple QoS flows require multiplexing onto a single DRB, SDAP fulfils this critical function.
In accordance with Figure 2, a notable observation is that both QoS flow 2 and QoS flow 3—carrying SDFs associated with WhatsApp Video, Skype Video, and YouTube Video—are jointly mapped to a singular DRB2.
?
The SDAP is used for QoS Flow to DRB mapping.
?
Note : If NR-RAN decides to set DRB per QFI flow, then there is no need to have SDAP configured.?
Now that we understand the need of SDAP layer in NR protocol stack, let us see where it fits in. Fig3, illustrates it. The SDAP layer is only configured for NR UE when it is connected to 5G core in SA configuration.
?Please note if the NR UE is in NSA configuration there will be no SDAP layer.?
So, from the protocol stack we can see that SDAP sits on top of PDCP layer. SDAP maps the IP packets coming from application layer to specific Data Radio Bearer.
Here we can see that IP packer n and IP packet n+1 is mapped to DRB X and IP packet m is mapped to DRB Y. The SDAP packet along with header is called SDAP PDU and the data coming from top of SDAP layer is called SDU (Service Date Unit)
?
领英推荐
???????????????????????????????????????????????SDAP PDU = SDAP SDU+HEADER
The SDAP PDU is then forwarded to PDCP layer for further processing
SDAP HEADER:
Few more information:
------------------------------------------------------------------------------------------------------------
Some Brainstorming now, with a cup of?
Q1. Is Ciphering applied on SDAP?
Ans: No Ciphering is not applicable in SDAP layer.
Q2. In which 3GPP specification SDAP is mentioned?
Ans: 3GPP TS 37.324
Q3. If 3GPP in NR protocol, why it is mentioned in 3GPP TS 37?
Ans: SDAP protocol can be configured for EUTRAN when LTE UE is connected to 5G Core, hence it is covered under TS 37 Series.
Q4. Can SDAP be configured for EUTRAN also?
Ans: Yes, SDAP can be configured for EUTRAN, when the LTE UE is connected to 5G core.
Q5. ?Is it mandatory to use SDAP is there is a one-to-one mapping between DRB and QoS Flow?
Ans: No, in case the NR System decides that it will go for one to one mapping between DRB and QoS flow , the system can omit the functionality of SDAP.?
References:
1.??????NR in Bullets.
2.??????Devopedia.org
Test Manager | 5G SA/NSA | LTE | NB-IoT | UE (L1,L2,L3) LOG ANALYSIS | Device Protocol Testing
4 天前TechLTE World suppose there is only one QoS flow ID within a PDU session have dnn-internet. now let say multiple application are running in background. how SDAP layer will distinguish these packets from different application since there is only one QoS flow available with single QoS rule? will SDAP combined all IP packets generated at particular time and send it to lower layer(PDCP)? how does UE SDAP layer work when it has to sent packets generated from multiple application running in background during uplink transmission?
--
1 个月In this explanation, you have mentioned that one or more SDF might share the same QFI. I have question regarding this statement that is this SDF is requested from single UE or multiple UEs
SOFTWARE PROFESSIONAL IN WIRELESS TELECOMMUNICATIONS
1 年In the above example, netflex stream (netflex PDU) , PDU session ID will be 2,, and then for QoS flow 4 , QFI can be 1 right? My basic question is, QFIs are assigned within a PDU session or unique value across all PDU sessions of any UE?
Sales Associate at American Airlines
1 年Thanks for sharing