<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" category="std" consensus="true" docName="draft-ietf-lpwan-schc-over-nbiot-15" indexInclude="true" ipr="trust200902" number="9391" prepTime="2023-04-19T17:47:48" scripts="Common,Latin" sortRefs="true" submissionType="IETF" symRefs="true" tocDepth="3" tocInclude="true" xml:lang="en">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-lpwan-schc-over-nbiot-15" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc9391" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="LPWAN SCHC NB-IoT">Static Context Header Compression over Narrowband Internet of Things</title>
    <seriesInfo name="RFC" value="9391" stream="IETF"/>
    <author initials="E." surname="Ramos" fullname="Edgar Ramos">
      <organization showOnFrontPage="true">Ericsson</organization>
      <address>
        <postal>
          <street>Hirsalantie 11</street>
          <city>Jorvas, Kirkkonummi</city>
          <code>02420</code>
          <country>Finland</country>
        </postal>
        <email>edgar.ramos@ericsson.com</email>
      </address>
    </author>
    <author initials="A." surname="Minaburo" fullname="Ana Minaburo">
      <organization showOnFrontPage="true">Acklio</organization>
      <address>
        <postal>
          <street>1137A Avenue des Champs Blancs</street>
          <city>Cesson-Sevigne Cedex</city>
          <code>35510</code>
          <country>France</country>
        </postal>
        <email>ana@ackl.io</email>
      </address>
    </author>
    <date month="04" year="2023"/>
    <area>int</area>
    <workgroup>lpwan</workgroup>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">This document describes Static Context Header Compression and
      fragmentation (SCHC) specifications, RFCs 8724 and 8824,
      in combination with the 3rd Generation Partnership Project (3GPP) and the
      Narrowband Internet of Things (NB-IoT).</t>
      <t indent="0" pn="section-abstract-2">This document has two parts: one normative part that specifies the
      use of SCHC over NB-IoT and one informational part that recommends some
      values if 3GPP wants to use SCHC inside their architectures.</t>
    </abstract>
    <boilerplate>
      <section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
        <name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
        <t indent="0" pn="section-boilerplate.1-1">
            This is an Internet Standards Track document.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            This document is a product of the Internet Engineering Task Force
            (IETF).  It represents the consensus of the IETF community.  It has
            received public review and has been approved for publication by
            the Internet Engineering Steering Group (IESG).  Further
            information on Internet Standards is available in Section 2 of 
            RFC 7841.
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc9391" brackets="none"/>.
        </t>
      </section>
      <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
        <name slugifiedName="name-copyright-notice">Copyright Notice</name>
        <t indent="0" pn="section-boilerplate.2-1">
            Copyright (c) 2023 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) in effect on the date of
            publication of this document. Please review these documents
            carefully, as they describe your rights and restrictions with
            respect to this document. Code Components extracted from this
            document must include Revised BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Revised BSD License.
        </t>
      </section>
    </boilerplate>
    <toc>
      <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
        <name slugifiedName="name-table-of-contents">Table of Contents</name>
        <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
          <li pn="section-toc.1-1.1">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t>
          </li>
          <li pn="section-toc.1-1.2">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-conventions-and-definitions">Conventions and Definitions</xref></t>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-terminology">Terminology</xref></t>
          </li>
          <li pn="section-toc.1-1.4">
            <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-nb-iot-architecture">NB-IoT Architecture</xref></t>
          </li>
          <li pn="section-toc.1-1.5">
            <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-data-transmission-in-the-3g">Data Transmission in the 3GPP Architecture</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2">
              <li pn="section-toc.1-1.5.2.1">
                <t indent="0" pn="section-toc.1-1.5.2.1.1"><xref derivedContent="5.1" format="counter" sectionFormat="of" target="section-5.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-scenarios">Normative Scenarios</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2.1.2">
                  <li pn="section-toc.1-1.5.2.1.2.1">
                    <t indent="0" pn="section-toc.1-1.5.2.1.2.1.1"><xref derivedContent="5.1.1" format="counter" sectionFormat="of" target="section-5.1.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-schc-over-non-ip-data-deliv">SCHC over Non-IP Data Delivery (NIDD)</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.5.2.2">
                <t indent="0" pn="section-toc.1-1.5.2.2.1"><xref derivedContent="5.2" format="counter" sectionFormat="of" target="section-5.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informational-scenarios">Informational Scenarios</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2.2.2">
                  <li pn="section-toc.1-1.5.2.2.2.1">
                    <t indent="0" pn="section-toc.1-1.5.2.2.2.1.1"><xref derivedContent="5.2.1" format="counter" sectionFormat="of" target="section-5.2.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-use-of-schc-over-the-radio-">Use of SCHC over the Radio Link</xref></t>
                  </li>
                  <li pn="section-toc.1-1.5.2.2.2.2">
                    <t indent="0" pn="section-toc.1-1.5.2.2.2.2.1"><xref derivedContent="5.2.2" format="counter" sectionFormat="of" target="section-5.2.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-use-of-schc-over-the-non-ac">Use of SCHC over the Non-Access Stratum (NAS)</xref></t>
                  </li>
                  <li pn="section-toc.1-1.5.2.2.2.3">
                    <t indent="0" pn="section-toc.1-1.5.2.2.2.3.1"><xref derivedContent="5.2.3" format="counter" sectionFormat="of" target="section-5.2.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-parameters-for-static-contex">Parameters for Static Context Header Compression and
          Fragmentation (SCHC) for the Radio Link and DoNAS Use Cases</xref></t>
                  </li>
                </ul>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.6">
            <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="6" format="counter" sectionFormat="of" target="section-6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-padding">Padding</xref></t>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="7" format="counter" sectionFormat="of" target="section-7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.8">
            <t indent="0" pn="section-toc.1-1.8.1"><xref derivedContent="8" format="counter" sectionFormat="of" target="section-8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="9" format="counter" sectionFormat="of" target="section-9"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.9.2">
              <li pn="section-toc.1-1.9.2.1">
                <t indent="0" pn="section-toc.1-1.9.2.1.1"><xref derivedContent="9.1" format="counter" sectionFormat="of" target="section-9.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.2">
                <t indent="0" pn="section-toc.1-1.9.2.2.1"><xref derivedContent="9.2" format="counter" sectionFormat="of" target="section-9.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="Appendix A" format="default" sectionFormat="of" target="section-appendix.a"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-nb-iot-user-plane-protocol-">NB-IoT User Plane Protocol Architecture</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.10.2">
              <li pn="section-toc.1-1.10.2.1">
                <t indent="0" pn="section-toc.1-1.10.2.1.1"><xref derivedContent="A.1" format="counter" sectionFormat="of" target="section-appendix.a.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-packet-data-convergence-pro">Packet Data Convergence Protocol (PDCP)</xref></t>
              </li>
              <li pn="section-toc.1-1.10.2.2">
                <t indent="0" pn="section-toc.1-1.10.2.2.1"><xref derivedContent="A.2" format="counter" sectionFormat="of" target="section-appendix.a.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-radio-link-protocol-rlc">Radio Link Protocol (RLC)</xref></t>
              </li>
              <li pn="section-toc.1-1.10.2.3">
                <t indent="0" pn="section-toc.1-1.10.2.3.1"><xref derivedContent="A.3" format="counter" sectionFormat="of" target="section-appendix.a.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-medium-access-control-mac">Medium Access Control (MAC)</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.11">
            <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="Appendix B" format="default" sectionFormat="of" target="section-appendix.b"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-nb-iot-data-over-nas-donas">NB-IoT Data over NAS (DoNAS)</xref></t>
          </li>
          <li pn="section-toc.1-1.12">
            <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.c"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgements">Acknowledgements</xref></t>
          </li>
          <li pn="section-toc.1-1.13">
            <t indent="0" pn="section-toc.1-1.13.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.d"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section anchor="Introduction" numbered="true" removeInRFC="false" toc="include" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1">This document defines scenarios where Static Context Header Compression and fragmentation (SCHC) <xref target="RFC8724" format="default" sectionFormat="of" derivedContent="RFC8724"/> <xref target="RFC8824" format="default" sectionFormat="of" derivedContent="RFC8824"/> are suitable for 3rd Generation Partnership Project (3GPP) and Narrowband Internet of Things (NB-IoT) protocol stacks.</t>
      <t indent="0" pn="section-1-2">In the 3GPP and the NB-IoT networks, header compression efficiently brings Internet connectivity to the Device UE (Dev-UE), the radio (RGW-eNB) and network (NGW-MME) gateways, and the Application Server. This document describes the SCHC parameters supporting SCHC over the NB-IoT architecture.</t>
      <t indent="0" pn="section-1-3">This document assumes functionality for NB-IoT of 3GPP release 15  <xref target="R15-3GPP" format="default" sectionFormat="of" derivedContent="R15-3GPP"/>. Otherwise, the text explicitly mentions other versions' functionality.</t>
      <t indent="0" pn="section-1-4">This document has two parts: normative end-to-end scenarios describing how any application must use SCHC over the 3GPP public service and informational scenarios about how 3GPP could use SCHC in their protocol stack network.</t>
    </section>
    <section anchor="conventions-and-definitions" numbered="true" removeInRFC="false" toc="include" pn="section-2">
      <name slugifiedName="name-conventions-and-definitions">Conventions and Definitions</name>
      <t indent="0" pn="section-2-1">
    The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
    "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as
    described in BCP 14 <xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> 
    when, and only when, they appear in all capitals, as shown here.
      </t>
    </section>
    <section anchor="terminology" numbered="true" removeInRFC="false" toc="include" pn="section-3">
      <name slugifiedName="name-terminology">Terminology</name>
      <t indent="0" pn="section-3-1">This document will follow the terms defined in <xref target="RFC8724" format="default" sectionFormat="of" derivedContent="RFC8724"/>, <xref target="RFC8376" format="default" sectionFormat="of" derivedContent="RFC8376"/>, and <xref target="TR23720" format="default" sectionFormat="of" derivedContent="TR23720"/>.</t>
      <dl newline="false" spacing="normal" indent="3" pn="section-3-2">
        <dt pn="section-3-2.1">Capillary Gateway:</dt>
        <dd pn="section-3-2.2">Facilitates seamless integration because it
	has wide-area connectivity through cellular and provides wide-area
	access as a proxy to other devices using LAN technologies (BT, Wi-Fi,
	Zigbee, or others).</dd>
        <dt pn="section-3-2.3">Cellular IoT Evolved Packet System (CIoT EPS):</dt>
        <dd pn="section-3-2.4">A functionality to improve the support of small data
	transfers.</dd>
        <dt pn="section-3-2.5">Device UE (Dev-UE):</dt>
        <dd pn="section-3-2.6">As defined in <xref target="RFC8376" sectionFormat="comma" section="3" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8376#section-3" derivedContent="RFC8376"/>.</dd>
        <dt pn="section-3-2.7">Data over Non-Access Stratum (DoNAS):</dt>
        <dd pn="section-3-2.8">Sending user data within signaling messages over the NAS functional layer.</dd>
        <dt pn="section-3-2.9">Evolved Packet Connectivity (EPC):</dt>
        <dd pn="section-3-2.10">Core network of 3GPP LTE systems.</dd>
        <dt pn="section-3-2.11">Evolved Universal Terrestrial Radio Access Network (EUTRAN):</dt>
        <dd pn="section-3-2.12">Radio access network of LTE-based systems.</dd>
        <dt pn="section-3-2.13">Hybrid Automatic Repeat reQuest (HARQ):</dt>
        <dd pn="section-3-2.14">A combination of high-rate Forward Error Correction (FEC) and Automatic Repeat reQuest (ARQ) error control.</dd>
        <dt pn="section-3-2.15">Home Subscriber Server (HSS):</dt>
        <dd pn="section-3-2.16">A database that contains users' subscription data, including
	data needed for mobility management.</dd>
        <dt pn="section-3-2.17">IP address:</dt>
        <dd pn="section-3-2.18">IPv6 or IPv4 address used.</dd>
        <dt pn="section-3-2.19">InterWorking Service Capabilities Exposure Function
        (IWK-SCEF):</dt>
        <dd pn="section-3-2.20">Used in roaming scenarios, is located in the Visited PLMN, and
	serves for interconnection with the Service Capabilities Exposure
	Function (SCEF) of the Home PLMN.</dd>
        <dt pn="section-3-2.21">Layer 2 (L2):</dt>
        <dd pn="section-3-2.22">L2 in the 3GPP architectures includes MAC, RLC, and PDCP layers; see <xref target="AppendixA" format="default" sectionFormat="of" derivedContent="Appendix A"/>.</dd>
        <dt pn="section-3-2.23">Logical Channel ID (LCID):</dt>
        <dd pn="section-3-2.24">The logical channel instance of the corresponding MAC SDU.</dd>
        <dt pn="section-3-2.25">Medium Access Control (MAC) protocol:</dt>
        <dd pn="section-3-2.26">Part of L2.</dd>
        <dt pn="section-3-2.27">Non-Access Stratum (NAS):</dt>
        <dd pn="section-3-2.28">Functional layer for signaling messages that establishes communication sessions and maintains the communication while the user moves.</dd>
        <dt pn="section-3-2.29">Narrowband IoT (NB-IoT):</dt>
        <dd pn="section-3-2.30">A 3GPP Low-Power WAN (LPWAN) technology based on the LTE
	architecture but with additional optimization for IoT and using a
	Narrowband spectrum frequency.</dd>
        <dt pn="section-3-2.31">Network Gateway - CIoT Serving Gateway Node (NGW-CSGN):</dt>
        <dd pn="section-3-2.32">As defined in <xref target="RFC8376" sectionFormat="comma" section="3" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8376#section-3" derivedContent="RFC8376"/>.</dd>
        <dt pn="section-3-2.33">Network Gateway - Cellular Serving Gateway (NGW-CSGW):</dt>
        <dd pn="section-3-2.34">Routes and forwards the user data packets through the access
	network.</dd>
        <dt pn="section-3-2.35">Network Gateway - Mobility Management Entity (NGW-MME):</dt>
        <dd pn="section-3-2.36">An entity in charge of handling mobility of the Dev-UE.</dd>
        <dt pn="section-3-2.37">Network Gateway - Packet Data Network Gateway (NGW-PGW):</dt>
        <dd pn="section-3-2.38">An interface between the internal and external network.</dd>
        <dt pn="section-3-2.39">Network Gateway - Service Capability Exposure Function
        (NGW-SCEF):</dt>
        <dd pn="section-3-2.40">EPC node for exposure of 3GPP network service capabilities to third
	party applications.</dd>
        <dt pn="section-3-2.41">Non-IP Data Delivery (NIDD):</dt>
        <dd pn="section-3-2.42">End-to-end communication between the UE and the Application Server.</dd>
        <dt pn="section-3-2.43">Packet Data Convergence Protocol (PDCP):</dt>
        <dd pn="section-3-2.44">Part of L2.</dd>
        <dt pn="section-3-2.45">Public Land-based Mobile Network (PLMN):</dt>
        <dd pn="section-3-2.46">A combination of wireless communication services offered by a
	specific operator.</dd>
        <dt pn="section-3-2.47">Protocol Data Unit (PDU):</dt>
        <dd pn="section-3-2.48">A data packet including headers that are transmitted between
	entities through a protocol.</dd>
        <dt pn="section-3-2.49">Radio Link Protocol (RLC):</dt>
        <dd pn="section-3-2.50">Part of L2.</dd>
        <dt pn="section-3-2.51">Radio Gateway - evolved Node B (RGW-eNB):</dt>
        <dd pn="section-3-2.52">Base Station that controls the UE.</dd>
        <dt pn="section-3-2.53">Service Data Unit (SDU):</dt>
        <dd pn="section-3-2.54">A data packet (PDU) from higher-layer protocols used by lower-layer
	protocols as a payload of their own PDUs.</dd>
      </dl>
    </section>
    <section anchor="nb-iot-architecture" numbered="true" removeInRFC="false" toc="include" pn="section-4">
      <name slugifiedName="name-nb-iot-architecture">NB-IoT Architecture</name>
      <t indent="0" pn="section-4-1">The NB-IoT architecture has a complex structure.
      It relies on different Network Gateways (NGWs) from different providers. It can send data via different paths, each with different characteristics in terms of bandwidth, acknowledgments, and L2 reliability and segmentation.</t>
      <t indent="0" pn="section-4-2"><xref target="Figure-Archi" format="default" sectionFormat="of" derivedContent="Figure 1"/> shows this architecture, where the Network Gateway - Cellular IoT Serving Gateway Node (NGW-CSGN) optimizes co-locating entities in different paths. For example, a Dev-UE using the path formed by the Network Gateway - Mobility Management Entity (NGW-MME), the NGW-CSGW, and the Network Gateway - Packet Data Network Gateway (NGW-PGW) may get a limited bandwidth transmission from a few bytes/s to one thousand bytes/s only.</t>
      <t indent="0" pn="section-4-3">Another node introduced in the NB-IoT architecture is the Network Gateway - Service Capability Exposure Function (NGW-SCEF),
which securely exposes service and network capabilities to entities external to the network operator. The Open Mobile Alliance (OMA) <xref target="OMA0116" format="default" sectionFormat="of" derivedContent="OMA0116"/> and the One Machine to Machine (OneM2M) <xref target="TR-0024" format="default" sectionFormat="of" derivedContent="TR-0024"/> define the northbound APIs. <xref target="TS23222" format="default" sectionFormat="of" derivedContent="TS23222"/> defines architecture for the common API framework for 3GPP northbound APIs. <xref target="TS33122" format="default" sectionFormat="of" derivedContent="TS33122"/> defines security aspects for a common API framework for 3GPP northbound APIs. In this case, the path is small for data transmission. 
The main functions of the NGW-SCEF are path connectivity and device monitoring.</t>
      <figure anchor="Figure-Archi" align="left" suppress-title="false" pn="figure-1">
        <name slugifiedName="name-3gpp-network-architecture">3GPP Network Architecture</name>
        <artwork align="left" pn="section-4-4.1">
+---+              +---------+    +------+
|Dev| \            | +-----+ | ---| HSS  |    
|-UE|  \           | | NGW | |    +------+
+---+  |           | |-MME |\__
        \          / +-----+ | \   
+---+    \+-----+ /|   |     | +------+
|Dev| ----| RGW |- |   |     | | NGW- |
|-UE|     |-eNB |  |   |     | | SCEF |---------+
+---+    /+-----+ \|   |     | +------+         |
        /          \ +------+|                  |
       /           |\| NGW- || +-----+   +-----------+
+---+ /            | | CSGW |--| NGW-|---|Application|
|Dev|              | |      || | PGW |   |   Server  |
|-UE|              | +------+| +-----+   +-----------+
+---+              |         |
                   |NGW-CSGN |
                   +---------+
</artwork>
      </figure>
    </section>
    <section anchor="data-transmission-in-the-3gpp-architecture" numbered="true" removeInRFC="false" toc="include" pn="section-5">
      <name slugifiedName="name-data-transmission-in-the-3g">Data Transmission in the 3GPP Architecture</name>
      <t indent="0" pn="section-5-1">NB-IoT networks deal with end-to-end user data and in-band signaling between the nodes and functions to configure, control, and monitor the system functions and behaviors. The signaling uses a different path with specific protocols, handling processes, and entities but can transport end-to-end user data for IoT services. In contrast, the end-to-end application only transports end-to-end data.</t>
      <t indent="0" pn="section-5-2">The recommended 3GPP MTU size is 1358 bytes. The radio network protocols limit the packet sizes over the air, including radio protocol overhead, to 1600 bytes; see <xref target="Radio-Parameters" format="default" sectionFormat="of" derivedContent="Section 5.2.3"/>. However, the recommended 3GPP MTU is smaller to avoid fragmentation in the network backbone due to the payload encryption size (multiple of 16) and the additional core transport overhead handling.</t>
      <t indent="0" pn="section-5-3">3GPP standardizes NB-IoT and, in general, the interfaces and functions of cellular technologies. Therefore, the introduction of SCHC entities to Dev-UE, RGW-eNB, and NGW-CSGN needs to be specified in the NB-IoT standard.</t>
      <t indent="0" pn="section-5-4">This document identifies the use cases of SCHC over the NB-IoT architecture.</t>
      <t indent="0" pn="section-5-5">The first use case is of the radio transmission (see <xref target="Radio" format="default" sectionFormat="of" derivedContent="Section 5.2.1"/>) where the Dev-UE and the RGW-eNB can use the SCHC functionalities.</t>
      <t indent="0" pn="section-5-6">The second is where the packets transmitted over the control path can also use SCHC when the transmission goes over the NGW-MME or NGW-SCEF (see <xref target="DONAS" format="default" sectionFormat="of" derivedContent="Section 5.2.2"/>).</t>
      <t indent="0" pn="section-5-7">These two use cases are also valid for any 3GPP architecture and not only for NB-IoT. And as the 3GPP internal network is involved, they have been put in the informational part of this section.</t>
      <t indent="0" pn="section-5-8">And the third covers the SCHC over Non-IP Data Delivery (NIDD) connection or at least up to the operator network edge (see <xref target="E2E" format="default" sectionFormat="of" derivedContent="Section 5.1.1"/>). In this case, SCHC functionalities are available in the application layer of the Dev-UE and the Application Servers or a broker function at the edge of the operator network. NGW-PGW or NGW-SCEF transmit the packets that are Non-IP traffic, using IP tunneling or API calls. It is also possible to benefit legacy devices with SCHC by using the Non-IP transmission features of the operator network.</t>
      <t indent="0" pn="section-5-9">A Non-IP transmission refers to an L2 transport that is different from NB-IoT.</t>
      <section anchor="normative-part" numbered="true" removeInRFC="false" toc="include" pn="section-5.1">
        <name slugifiedName="name-normative-scenarios">Normative Scenarios</name>
        <t indent="0" pn="section-5.1-1">These scenarios do not modify the 3GPP architecture or any of its
        components. They only use the architecture as an L2
        transmission.</t>
        <section anchor="E2E" numbered="true" removeInRFC="false" toc="include" pn="section-5.1.1">
          <name slugifiedName="name-schc-over-non-ip-data-deliv">SCHC over Non-IP Data Delivery (NIDD)</name>
          <t indent="0" pn="section-5.1.1-1">This section specifies the use of SCHC over NIDD services of 3GPP. The NIDD services of 3GPP enable the transmission of SCHC packets compressed by the application layer. The packets can be delivered between the NGW-PGW and the Application Server or between the NGW-SCEF and the Application Server, using IP-tunnels or API calls. In both cases, as compression occurs before transmission, the network will not understand the packet, and the network does not have context information of this compression. Therefore, the network will treat the packet as Non-IP traffic and deliver it to the other side without any other protocol stack element, directly over L2.</t>
          <section anchor="schc-entities-placing-over-nidd" numbered="true" removeInRFC="false" toc="exclude" pn="section-5.1.1.1">
            <name slugifiedName="name-schc-entities-placing-over-">SCHC Entities Placing over NIDD</name>
            <t indent="0" pn="section-5.1.1.1-1">In the two scenarios using NIDD compression, SCHC entities are located almost on top of the stack. The NB-IoT connectivity services implement SCHC in the Dev-UE, an in the Application Server. The IP tunneling scenario requires that the Application Server send the compressed packet over an IP connection terminated by the 3GPP core network. If the transmission uses the NGW-SCEF services, it is possible to utilize an API call to transfer the SCHC packets between the core network and the Application Server. Also, an IP tunnel could be established by the Application Server if negotiated with the NGW-SCEF.</t>
            <figure anchor="Fig--NIDD" align="left" suppress-title="false" pn="figure-2">
              <name slugifiedName="name-end-to-end-compression-schc">End-to-End Compression: SCHC Entities Placed when Using Non-IP Delivery (NIDD) 3GPP Services</name>
              <artwork align="left" pn="section-5.1.1.1-2.1">
+---------+       XXXXXXXXXXXXXXXXXXXXXXXX             +--------+
| SCHC    |      XXX                    XXX            | SCHC   |
|(Non-IP) +-----XX........................XX....+--*---+(Non-IP)|
+---------+    XX                  +----+  XX   |  |   +--------+
|         |    XX                  |SCEF+-------+  |   |        |
|         |   XXX     3GPP RAN &amp;   +----+  XXX     +---+  UDP   |
|         |   XXX    CORE NETWORK          XXX     |   |        |
|  L2     +---+XX                  +------------+  |   +--------+
|         |     XX                 |IP TUNNELING+--+   |        |
|         |      XXX               +------------+  +---+  IP    |
+---------+       XXXX                 XXXX        |   +--------+
| PHY     +------+ XXXXXXXXXXXXXXXXXXXXXXX         +---+  PHY   |
+---------+                                            +--------+
  Dev-UE                                              Application     
                                                         Server
</artwork>
            </figure>
          </section>
          <section anchor="Config" numbered="true" removeInRFC="false" toc="exclude" pn="section-5.1.1.2">
            <name slugifiedName="name-parameters-for-static-conte">Parameters for Static Context Header Compression and Fragmentation (SCHC)</name>
            <t indent="0" pn="section-5.1.1.2-1">These scenarios <bcp14>MAY</bcp14> use the SCHC header compression
            capability to improve the transmission of IPv6 packets.</t>
            <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-5.1.1.2-2">
              <li pn="section-5.1.1.2-2.1">
                <t indent="0" pn="section-5.1.1.2-2.1.1">SCHC Context Initialization</t>
                <t indent="0" pn="section-5.1.1.2-2.1.2">The application layer handles the static context.
	      Consequently, the context distribution <bcp14>MUST</bcp14> be
	      according to the application's capabilities, perhaps utilizing
	      IP data transmissions up to context initialization. Also, the
	      static context delivery may use the same IP tunneling or
	      NGW-SCEF services used later for the transport of SCHC packets.</t>
              </li>
              <li pn="section-5.1.1.2-2.2">
                <t indent="0" pn="section-5.1.1.2-2.2.1">SCHC Rules</t>
                <t indent="0" pn="section-5.1.1.2-2.2.2">For devices acting as a capillary gateway, several rules
	      match the diversity of devices and protocols used by the devices
	      associated with the gateway. Meanwhile, simpler devices may have
	      predetermined protocols and fixed parameters.</t>
              </li>
              <li pn="section-5.1.1.2-2.3">
                <t indent="0" pn="section-5.1.1.2-2.3.1">RuleID</t>
                <t indent="0" pn="section-5.1.1.2-2.3.2">This scenario can dynamically set the RuleID size before the
	      context delivery, for example, by negotiating between the
	      applications when choosing a profile according to the type of
	      traffic and application deployed.  Transmission optimization may
	      require only one Physical Layer transmission. SCHC overhead
	      <bcp14>SHOULD NOT</bcp14> exceed the available number of
	      effective bits of the smallest physical Transport Block (TB) available to optimize
	      the transmission. The packets handled by 3GPP networks are
	      byte-aligned. Thus, to use the smallest TB, the maximum SCHC
	      header size is 12 bits. On the other hand, more complex NB-IoT
	      devices (such as a capillary gateway) might require additional
	      bits to handle the variety and multiple parameters of
	      higher-layer protocols deployed.  The configuration may be part
	      of the agreed operation profile and content distribution. 
              The RuleID field size may range from 2 bits, resulting in 4
              rules, to an 8-bit value, yielding up to 256 rules for use by
              operators.  A 256-rule maximum limit seems to be quite
              reasonable, even for a device acting as a NAT.  An application
              may use a larger RuleID, but it should consider the byte
              alignment of the expected Compression Residue. In the minimum TB
              size case, 2 bits of RuleID leave only 6 bits available for
              Compression Residue.</t>
              </li>
              <li pn="section-5.1.1.2-2.4">
                <t indent="0" pn="section-5.1.1.2-2.4.1">SCHC MAX_PACKET_SIZE</t>
                <t indent="0" pn="section-5.1.1.2-2.4.2">In these scenarios, the maximum <bcp14>RECOMMENDED</bcp14>
	      MTU size is 1358 bytes since the SCHC packets (and fragments)
	      are traversing the whole 3GPP network infrastructure (core and
	      radio), not only the radio as in the IP transmissions
	      case.</t>
              </li>
              <li pn="section-5.1.1.2-2.5">
                <t indent="0" pn="section-5.1.1.2-2.5.1">Fragmentation</t>
                <t indent="0" pn="section-5.1.1.2-2.5.2">Packets larger than 1358 bytes need the SCHC fragmentation
	      function. Since the 3GPP uses reliability functions, the No-ACK
	      fragmentation mode <bcp14>MAY</bcp14> be enough in
	      point-to-point connections. Nevertheless, additional
	      considerations are described below for more complex
	      cases.</t>
              </li>
              <li pn="section-5.1.1.2-2.6">
                <t indent="0" pn="section-5.1.1.2-2.6.1">Fragmentation Modes</t>
                <t indent="0" pn="section-5.1.1.2-2.6.2">A global service assigns a QoS to the packets, e.g., depending
	      on the billing. Packets with very low QoS may get lost before
	      arriving in the 3GPP radio network transmission, e.g., in
	      between the links of a capillary gateway or due to buffer
	      overflow handling in a backhaul connection.  The use of SCHC
	      fragmentation with the ACK-on-Error mode is
	      <bcp14>RECOMMENDED</bcp14> to secure additional reliability on
	      the packets transmitted with a small trade-off on further
	      transmissions to signal the end-to-end arrival of the packets if
	      no transport protocol takes care of retransmission.<br/> Also,
	      the ACK-on-Error mode could be desirable to keep track of all
	      the SCHC packets delivered. In that case, the fragmentation
	      function could be activated for all packets transmitted by the
	      applications.  SCHC ACK-on-Error fragmentation
	      <bcp14>MAY</bcp14> be activated in transmitting Non-IP packets
	      on the NGW-MME. A Non-IP packet will use SCHC reserved RuleID
	      for non-compressing packets as <xref target="RFC8724" format="default" sectionFormat="of" derivedContent="RFC8724"/> allows it.</t>
              </li>
              <li pn="section-5.1.1.2-2.7">
                <t indent="0" pn="section-5.1.1.2-2.7.1">Fragmentation Parameters</t>
                <t indent="0" pn="section-5.1.1.2-2.7.2">SCHC profile will have specific Rules for the fragmentation
	      modes. The rule will identify which fragmentation mode is in
	      use, and <xref target="Radio-Parameters" format="default" sectionFormat="of" derivedContent="Section 5.2.3"/> defines the RuleID
	      size.</t>
              </li>
            </ul>
            <t indent="0" pn="section-5.1.1.2-3">SCHC parametrization considers that NB-IoT aligns the bit and
            uses padding and the size of the Transfer Block. SCHC will try to
            reduce padding to optimize the compression of the information. The
            header size needs to be a multiple of 4. The Tiles
            <bcp14>MAY</bcp14> keep a fixed value of 4 or 8 bits to avoid
            padding, except for when the transfer block equals 16 bits as
            the Tiles may be 2 bits. The transfer block size has a wide range
            of values. Two configurations are <bcp14>RECOMMENDED</bcp14> for
            the fragmentation parameters.</t>
            <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-5.1.1.2-4">
              <li pn="section-5.1.1.2-4.1">
                <t indent="0" pn="section-5.1.1.2-4.1.1">For Transfer Blocks smaller than or equal to 304 bits using an
                8-bit Header_size configuration, with the size of the header
                fields as follows:
                </t>
                <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-5.1.1.2-4.1.2">
                  <li pn="section-5.1.1.2-4.1.2.1">RuleID from 1 - 3 bits</li>
                  <li pn="section-5.1.1.2-4.1.2.2">DTag 1 bit</li>
                  <li pn="section-5.1.1.2-4.1.2.3">FCN 3 bits</li>
                  <li pn="section-5.1.1.2-4.1.2.4">W 1 bits</li>
                </ul>
              </li>
              <li pn="section-5.1.1.2-4.2">
                <t indent="0" pn="section-5.1.1.2-4.2.1">For Transfer Blocks bigger than 304 bits using a 16-bit Header_size configuration, with the size of the header fields as follows:
                </t>
                <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-5.1.1.2-4.2.2">
                  <li pn="section-5.1.1.2-4.2.2.1">RulesID from 8 - 10 bits</li>
                  <li pn="section-5.1.1.2-4.2.2.2">DTag 1 or 2 bits</li>
                  <li pn="section-5.1.1.2-4.2.2.3">FCN 3 bits</li>
                  <li pn="section-5.1.1.2-4.2.2.4">W 2 or 3 bits</li>
                </ul>
              </li>
              <li pn="section-5.1.1.2-4.3">WINDOW_SIZE of (2<sup>N</sup>)-1 is <bcp14>RECOMMENDED</bcp14>.</li>
              <li pn="section-5.1.1.2-4.4">Reassembly Check Sequence (RCS) will follow the default size defined in <xref target="RFC8724" sectionFormat="of" section="8.2.3" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8724#section-8.2.3" derivedContent="RFC8724"/>, with a length equal to the L2 Word.</li>
              <li pn="section-5.1.1.2-4.5">MAX_ACK_REQ is <bcp14>RECOMMENDED</bcp14> to be 2, but applications <bcp14>MAY</bcp14> change this value based on transmission conditions.</li>
            </ul>
            <t indent="0" pn="section-5.1.1.2-5">The IoT devices communicate with small data transfers and use the Power Save Mode and the Idle Mode Discontinuous Reception (DRX), which govern how often the device wakes up, stays up, and is reachable. The use of the different modes allows the battery to last ten years. Table 10.5.163a in <xref target="TS24008" format="default" sectionFormat="of" derivedContent="TS24008"/> defines the radio timer values with units incrementing by N. The units of N can be 1 hour or 10 hours. The range used for IoT is of N to 3N, where N increments by one. 

	    The Inactivity Timer and the Retransmission Timer can be set based on these limits.</t>
          </section>
        </section>
      </section>
      <section anchor="informational-part" numbered="true" removeInRFC="false" toc="include" pn="section-5.2">
        <name slugifiedName="name-informational-scenarios">Informational Scenarios</name>
        <t indent="0" pn="section-5.2-1">These scenarios show how 3GPP could use SCHC for their
        transmissions.</t>
        <section anchor="Radio" numbered="true" removeInRFC="false" toc="include" pn="section-5.2.1">
          <name slugifiedName="name-use-of-schc-over-the-radio-">Use of SCHC over the Radio Link</name>
          <t indent="0" pn="section-5.2.1-1">Deploying SCHC over the Radio Link only would require placing it as part of the protocol stack for data transfer between the Dev-UE and the RGW-eNB. This stack is the functional layer responsible for transporting data over the wireless connection and managing radio resources. There is support for features such as reliability, segmentation, and concatenation. The transmissions use link adaptation, meaning that the system will optimize the transport format used according to the radio conditions, the number of bits to transmit, and the power and interference constraints. That means that the number of bits transmitted over the air depends on the selected Modulation and Coding Schemes (MCSs). Transport Block (TB) transmissions happen in the Physical Layer at network-synchronized intervals called Transmission Time Interval (TTI). Each TB has a different MCS and number of bits available to transmit. The MAC layer <xref target="TR36321" format="default" sectionFormat="of" derivedContent="TR36321"/> defines the characteristics of the TBs. The Radio Link stack shown in <xref target="Fig-ProtocolArchi3" format="default" sectionFormat="of" derivedContent="Figure 3"/> comprises the Packet Data Convergence Protocol (PDCP) <xref target="TS36323" format="default" sectionFormat="of" derivedContent="TS36323"/>, the Radio Link Protocol (RLC) <xref target="TS36322" format="default" sectionFormat="of" derivedContent="TS36322"/>, the Medium Access Control protocol (MAC) <xref target="TR36321" format="default" sectionFormat="of" derivedContent="TR36321"/>, and the Physical Layer <xref target="TS36201" format="default" sectionFormat="of" derivedContent="TS36201"/>. <xref target="AppendixA" format="default" sectionFormat="of" derivedContent="Appendix A"/> gives more details about these protocols.</t>
          <figure anchor="Fig-ProtocolArchi3" align="left" suppress-title="false" pn="figure-3">
            <name slugifiedName="name-schc-over-the-radio-link">SCHC over the Radio Link</name>
            <artwork align="left" pn="section-5.2.1-2.1">
+---------+                              +---------+  |
|IP/Non-IP+------------------------------+IP/Non-IP+-&gt;+
+---------+   |   +---------------+   |  +---------+  |
| PDCP    +-------+ PDCP  | GTP|U +------+ GTP-U   |-&gt;+
| (SCHC)  +       + (SCHC)|       +      +         |  |           
+---------+   |   +---------------+   |  +---------+  |
| RLC     +-------+ RLC   |UDP/IP +------+ UDP/IP  +-&gt;+
+---------+   |   +---------------+   |  +---------+  |
| MAC     +-------+ MAC   | L2    +------+ L2      +-&gt;+
+---------+   |   +---------------+   |  +---------+  |
| PHY     +-------+ PHY   | PHY   +------+ PHY     +-&gt;+
+---------+       +---------------+      +---------+  |
           C-Uu/                    S1-U             SGi
  Dev-UE               RGW-eNB             NGW-CSGN
          Radio Link
</artwork>
          </figure>
          <section anchor="schc-entities-placing-over-the-radio-link" numbered="true" removeInRFC="false" toc="exclude" pn="section-5.2.1.1">
            <name slugifiedName="name-placing-schc-entities-over-">Placing SCHC Entities over the Radio Link</name>
            <t indent="0" pn="section-5.2.1.1-1">The 3GPP architecture supports Robust Header Compression (ROHC) <xref target="RFC5795" format="default" sectionFormat="of" derivedContent="RFC5795"/> in the PDCP layer. Therefore, the architecture can deploy SCHC header compression entities similarly without the need for significant changes in the 3GPP specifications.</t>
            <t indent="0" pn="section-5.2.1.1-2">The RLC layer has three functional modes: Transparent Mode (TM), Unacknowledged Mode (UM), and Acknowledged Mode (AM). The mode of operation controls the functionalities of the RLC layer.
TM only applies to signaling packets, while AM or UM carry signaling and data packets.</t>
            <t indent="0" pn="section-5.2.1.1-3">The RLC layer takes care of fragmentation except for the TM. In AM or UM, the SCHC fragmentation is unnecessary and <bcp14>SHOULD NOT</bcp14> be used. While sending IP packets, the Radio Link does not commonly use the RLC TM. However, if other protocol overhead optimizations are targeted for NB-IoT traffic, SCHC fragmentation may be used for TM transmission in the future.</t>
          </section>
        </section>
        <section anchor="DONAS" numbered="true" removeInRFC="false" toc="include" pn="section-5.2.2">
          <name slugifiedName="name-use-of-schc-over-the-non-ac">Use of SCHC over the Non-Access Stratum (NAS)</name>
          <t indent="0" pn="section-5.2.2-1">This section consists of IETF suggestions to the 3GPP. The NGW-MME conveys mainly signaling between the Dev-UE and the cellular network <xref target="TR24301" format="default" sectionFormat="of" derivedContent="TR24301"/>. The network transports this traffic on top of the Radio Link.</t>
          <t indent="0" pn="section-5.2.2-2">This kind of flow supports data transmissions to reduce the overhead when transmitting infrequent small quantities of data. This transmission is known as Data over Non-Access Stratum (DoNAS) or Control Plane CIoT EPS optimizations. In DoNAS, the Dev-UE uses the pre-established security, can piggyback small uplink data into the initial uplink message, and uses an additional message to receive a downlink small data response.</t>
          <t indent="0" pn="section-5.2.2-3">The NGW-MME performs the data encryption from the network side in a DoNAS PDU. Depending on the data type signaled indication (IP or Non-IP data), the network allocates an IP address or establishes a direct forwarding path.
DoNAS is regulated under rate control upon previous agreement, meaning that a maximum number of bits per unit of time is agreed upon per device subscription beforehand and configured in the device.</t>
          <t indent="0" pn="section-5.2.2-4">The system will use DoNAS when a terminal in a power-saving state requires a short transmission and receives an acknowledgment or short feedback from the network. Depending on the size of the buffered data to be transmitted, the Dev-UE might deploy the connected mode transmission instead. The connected mode would limit and control the DoNAS transmissions to predefined thresholds, and it would be a good resource optimization balance for the terminal and the network. The support for mobility of DoNAS is present but produces additional overhead. <xref target="AppendixB" format="default" sectionFormat="of" derivedContent="Appendix B"/> gives additional details of DoNAS.</t>
          <section anchor="schc-entities-placing-over-donas" numbered="true" removeInRFC="false" toc="exclude" pn="section-5.2.2.1">
            <name slugifiedName="name-placing-schc-entities-over-d">Placing SCHC Entities over DoNAS</name>
            <t indent="0" pn="section-5.2.2.1-1">SCHC resides in this scenario's Non-Access Stratum (NAS) protocol layer. The same principles as for <xref target="Radio" format="default" sectionFormat="of" derivedContent="Section 5.2.1"/> apply here as well. Because the NAS protocol already uses ROHC <xref target="RFC5795" format="default" sectionFormat="of" derivedContent="RFC5795"/>, it can also adapt SCHC for header compression. The main difference compared to the Radio Link (<xref target="Radio" format="default" sectionFormat="of" derivedContent="Section 5.2.1"/>) is the physical placing of the SCHC entities. On the network side, the NGW-MME resides in the core network and is the terminating node for NAS instead of the RGW-eNB.</t>
            <figure anchor="Fig-ProtocolArchi4" align="left" suppress-title="false" pn="figure-4">
              <name slugifiedName="name-schc-entities-placement-in-">SCHC Entities Placement in the 3GPP CIOT Radio Protocol Architecture for DoNAS Transmissions</name>
              <artwork align="left" pn="section-5.2.2.1-2.1">
+--------+                       +--------+--------+  +  +--------+
| IP/    +--+-----------------+--+  IP/   |   IP/  +-----+   IP/  |
| Non-IP |  |                 |  | Non-IP | Non-IP |  |  | Non-IP |
+--------+  |                 |  +-----------------+  |  +--------+
| NAS    +-----------------------+   NAS  |GTP-C/U +-----+GTP-C/U |
|(SCHC)  |  |                 |  | (SCHC) |        |  |  |        |
+--------+  |  +-----------+  |  +-----------------+  |  +--------+
| RRC    +-----+RRC  |S1|AP+-----+ S1|AP  |        |  |  |        |
+--------+  |  +-----------+  |  +--------+  UDP   +-----+  UDP   |
| PDCP*  +-----+PDCP*|SCTP +-----+ SCTP   |        |  |  |        |
+--------+  |  +-----------+  |  +-----------------+  |  +--------+
| RLC    +-----+ RLC | IP  +-----+ IP     | IP     +-----+ IP     |
+--------+  |  +-----------+  |  +-----------------+  |  +--------+
| MAC    +-----+ MAC | L2  +-----+ L2     | L2     +-----+ L2     |
+--------+  |  +-----------+  |  +-----------------+  |  +--------+
| PHY    +--+--+ PHY | PHY +--+--+ PHY    | PHY    +-----+ PHY    |
+--------+     +-----+-----+     +--------+--------+  |  +--------+
           C-Uu/             S1                   SGi
 Dev-UE           RGW-eNB               NGW-MME             NGW-PGW

    *PDCP is bypassed until AS security is activated TGPP36300.
</artwork>
            </figure>
          </section>
        </section>
        <section anchor="Radio-Parameters" numbered="true" removeInRFC="false" toc="include" pn="section-5.2.3">
          <name slugifiedName="name-parameters-for-static-contex">Parameters for Static Context Header Compression and
          Fragmentation (SCHC) for the Radio Link and DoNAS Use Cases</name>
          <t indent="0" pn="section-5.2.3-1">If 3GPP incorporates SCHC, it is recommended that these scenarios
          use the SCHC header compression <xref target="RFC8724" format="default" sectionFormat="of" derivedContent="RFC8724"/> capability to
          optimize the data transmission.</t>
          <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-5.2.3-2">
            <li pn="section-5.2.3-2.1">
              <t indent="0" pn="section-5.2.3-2.1.1">SCHC Context Initialization</t>
              <t indent="0" pn="section-5.2.3-2.1.2">The Radio Resource Control (RRC) protocol is the main tool used
	    to configure the parameters of the Radio Link. It will configure
	    SCHC and the static context distribution as it has been made for ROHC operation
	    <xref target="RFC5795" format="default" sectionFormat="of" derivedContent="RFC5795"/> <xref target="TS36323" format="default" sectionFormat="of" derivedContent="TS36323"/>.</t>
            </li>
            <li pn="section-5.2.3-2.2">
              <t indent="0" pn="section-5.2.3-2.2.1">SCHC Rules</t>
              <t indent="0" pn="section-5.2.3-2.2.2">The network operator defines the number of
	    rules in these scenarios. For this, the network operator must know the IP traffic the
	    device will carry. The operator might supply rules compatible with
	    the device's use case.  For devices acting as a capillary gateway,
	    several rules match the diversity of devices and protocols used by
	    the devices associated with the gateway. Meanwhile, simpler
	    devices may have predetermined protocols and fixed parameters.
	    The use of IPv6 and IPv4 may force the operator to develop more rules to deal with
	    each case.</t>
            </li>
            <li pn="section-5.2.3-2.3">
              <t indent="0" pn="section-5.2.3-2.3.1">RuleID</t>
              <t indent="0" pn="section-5.2.3-2.3.2">There is a reasonable assumption of 9 bytes of radio protocol
            overhead for these transmission scenarios in NB-IoT, where PDCP
            uses 5 bytes due to header and integrity protection and where RLC
            and MAC use 4 bytes. The minimum physical TBs
            that can withhold this overhead value, according to the 3GPP
            Release 15 specification <xref target="R15-3GPP" format="default" sectionFormat="of" derivedContent="R15-3GPP"/>, are 88, 104,
            120, and 144 bits.  As for <xref target="Config" format="default" sectionFormat="of" derivedContent="Section 5.1.1.2"/>, these
            scenarios must optimize the Physical Layer where the smallest TB
            is 12 bits.  These 12 bits must include the Compression Residue in
            addition to the RuleID. On the other hand, more complex NB-IoT
            devices (such as a capillary gateway) might require additional
            bits to handle the variety and multiple parameters of higher-layer
            protocols deployed. In that sense, the operator may want
            flexibility on the number and type of rules independently
            supported by each device; consequently, these scenarios require a
            configurable value.  The configuration may be part of the agreed
            operation profile with the content distribution.  The RuleID field
            size may range from 2 bits, resulting in 4 rules, to an 8-bit
            value, yielding up to 256 rules for use with the operators.  A
            256-rule maximum limit seems to be quite reasonable, even for a
            device acting as a NAT.  An application may use a larger RuleID,
            but it should consider the byte alignment of the expected
            Compression Residue. In the minimum TB size case, 2 bits of RuleID
            leave only 6 bits available for Compression Residue.</t>
            </li>
            <li pn="section-5.2.3-2.4">
              <t indent="0" pn="section-5.2.3-2.4.1">SCHC MAX_PACKET_SIZE</t>
              <t indent="0" pn="section-5.2.3-2.4.2">The Radio Link can handle the fragmentation of SCHC packets if
            needed, including reliability. Hence, the packet size is limited
            by the MTU that is handled by the radio protocols, which
            corresponds to 1600 bytes for the 3GPP Release 15.</t>
            </li>
            <li pn="section-5.2.3-2.5">
              <t indent="0" pn="section-5.2.3-2.5.1">Fragmentation</t>
              <t indent="0" pn="section-5.2.3-2.5.2">For the Radio Link (<xref target="Radio" format="default" sectionFormat="of" derivedContent="Section 5.2.1"/>) and DoNAS (<xref target="DONAS" format="default" sectionFormat="of" derivedContent="Section 5.2.2"/>) scenarios, the SCHC fragmentation functions are
            disabled. The RLC layer of NB-IoT can segment packets into
            suitable units that fit the selected TB for
            transmissions of the Physical Layer. The block selection is made
            according to the link adaptation input function in the MAC layer
            and the quantity of data in the buffer. The link adaptation layer
            may produce different results at each TTI, resulting in varying
	    physical TBs that depend
            on the network load, interference, number of bits transmitted, and
            QoS. Even if setting a value that allows the construction of data
            units following the SCHC tiles principle, the protocol overhead
            may be greater or equal to allowing the Radio Link protocols to
            take care of the fragmentation intrinsically.</t>
            </li>
            <li pn="section-5.2.3-2.6">
              <t indent="0" pn="section-5.2.3-2.6.1">Fragmentation in RLC TM</t>
              <t indent="0" pn="section-5.2.3-2.6.2">The RLC TM mostly applies to control signaling
            transmissions. When RLC operates in TM, the MAC
            layer mechanisms ensure reliability and generate overhead. This
            additional reliability implies sending repetitions or automatic
            retransmissions.</t>
              <t indent="0" pn="section-5.2.3-2.6.3">The ACK-Always fragmentation mode of SCHC may reduce this
          overhead in future operations when data transmissions may use this
          mode. The ACK-Always mode may transmit compressed data with fewer
          possible transmissions by using fixed or limited TBs
          compatible with the tiling SCHC fragmentation handling. For SCHC
          fragmentation parameters, see <xref target="Config" format="default" sectionFormat="of" derivedContent="Section 5.1.1.2"/>.</t>
            </li>
          </ul>
        </section>
      </section>
    </section>
    <section anchor="padding" numbered="true" removeInRFC="false" toc="include" pn="section-6">
      <name slugifiedName="name-padding">Padding</name>
      <t indent="0" pn="section-6-1">NB-IoT and 3GPP wireless access, in general, assumes a byte-aligned payload. Therefore, the L2 Word for NB-IoT <bcp14>MUST</bcp14> be considered 8 bits, and the padding treatment should use this value accordingly.</t>
    </section>
    <section anchor="iana-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-7">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <t indent="0" pn="section-7-1">This document has no IANA actions.</t>
    </section>
    <section anchor="security-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-8">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-8-1">This document does not add any security considerations and follows <xref target="RFC8724" format="default" sectionFormat="of" derivedContent="RFC8724"/> and the 3GPP access security document specified in <xref target="TS33122" format="default" sectionFormat="of" derivedContent="TS33122"/>.</t>
    </section>
  </middle>
  <back>
    <references pn="section-9">
      <name slugifiedName="name-references">References</name>
      <references pn="section-9.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author fullname="S. Bradner" initials="S." surname="Bradner"/>
            <date month="March" year="1997"/>
            <abstract>
              <t indent="0">In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized.  This document defines these words as they should be interpreted in IETF documents.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
          <seriesInfo name="DOI" value="10.17487/RFC2119"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" quoteTitle="true" derivedAnchor="RFC8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author fullname="B. Leiba" initials="B." surname="Leiba"/>
            <date month="May" year="2017"/>
            <abstract>
              <t indent="0">RFC 2119 specifies common key words that may be used in protocol specifications.  This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
          <seriesInfo name="DOI" value="10.17487/RFC8174"/>
        </reference>
        <reference anchor="RFC8724" target="https://www.rfc-editor.org/info/rfc8724" quoteTitle="true" derivedAnchor="RFC8724">
          <front>
            <title>SCHC: Generic Framework for Static Context Header Compression and Fragmentation</title>
            <author fullname="A. Minaburo" initials="A." surname="Minaburo"/>
            <author fullname="L. Toutain" initials="L." surname="Toutain"/>
            <author fullname="C. Gomez" initials="C." surname="Gomez"/>
            <author fullname="D. Barthel" initials="D." surname="Barthel"/>
            <author fullname="JC. Zuniga" initials="JC." surname="Zuniga"/>
            <date month="April" year="2020"/>
            <abstract>
              <t indent="0">This document defines the Static Context Header Compression and fragmentation (SCHC) framework, which provides both a header compression mechanism and an optional fragmentation mechanism. SCHC has been designed with Low-Power Wide Area Networks (LPWANs) in mind.</t>
              <t indent="0">SCHC compression is based on a common static context stored both in the LPWAN device and in the network infrastructure side. This document defines a generic header compression mechanism and its application to compress IPv6/UDP headers.</t>
              <t indent="0">This document also specifies an optional fragmentation and reassembly mechanism. It can be used to support the IPv6 MTU requirement over the LPWAN technologies. Fragmentation is needed for IPv6 datagrams that, after SCHC compression or when such compression was not possible, still exceed the Layer 2 maximum payload size.</t>
              <t indent="0">The SCHC header compression and fragmentation mechanisms are independent of the specific LPWAN technology over which they are used. This document defines generic functionalities and offers flexibility with regard to parameter settings and mechanism choices. This document standardizes the exchange over the LPWAN between two SCHC entities. Settings and choices specific to a technology or a product are expected to be grouped into profiles, which are specified in other documents. Data models for the context and profiles are out of scope.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8724"/>
          <seriesInfo name="DOI" value="10.17487/RFC8724"/>
        </reference>
        <reference anchor="RFC8824" target="https://www.rfc-editor.org/info/rfc8824" quoteTitle="true" derivedAnchor="RFC8824">
          <front>
            <title>Static Context Header Compression (SCHC) for the Constrained Application Protocol (CoAP)</title>
            <author fullname="A. Minaburo" initials="A." surname="Minaburo"/>
            <author fullname="L. Toutain" initials="L." surname="Toutain"/>
            <author fullname="R. Andreasen" initials="R." surname="Andreasen"/>
            <date month="June" year="2021"/>
            <abstract>
              <t indent="0">This document defines how to compress Constrained Application Protocol (CoAP) headers using the Static Context Header Compression and fragmentation (SCHC) framework.  SCHC defines a header compression mechanism adapted for Constrained Devices.  SCHC uses a static description of the header to reduce the header's redundancy and size.  While RFC 8724 describes the SCHC compression and fragmentation framework, and its application for IPv6/UDP headers, this document applies SCHC to CoAP headers.  The CoAP header structure differs from IPv6 and UDP, since CoAP uses a flexible header with a variable number of options, themselves of variable length.  The CoAP message format is asymmetric: the request messages have a header format different from the format in the response messages.  This specification gives guidance on applying SCHC to flexible headers and how to leverage the asymmetry for more efficient compression Rules.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8824"/>
          <seriesInfo name="DOI" value="10.17487/RFC8824"/>
        </reference>
      </references>
      <references pn="section-9.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="OMA0116" target="https://www.openmobilealliance.org/release/REST_NetAPI_Common/V1_0-20180116-A/OMA-TS-REST_NetAPI_Common-V1_0-20180116-A.pdf" quoteTitle="true" derivedAnchor="OMA0116">
          <front>
            <title>Common definitions for RESTful Network APIs</title>
            <author>
              <organization showOnFrontPage="true">Open Mobile Alliance</organization>
            </author>
            <date month="January" year="2018"/>
          </front>
          <refcontent>Version 1.0</refcontent>
        </reference>
        <reference anchor="R15-3GPP" target="https://www.3gpp.org/specifications-technologies/releases/release-15" quoteTitle="true" derivedAnchor="R15-3GPP">
          <front>
            <title>Release 15</title>
            <author>
              <organization showOnFrontPage="true">3GPP</organization>
            </author>
            <date month="April" year="2019"/>
          </front>
        </reference>
        <reference anchor="RFC5795" target="https://www.rfc-editor.org/info/rfc5795" quoteTitle="true" derivedAnchor="RFC5795">
          <front>
            <title>The RObust Header Compression (ROHC) Framework</title>
            <author fullname="K. Sandlund" initials="K." surname="Sandlund"/>
            <author fullname="G. Pelletier" initials="G." surname="Pelletier"/>
            <author fullname="L-E. Jonsson" initials="L-E." surname="Jonsson"/>
            <date month="March" year="2010"/>
          </front>
          <seriesInfo name="RFC" value="5795"/>
          <seriesInfo name="DOI" value="10.17487/RFC5795"/>
        </reference>
        <reference anchor="RFC8376" target="https://www.rfc-editor.org/info/rfc8376" quoteTitle="true" derivedAnchor="RFC8376">
          <front>
            <title>Low-Power Wide Area Network (LPWAN) Overview</title>
            <author fullname="S. Farrell" initials="S." role="editor" surname="Farrell"/>
            <date month="May" year="2018"/>
            <abstract>
              <t indent="0">Low-Power Wide Area Networks (LPWANs) are wireless technologies with characteristics such as large coverage areas, low bandwidth, possibly very small packet and application-layer data sizes, and long battery life operation.  This memo is an informational overview of the set of LPWAN technologies being considered in the IETF and of the gaps that exist between the needs of those technologies and the goal of running IP in LPWANs.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8376"/>
          <seriesInfo name="DOI" value="10.17487/RFC8376"/>
        </reference>
        <reference anchor="TR-0024" target="https://ftp.onem2m.org/work%20programme/WI-0037/TR-0024-3GPP_Interworking-V4_3_0.DOCX" quoteTitle="true" derivedAnchor="TR-0024">
          <front>
            <title>3GPP_Interworking</title>
            <author>
              <organization showOnFrontPage="true">OneM2M</organization>
            </author>
            <date month="March" year="2020"/>
          </front>
          <refcontent>TR-0024-V4.3.0</refcontent>
        </reference>
        <reference anchor="TR23720" target="https://www.3gpp.org/ftp/Specs/archive/23_series/23.720/23720-d00.zip" quoteTitle="true" derivedAnchor="TR23720">
          <front>
            <title>Study on architecture enhancements for Cellular Internet of Things</title>
            <author>
              <organization showOnFrontPage="true">3GPP</organization>
            </author>
            <date month="March" year="2016"/>
          </front>
          <refcontent>3GPP TR 23.720 V13.0.0</refcontent>
        </reference>
        <reference anchor="TR24301" target="https://www.3gpp.org/ftp//Specs/archive/24_series/24.301/24301-f80.zip" quoteTitle="true" derivedAnchor="TR24301">
          <front>
            <title>Non-Access-Stratum (NAS) protocol for Evolved Packet System (EPS); Stage 3</title>
            <author>
              <organization showOnFrontPage="true">3GPP</organization>
            </author>
            <date month="December" year="2019"/>
          </front>
          <refcontent>3GPP TS 24.301 V15.8.0</refcontent>
        </reference>
        <reference anchor="TR36321" target="https://www.3gpp.org/ftp/Specs/archive/36_series/36.321/36321-d20.zip" quoteTitle="true" derivedAnchor="TR36321">
          <front>
            <title>Evolved Universal Terrestrial Radio Access (E-UTRA); Medium Access Control (MAC) protocol specification</title>
            <author>
              <organization showOnFrontPage="true">3GPP</organization>
            </author>
            <date month="June" year="2016"/>
          </front>
          <refcontent>3GPP TS 36.321 V13.2.0</refcontent>
        </reference>
        <reference anchor="TS23222" target="https://www.3gpp.org/ftp/Specs/archive/23_series/23.222/23222-f60.zip" quoteTitle="true" derivedAnchor="TS23222">
          <front>
            <title>Functional architecture and information flows to support Common API Framework for 3GPP Northbound APIs; Stage 2</title>
            <author>
              <organization showOnFrontPage="true">3GPP</organization>
            </author>
            <date month="September" year="2022"/>
          </front>
          <refcontent>3GPP TS 23.222 V15.6.0</refcontent>
        </reference>
        <reference anchor="TS24008" target="https://www.3gpp.org/ftp//Specs/archive/24_series/24.008/24008-f50.zip" quoteTitle="true" derivedAnchor="TS24008">
          <front>
            <title>Mobile radio interface Layer 3 specification; Core network protocols; Stage 3</title>
            <author>
              <organization showOnFrontPage="true">3GPP</organization>
            </author>
            <date month="December" year="2018"/>
          </front>
          <refcontent>3GPP TS 24.008 V15.5.0</refcontent>
        </reference>
        <reference anchor="TS33122" target="https://www.3gpp.org/ftp//Specs/archive/33_series/33.122/33122-f30.zip" quoteTitle="true" derivedAnchor="TS33122">
          <front>
            <title>Security aspects of Common API Framework (CAPIF) for 3GPP northbound APIs</title>
            <author>
              <organization showOnFrontPage="true">3GPP</organization>
            </author>
            <date month="March" year="2019"/>
          </front>
          <refcontent>3GPP TS 33.122 V15.3.0</refcontent>
        </reference>
        <reference anchor="TS36201" target="https://www.3gpp.org/ftp/Specs/archive/36_series/36.201/36201-f10.zip" quoteTitle="true" derivedAnchor="TS36201">
          <front>
            <title>Evolved Universal Terrestrial Radio Access (E-UTRA); LTE physical layer; General description</title>
            <author>
              <organization showOnFrontPage="true">3GPP</organization>
            </author>
            <date month="June" year="2018"/>
          </front>
          <refcontent>3GPP TS 36.201 V15.1.0</refcontent>
        </reference>
        <reference anchor="TS36322" target="https://www.3gpp.org/ftp/Specs/archive/36_series/36.322/36322-f01.zip" quoteTitle="true" derivedAnchor="TS36322">
          <front>
            <title>Evolved Universal Terrestrial Radio Access (E-UTRA); Radio Link Control (RLC) protocol specification</title>
            <author>
              <organization showOnFrontPage="true">3GPP</organization>
            </author>
            <date month="April" year="2018"/>
          </front>
          <refcontent>3GPP TS 36.322 V15.0.1</refcontent>
        </reference>
        <reference anchor="TS36323" target="https://www.3gpp.org/ftp/Specs/archive/36_series/36.323/36323-d20.zip" quoteTitle="true" derivedAnchor="TS36323">
          <front>
            <title>Evolved Universal Terrestrial Radio Access (E-UTRA); Packet Data Convergence Protocol (PDCP) specification</title>
            <author>
              <organization showOnFrontPage="true">3GPP</organization>
            </author>
            <date month="June" year="2016"/>
          </front>
          <refcontent>3GPP TS 36.323 V13.2.0</refcontent>
        </reference>
        <reference anchor="TS36331" target="https://www.3gpp.org/ftp//Specs/archive/36_series/36.331/36331-f51.zip" quoteTitle="true" derivedAnchor="TS36331">
          <front>
            <title>Evolved Universal Terrestrial Radio Access (E-UTRA); Radio Resource Control (RRC); Protocol specification</title>
            <author>
              <organization showOnFrontPage="true">3GPP</organization>
            </author>
            <date month="April" year="2019"/>
          </front>
          <refcontent>3GPP TS 36.331 V15.5.1</refcontent>
        </reference>
      </references>
    </references>
    <section anchor="AppendixA" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a">
      <name slugifiedName="name-nb-iot-user-plane-protocol-">NB-IoT User Plane Protocol Architecture</name>
      <section anchor="packet-data-convergence-protocol-pdcp-ts36323" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.1">
        <name slugifiedName="name-packet-data-convergence-pro">Packet Data Convergence Protocol (PDCP)</name>
        <t indent="0" pn="section-appendix.a.1-1">Each of the Radio Bearers (RBs) is associated with one PDCP entity <xref target="TS36323" format="default" sectionFormat="of" derivedContent="TS36323"/>. Moreover, a PDCP entity is associated with one or two RLC entities, depending on the unidirectional or bidirectional characteristics of the RB and RLC mode used. A PDCP entity is associated with either a control plane or a user plane with independent configuration and functions. The maximum supported size for NB-IoT of a PDCP SDU is 1600 octets. The primary services and functions of the PDCP sublayer for NB-IoT for the user plane include:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-appendix.a.1-2">
          <li pn="section-appendix.a.1-2.1">Header compression and decompression using ROHC <xref target="RFC5795" format="default" sectionFormat="of" derivedContent="RFC5795"/></li>
          <li pn="section-appendix.a.1-2.2">Transfer of user and control data to higher and lower layers</li>
          <li pn="section-appendix.a.1-2.3">Duplicate detection of lower-layer SDUs when re-establishing
          connection (when RLC with Acknowledge Mode is in use for User Plane
          only)</li>
          <li pn="section-appendix.a.1-2.4">Ciphering and deciphering</li>
          <li pn="section-appendix.a.1-2.5">Timer-based SDU discard in uplink</li>
        </ul>
      </section>
      <section anchor="radio-link-protocol-rlc-ts36322" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.2">
        <name slugifiedName="name-radio-link-protocol-rlc">Radio Link Protocol (RLC)</name>
        <t indent="0" pn="section-appendix.a.2-1">RLC <xref target="TS36322" format="default" sectionFormat="of" derivedContent="TS36322"/> is an L2 protocol that operates between the User Equipment (UE) and the base station (eNB). It supports the packet delivery from higher layers to MAC, creating packets transmitted over the air, optimizing the TB utilization. RLC flow of data packets is unidirectional, and it is composed of a transmitter located in the transmission device and a receiver located in the destination device. Therefore, to configure bidirectional flows, two sets of entities, one in each direction (downlink and uplink), must be configured and effectively peered to each other. The peering allows the transmission of control packets (e.g., status reports) between entities. RLC can be configured for a data transfer in one of the following modes:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-appendix.a.2-2">
          <li pn="section-appendix.a.2-2.1">
            <t indent="0" pn="section-appendix.a.2-2.1.1">Transparent Mode (TM)</t>
            <t indent="0" pn="section-appendix.a.2-2.1.2">RLC does not segment or concatenate SDUs from higher layers in
	  this mode and does not include any header with the payload. RLC
	  receives SDUs from upper layers when acting as a transmitter and
	  transmits directly to its flow RLC receiver via lower
	  layers. Similarly, upon reception, a TM RLC receiver would not
	  process the packets and only deliver them to higher layers.</t>
          </li>
          <li pn="section-appendix.a.2-2.2">
            <t indent="0" pn="section-appendix.a.2-2.2.1">Unacknowledged Mode (UM)</t>
            <t indent="0" pn="section-appendix.a.2-2.2.2">This mode provides support for segmentation and concatenation of
	  payload. The RLC packet's size depends on the indication given at a
	  particular transmission opportunity by the lower layer (MAC) and is
	  octet-aligned. The packet delivery to the receiver does not include
	  reliability support, and the loss of a segment from a packet means a
	  complete packet loss. Also, in lower-layer retransmissions, there is
	  no support for re-segmentation in case the radio
	  conditions change and trigger the selection of a smaller TB.
	  Additionally, it provides PDU duplication detection and
	  discards, out-of-sequence reordering, and loss
	  detection.</t>
          </li>
          <li pn="section-appendix.a.2-2.3">
            <t indent="0" pn="section-appendix.a.2-2.3.1">Acknowledged Mode (AM)</t>
            <t indent="0" pn="section-appendix.a.2-2.3.2">In addition to the same functions supported by UM, this mode also
	  adds a moving windows-based reliability service on top of the lower-layer 
	  services. 
          It also supports re-segmentation, and it requires
	  bidirectional communication to exchange acknowledgment reports,
	  called RLC Status Reports, and to trigger retransmissions. This model
	  also supports protocol-error detection. The mode used depends on the
	  operator configuration for the type of data to be transmitted. For
	  example, data transmissions supporting mobility or requiring high
	  reliability would be most likely configured using AM. Meanwhile,
	  streaming and real-time data would be mapped to a UM
	  configuration.</t>
          </li>
        </ul>
      </section>
      <section anchor="medium-access-control-mac-tr36321" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.3">
        <name slugifiedName="name-medium-access-control-mac">Medium Access Control (MAC)</name>
        <t indent="0" pn="section-appendix.a.3-1">MAC <xref target="TR36321" format="default" sectionFormat="of" derivedContent="TR36321"/> provides a mapping between the higher layers abstraction called Logical Channels (which are comprised by the previously described protocols) and the Physical Layer channels (transport channels).

Additionally, MAC may multiplex packets from different Logical Channels and prioritize which ones to fit into one TB if there is data and space available to maximize data transmission efficiency. MAC also provides error correction and reliability support through Hybrid Automatic Repeat reQuest (HARQ), transport format selection, and scheduling information reported from the terminal to the network. MAC also adds the necessary padding and piggyback control elements, when possible, as well as the higher layers data.</t>
        <figure anchor="Fig--MAC" align="left" suppress-title="false" pn="figure-5">
          <name slugifiedName="name-example-of-user-plane-packe">Example of User Plane Packet Encapsulation for Two Transport Blocks</name>
          <artwork align="left" pn="section-appendix.a.3-2.1">
                                            &lt;Max. 1600 bytes&gt;
                    +---+         +---+          +------+
Application         |AP1|         |AP1|          |  AP2 |
(IP/Non-IP)         |PDU|         |PDU|          |  PDU |
                    +---+         +---+          +------+
                    |   |         |  |           |      |
PDCP           +--------+    +--------      +-----------+
               |PDCP|AP1|    |PDCP|AP1|     |PDCP|  AP2 |
               |Head|PDU|    |Head|PDU|     |Head|  PDU |
               +--------+    +--------+     +--------+--\
               |    |   |    |     |  |     |    |   |\  `--------\
         +---------------------------+      |    |(1)| `-------\(2)\
RLC      |RLC |PDCP|AP1|RLC |PDCP|AP1| +-------------+    +----|---+
         |Head|Head|PDU|Head|Head|PDU| |RLC |PDCP|AP2|    |RLC |AP2|
         +-------------|-------------+ |Head|Head|PDU|    |Head|PDU|
         |         |   |         |   | +---------|---+    +--------+
         |         |   | LCID1   |   | /         /   /   /         /
        /         /   /        _/  _//        _/  _/    / LCID2   /
        |        |   |        |   | /       _/  _/     /      ___/
        |        |   |        |   ||       |   |      /      /   
    +------------------------------------------+ +-----------+---+
MAC |MAC|RLC|PDCP|AP1|RLC|PDCP|AP1|RLC|PDCP|AP2| |MAC|RLC|AP2|Pad|
    |Hea|Hea|Hea |PDU|Hea|Hea |PDU|Hea|Hea |PDU| |Hea|Hea|PDU|din|
    |der|der|der |   |der|der |   |der|der |   | |der|der|   |g  |
    +------------------------------------------+ +-----------+---+
                      TB1                               TB2

(1) Segment One
(2) Segment Two
</artwork>
        </figure>
      </section>
    </section>
    <section anchor="AppendixB" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.b">
      <name slugifiedName="name-nb-iot-data-over-nas-donas">NB-IoT Data over NAS (DoNAS)</name>
      <t indent="0" pn="section-appendix.b-1">The Access Stratum (AS) protocol stack used by DoNAS is specific because the radio network still needs to establish the security associations and reduce the protocol overhead so that the PDCP is bypassed until the AS security is activated. By default, RLC uses the AM. However, depending on the network's features and the terminal, RLC may change to other modes by the network operator. For example, the TM does not add any header nor process the payload to reduce the overhead, but the MTU would be limited by the TB used to transmit the data, which is a couple of thousand bits maximum. If UM (only terminals compatible with 3GPP Release 15 <xref target="R15-3GPP" format="default" sectionFormat="of" derivedContent="R15-3GPP"/>) is used, the RLC mechanisms of reliability are disabled, and only the reliability provided by the MAC layer by HARQ is available. In this case, the protocol overhead might be smaller than the AM case because of the lack of status reporting, but the overhead would have the same support for segmentation up to 1600 bytes. NAS packets are encapsulated within an RRC <xref target="TS36331" format="default" sectionFormat="of" derivedContent="TS36331"/> message.</t>
      <t indent="0" pn="section-appendix.b-2">Depending on the data type indication signaled (IP or Non-IP data), the network allocates an IP address or establishes a direct forwarding path. DoNAS is regulated under rate control upon previous agreement, meaning that a maximum number of bits per unit of time is agreed upon per device subscription beforehand and configured in the device. The use of DoNAS is typically expected when a terminal in a power-saving state requires a short transmission and is receiving an acknowledgment or short feedback from the network.
Depending on the size of buffered data to be transmitted, the UE might be instructed to deploy the connected mode transmissions instead, limiting and controlling the DoNAS transmissions to predefined thresholds and a good resource optimization balance for the terminal and the network. The support for mobility of DoNAS is present but produces additional overhead.</t>
      <figure anchor="Fig--DONAS" align="left" suppress-title="false" pn="figure-6">
        <name slugifiedName="name-donas-transmission-sequence">DoNAS Transmission Sequence from an Uplink Initiated Access</name>
        <artwork align="left" pn="section-appendix.b-3.1">
   +--------+   +--------+   +--------+
   |        |   |        |   |        |       +-----------------+
   |   UE   |   |  C-BS  |   |  C-SGN |       |Roaming Scenarios|
   +----|---+   +--------+   +--------+       |  +--------+     |
        |            |            |           |  |        |     |
    +----------------|------------|+          |  |  P-GW  |     |
    |        Attach                |          |  +--------+     |
    +------------------------------+          |       |         |
        |            |            |           |       |         |
 +------|------------|--------+   |           |       |         |  
 |RRC connection establishment|   |           |       |         |
 |with NAS PDU transmission   |   |           |       |         |
 |&amp; Ack Rsp                   |   |           |       |         |
 +----------------------------+   |           |       |         |
        |            |            |           |       |         |
        |            |Initial UE  |           |       |         |
        |            |message     |           |       |         |
        |            |-----------&gt;|           |       |         |
        |            |            |           |       |         |
        |            | +---------------------+|       |         |
        |            | |Checks Integrity     ||       |         |
        |            | |protection, decrypts ||       |         |
        |            | |data                 ||       |         |
        |            | +---------------------+|       |         |
        |            |            |       Small data packet     |
        |            |            |-------------------------------&gt;
        |            |            |       Small data packet     |
        |            |            |&lt;-------------------------------
        |            | +----------|---------+ |       |         |
        |            | Integrity protection,| |       |         |
        |            | encrypts data        | |       |         |
        |            | +--------------------+ |       |         |
        |            |            |           |       |         |
        |            |Downlink NAS|           |       |         |
        |            |message     |           |       |         |
        |            |&lt;-----------|           |       |         |
+-----------------------+         |           |       |         |
|Small data delivery,   |         |           |       |         |
|RRC connection release |         |           |       |         |
+-----------------------+         |           |       |         |
                                              |                 |
                                              |                 |
                                              +-----------------+  
</artwork>
      </figure>
      <figure anchor="Fig--ProtocolArchi5" align="left" suppress-title="false" pn="figure-7">
        <name slugifiedName="name-example-of-user-plane-packet">Example of User Plane Packet Encapsulation for Data over NAS</name>
        <artwork align="left" pn="section-appendix.b-4.1">
                   +---+ +---+ +---+                  +----+
 Application       |AP1| |AP1| |AP2|                  |AP2 |
(IP/Non-IP)        |PDU| |PDU| |PDU|  ............... |PDU |
                   +---+ +---+ +---+                  +----+
                   |   | |   | |   |                  |    |
                   |   | |   | |   |                  |    |
                   |   | |   | |   |                  |    |
                   |   | |   | |   |                  |    |
                   |   |/   /  |    \                 |    |                   
NAS /RRC      +--------+---|---+----+            +---------+
              |NAS/|AP1|AP1|AP2|NAS/|            |NAS/|AP2 |
              |RRC |PDU|PDU|PDU|RRC |            |RRC |PDU |
              +--------+-|-+---+----+            +---------|
              |          |         |            |         |
              |          |\         |            |         |  
              |&lt;--Max. 1600 bytes--&gt;|__          |_        |
              |          |  \__        \___        \_       \            
              |          |     \           \         \__     \
              |          |      \          |           |      \_              
         +---------------|+-----|----------+            \       \
RLC      |RLC | NAS/RRC  ||RLC  | NAS/RRC  |       +----|-------+
         |Head|  PDU(1/2)||Head | PDU (2/2)|       |RLC |NAS/RRC|
         +---------------++----------------+       |Head|PDU    |
         |    |          | \               |       +------------+  
         |    |    LCID1 |  \              |       |           /
         |    |          |   \              \      |           |
         |    |          |    \              \     |           |
         |    |          |     \              \     \          |
    +----+----+----------++-----|----+---------++----+---------|---+
MAC |MAC |RLC |    RLC   ||MAC  |RLC |  RLC    ||MAC |  RLC    |Pad|
    |Head|Head|  PAYLOAD ||Head |Head| PAYLOAD ||Head|  PDU    |   |
    +----+----+----------++-----+----+---------++----+---------+---+
             TB1                   TB2                     TB3           
</artwork>
      </figure>
    </section>
    <section anchor="acknowledgements" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.c">
      <name slugifiedName="name-acknowledgements">Acknowledgements</name>
      <t indent="0" pn="section-appendix.c-1">The authors would like to thank (in alphabetic order): <contact fullname="Carles Gomez"/>, <contact fullname="Antti Ratilainen"/>,
      <contact fullname="Pascal Thubert"/>, <contact fullname="Tuomas       Tirronen"/>, and <contact fullname="Éric Vyncke"/>.</t>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.d">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author initials="E." surname="Ramos" fullname="Edgar Ramos">
        <organization showOnFrontPage="true">Ericsson</organization>
        <address>
          <postal>
            <street>Hirsalantie 11</street>
            <city>Jorvas, Kirkkonummi</city>
            <code>02420</code>
            <country>Finland</country>
          </postal>
          <email>edgar.ramos@ericsson.com</email>
        </address>
      </author>
      <author initials="A." surname="Minaburo" fullname="Ana Minaburo">
        <organization showOnFrontPage="true">Acklio</organization>
        <address>
          <postal>
            <street>1137A Avenue des Champs Blancs</street>
            <city>Cesson-Sevigne Cedex</city>
            <code>35510</code>
            <country>France</country>
          </postal>
          <email>ana@ackl.io</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
