<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
<!-- Some of the more generally applicable PIs that most I-Ds might want to use -->
<!-- Try to enforce the ID-nits conventions and DTD validity -->
<?rfc strict="yes" ?>
<!-- Items used when reviewing the document -->
<?rfc comments="no" ?>
<!-- Controls display of <cref> elements -->
<?rfc inline="no" ?>
<!-- When no, put comments at end in comments section,
                                 otherwise, put inline -->
<?rfc editing="no" ?>
<!-- When yes, insert editing marks: editing marks consist of a
                                 string such as <29> printed in the blank line at the
                                 beginning of each paragraph of text. -->
<!-- Create Table of Contents (ToC) and set some options for it.
         Note the ToC may be omitted for very short documents,but idnits insists on a ToC
         if the document has more than 15 pages. -->
<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<!-- If "yes" eliminates blank lines before main section entries. -->
<?rfc tocdepth="3"?>
<!-- Sets the number of levels of sections/subsections... in ToC -->
<!-- Choose the options for the references.
         Some like symbolic tags in the references (and citations) and others prefer
         numbers. The RFC Editor always uses symbolic tags.
         The tags used are the anchor attributes of the references. -->
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes" ?>
<!-- If "yes", causes the references to be sorted in order of tags.
                                 This doesn't have any effect unless symrefs is "yes" also. -->
<!-- These two save paper: Just setting compact to "yes" makes savings by not starting each
         main section on a new page but does not omit the blank lines between list items.
         If subcompact is also "yes" the blank lines between list items are also omitted. -->
<?rfc compact="yes" ?>
<?rfc subcompact="no" ?>
<!-- end of list of popular I-D processing instructions -->
<!-- end of list of processing instructions -->
<rfc category="info" docName="draft-szigeti-tsvwg-ieee-802-11-02"
     ipr="trust200902">
  <front>
    <title abbrev="DSCP mapping for IEEE 802.11">Guidelines for DiffServ to
    IEEE 802.11 Mapping</title>

    <author fullname="Tim Szigeti" initials="T." surname="Szigeti">
      <organization>Cisco Systems</organization>

      <address>
        <postal>
          <street/>

          <city>Vancouver</city>

          <code>V7X 1J1</code>

          <region>British Columbia</region>

          <country>Canada</country>
        </postal>

        <email>szigeti@cisco.com</email>
      </address>
    </author>

    <author fullname="Fred Baker" initials="F.J." surname="Baker">
      <organization>Cisco Systems</organization>

      <address>
        <postal>
          <street/>

          <city>Santa Barbara</city>

          <code>93117</code>

          <region>California</region>

          <country>USA</country>
        </postal>

        <email>fred@cisco.com</email>
      </address>
    </author>

    <date/>

    <area>Transport Area</area>

    <workgroup>Transport Working Group</workgroup>

    <abstract>
      <t>As internet traffic is increasingly sourced-from and destined-to
      wireless endpoints, it is crucial that Quality of Service be aligned
      between wired and wireless networks; however, this is not always the
      case by default. This is due to the fact that two independent standards
      bodies provide QoS guidance on wired and wireless networks:
      specifically, the IETF specifies standards and design recommendations
      for wired IP networks, while a separate and autonomous standards-body,
      the IEEE, administers the standards for wireless 802.11 networks. The
      purpose of this document is to propose a set Differentiated Services
      Code Point (DSCP) to IEEE 802.11 User Priority (UP) mappings to
      reconcile the marking recommendations offered by these two standards
      bodies, and, as such, to optimize wired-and-wireless interconnect
      QoS.</t>
    </abstract>

    <!--
		<note title="Foreword">
		</note>
		-->

    <!--
      <texttable anchor="table_example" title="A Very Simple Table">
      <preamble>Tables use ttcol to define column headers and widths.
      Every cell then has a &quot;c&quot; element for its content.</preamble>
          <ttcol align="center">ttcol #1</ttcol>
                                    <ttcol align="center">ttcol #2</ttcol>
                      <c>c #1</c>		<c>c #2</c>
                      <c>c #3</c>		<c>c #4</c>
                      <c>c #5</c>		<c>c #6</c>
      <postamble>which is a very simple example.</postamble>
      </texttable>
    -->
  </front>

  <middle>
    <!--
      <t>There are multiple list styles: "symbols", "letters", "numbers",
"hanging", "format", etc.</t>
      <t>
	<list style="symbols">
	    <t>First bullet</t>
	    <t>Second bullet</t>
	</list>
     </t>
-->

    <!--
<figure anchor="reference" title="Figure">
<artwork align="center">
<![CDATA[
	ASCII artwork goes here...
]]>
</artwork>
</figure>
-->

    <section title="Introduction">
      <t>Wireless has become the medium of choice for endpoints connecting to
      business and private networks. However, the wireless medium defined by
      <xref target="IEEE.802-11.2012">IEEE 802.11</xref> presents several
      design challenges for ensuring end-to-end quality of service. Some of
      these challenges relate to the nature of 802.11 RF medium itself, being
      a half-duplex and shared media, while other challenges relate to the
      fact that the 802.11 standard is not administered by the standards body
      that administers the rest of the IP network. While the IEEE has
      developed tools to enable QoS over wireless networks, little guidance
      exists on how to optimally interconnect wired IP and wireless 802.11
      networks, which is the aim of this document.</t>

      <section anchor="related" title="Related work">
        <t>Several RFCs outline DiffServ QoS recommendations over IP networks,
        including: <list style="symbols">
            <t><xref target="RFC2474"/> specifies the DiffServ Codepoint
            Field. This RFC also details Class Selectors, as well as the
            Default Forwarding (DF) treatment.</t>

            <t><xref target="RFC2475"/> defines a DiffServ architecture</t>

            <t><xref target="RFC3246"/> specifies the Expedited Forwarding
            (EF) Per-Hop Behavior (PHB)</t>

            <t><xref target="RFC2597"/> details the Assured Forwarding (AF)
            PHB.</t>

            <t><xref target="RFC3662"/> outlines a Lower Effort Per-Domain
            Behavior (PDB)</t>

            <t><xref target="RFC4594"/> presents Configuration Guidelines for
            DiffServ Service Classes</t>

            <t><xref target="RFC5127"/> discusses the Aggregation of Diffserv
            Service Classes</t>

            <t><xref target="RFC5865"/> introduces a DSCP for Capacity
            Admitted Traffic</t>
          </list></t>

        <t>This draft draws heavily on <xref target="RFC4594"/>, <xref
        target="RFC5127"/>, and <xref
        target="I-D.ietf-tsvwg-diffserv-intercon"/>.</t>

        <t>In turn, the relevant standard for wireless QoS is IEEE 802.11,
        which is being progressively updated; the current version of which (at
        the time of writing) is IEEE 802.11-2012.</t>
      </section>

      <section title="Interaction with RFC 7561">
        <t>There is also a recommendation from GSMA, <xref
        target="RFC7561">Mapping Quality of Service (QoS) Procedures of Proxy
        Mobile IPv6 (PMIPv6) and WLAN</xref>. The GSMA specification was
        developed without reference to the service plan documented in <xref
        target="related"/>, and conflicts both in the services specified and
        the code points specified for them. As such, the two plans cannot be
        normalized. Rather, as discussed in <xref target="RFC2474"/> section
        2, the two domains (802.11 and GSMA) are different Differentiated
        Services Domains separated by a Differentiated Services Boundary. At
        that boundary, code points from one domain are translated to code
        points for the other, and maybe to Default (zero) if there is no
        corresponding service to translate to.</t>
      </section>

      <section anchor="applicability" title="Applicability Statement">
        <t>This document is applicable to the use of Differentiated Services
        that interconnect with IEEE 802.11 wireless LANs (referred to as
        Wi-Fi, throughout this document, for simplicity). These guidelines are
        applicable whether the wireless access points (APs) are deployed in an
        autonomous manner, managed by (centralized or distributed) WLAN
        controllers or some hybrid deployment option. This is because in all
        these cases, the wireless access point is the bridge between wired and
        wireless media.</t>

        <t>This document primarily applies to wired IP networks that have
        wireless access points at their edges, but can also be applied to
        Wi-Fi backhaul, wireless mesh solutions or any other type of AP-to-AP
        wireless network that serves to extend the IP network
        infrastructure.</t>
      </section>

      <section anchor="organization" title="Document Organization">
        <t>This document is organized as follows: <list style="symbols">
            <t>Section 1 outlines the abstract, related work, organization and
            the requirements language of this document.</t>

            <t><xref target="comparison"/> begins the discussion with a
            comparison of IETF DiffServ QoS and Wi-Fi QoS standards and
            highlights discrepancies between these that require
            reconciliation.</t>

            <t><xref target="device-capabilities"/> presents the marking and
            mapping capabilities that wireless access points and wireless
            endpoint devices are recommended to support.</t>

            <t><xref target="downstream-recommend"/> presents DSCP-to-UP
            mapping recommendations for each of the <xref target="RFC4594"/>
            traffic classes, which are primarily applicable in the downstream
            (wired-to-wireless) direction.</t>

            <t><xref target="upstream-recommend"/>, in turn, considers
            upstream (wireless-to-wired) QoS options, their respective merits
            and recommendations.</t>

            <t><xref target="ieee-80211-qos"/> (in the form of an Appendix)
            presents a brief overview of how QoS is achieved over IEEE 802.11
            wireless networks, given the shared, half-duplex nature of the
            wireless medium.</t>

            <t><xref target="IANA"/> on notes IANA considerations, security
            considerations, acknowledgements and references, respectively</t>
          </list></t>
      </section>

      <section title="Requirements Language">
        <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
        "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", "OPTIONAL", and "NOT
        RECOMMENDED" in this document are to be interpreted as described in
        <xref target="RFC2119"/>.</t>
      </section>
    </section>

    <section anchor="comparison"
             title="Comparison and Default Interoperation of DiffServ and IEEE 802.11">
      <t>(<xref target="ieee-80211-qos"/> provides a brief overview of IEEE
      802.11 QoS.)</t>

      <t>The following comparisons between IEEE 802.11 and DiffServ should be
      noted: <list style="symbols">
          <t>802.11 does not support a <xref target="RFC3246"/> EF PHB
          service, as it is not possible to guarantee that a given access
          category will be serviced with strict priority over another (due to
          the random element within the contention process)</t>

          <t>802.11 does not support a <xref target="RFC2597"/> AF PHB
          service, again because it is not possible to guarantee that a given
          access category will be serviced with a minimum amount of assured
          bandwidth (due to the non-deterministic nature of the contention
          process)</t>

          <t>802.11 loosely supports a <xref target="RFC2474"/> Default
          Forwarding service via the Best Effort Access Category (AC_BE)</t>

          <t>802.11 loosely supports a <xref target="RFC3662"/> Lower PDB
          service via the Background Access Category (AC_BK)</t>
        </list></t>

      <t>As such, these are high-level considerations that need to be kept in
      mind when mapping from DiffServ to 802.11 (and vice-versa); however,
      some additional marking-specific incompatibilities must also be
      reconciled, as will be discussed next.</t>

      <section anchor="dscp-to-up"
               title="Default DSCP-to-UP Mappings and Conflicts">
        <t>While no explicit guidance is offered in mapping (6-Bit) Layer 3
        DSCP values to (3-Bit) Layer 2 markings (such as IEEE 802.1D, 802.1p
        or 802.11e), a common practice in the networking industry is to map
        these by what we will refer to as 'Default DSCP-to-UP Mapping' (for
        lack of a better term), wherein the 3 Most Significant Bits (MSB) of
        the DSCP are transcribed to generate the corresponding L2
        markings.</t>

        <t>Note: There are example mappings in IEEE 802.11 (in the Annex V
        Tables V-1 and V2), but these mappings are provided as examples (vs.
        as recommendations). Furthermore, some of these mappings do not align
        with the intent and recommendations expressed in <xref
        target="RFC4594"/>, as will be discussed in the following section.</t>

        <t>However, when this default DSCP-to-UP mapping method is applied to
        packets marked per <xref target="RFC4594"/> recommendations and
        destined to 802.11 WLAN clients, it will yield a number of sub-optimal
        QoS mappings, specifically:</t>

        <t><list style="symbols">
            <t>Voice (EF-101110) will be mapped to UP 5 (101), and treated in
            the Video Access Category (AC_VI), rather than the Voice Access
            Category (AC_VO), for which it is intended</t>

            <t>Multimedia Streaming (AF3-011xx0) will be mapped to UP3 (011)
            and treated in the Best Effort Access Category (AC_BE), rather
            than the Video Access Category (AC_VI), for which it is
            intended</t>

            <t>OAM traffic (CS2-010000) will be mapped to UP 2 (010) and
            treated in the Background Access Category (AC_BK), which is not
            the intent expressed in <xref target="RFC4594"/> for this traffic
            class</t>
          </list></t>

        <t>It should also be noted that while IEEE 802.11 defines an intended
        use for each access category through the AC naming convention (for
        example, UP 6 and UP 7 belong to AC_VO, the Voice Access Category),
        802.11 does not:</t>

        <t><list style="symbols">
            <t>define how upper Layer markings (such as DSCP) should map to
            UPs (and hence to ACs)</t>

            <t>define how UPs should translate to other medium Layer 2 QoS
            markings</t>

            <t>strictly restrict each access category to applications
            reflected in the AC name</t>
          </list></t>
      </section>

      <section anchor="up-to-DSCP"
               title="Default UP-to-DSCP Mappings and Conflicts">
        <t>In the opposite direction of flow (the upstream direction, that is,
        from wireless-to-wired), many APs use what we will refer to as
        'Default UP-to-DSCP Mapping' (for lack of a better term), wherein DSCP
        values are derived from UP values by multiplying the UP values by 8
        (i.e. shifting the 3 UP bits to the left and adding three additional
        zeros to generate a DSCP value). This derived DSCP value is then used
        for QoS treatment between the wireless access point and the nearest
        classification and marking policy enforcement point (which may be the
        centralized wireless LAN controller, relatively deep within the
        network).</t>

        <t>It goes without saying that when 6 bits of marking granularity are
        derived from 3, then information is lost in translation. Servicing
        differentiation cannot be made for 12 classes of traffic (as
        recommended in <xref target="RFC4594"/>), but for only 8 (with one of
        these classes being reserved for future use (i.e. UP 7 which maps to
        DSCP CS7).</t>

        <t>Such default upstream mapping can also yield several
        inconsistencies with <xref target="RFC4594"/>, including: <list
            style="symbols">
            <t>Mapping UP 6 (Voice) to CS6, which <xref target="RFC4594"/>
            recommends for Network Control</t>

            <t>Mapping UP 4 (Multimedia Conferencing and/or Real-Time
            Interactive) to CS4, thus losing the ability to distinguish
            between these two distinct traffic classes</t>

            <t>Mapping UP 3 (Multimedia Streaming and/or Broadcast Video) to
            CS3, thus losing the ability to distinguish between these two
            distinct traffic classes</t>

            <t>Mapping UP 2 (Low-Latency Data and/or OAM) to CS2, thus losing
            the ability to distinguish between these two distinct traffic
            classes, and possibly overwhelming the queues provisioned for OAM
            (which is typically lower in capacity [being network control
            traffic], as compared to Low-Latency Data queues [being user
            traffic])</t>

            <t>Mapping UP 1 (High-Throughput Data and/or Low-Priority Data) to
            CS1, thus losing the ability to distinguish between these two
            distinct traffic classes and causing legitimate business-relevant
            High-Throughput Data to receive a <xref target="RFC3662"/> Lower
            PDB, for which it is not intended</t>
          </list></t>

        <t>Thus, the next sections of this draft seek to address these
        limitations and concerns and reconcile the intents of <xref
        target="RFC4594"/> and IEEE 802.11. First the downstream
        (wired-to-wireless) DSCP-to-UP mappings will be aligned and then
        upstream (wireless-to-wired) models will be addressed.</t>
      </section>
    </section>

    <section anchor="device-capabilities"
             title="Wireless Device Marking and Mapping Capability Recommendations">
      <t>This document assumes and RECOMMENDS that all wireless access points
      (as the bridges between wired-and-wireless networks) support the ability
      to: <list style="symbols">
          <t>mark DSCP, per DiffServ standards</t>

          <t>mark UP, per the 802.11 standard</t>

          <t>support fully-configurable mappings between DSCP and UP</t>

          <t>trust the DSCP markings set by wireless endpoint devices (as
          discussed in <xref target="trust"/>)</t>
        </list></t>

      <t>This document further assumes and RECOMMENDS that all wireless
      endpoint devices support the ability to: <list style="symbols">
          <t>mark DSCP, per DiffServ standards</t>

          <t>mark UP, per the 802.11 standard</t>

          <t>support fully-configurable mappings between DSCP (set by
          applications in software) and UP (set by the operating system and/or
          wireless network interface hardware drivers)</t>
        </list></t>

      <t>Having made the assumptions and recommendations above, it bears
      mentioning while the mappings presented in this document are RECOMMENDED
      to replace the current common default practices (as discussed in <xref
      target="dscp-to-up"/> and <xref target="up-to-DSCP"/>), these mapping
      recommendations are not expected to fit every last deployment model, and
      as such may be overridden by network administrators, as needed.</t>
    </section>

    <section anchor="downstream-recommend"
             title="DSCP-to-UP Mapping Recommendations">
      <t>The following section proposes downstream (wired-to-wireless)
      mappings between <xref target="RFC4594"/> Configuration Guidelines for
      DiffServ Service Classes and IEEE 802.11. As such, this section draws
      heavily from <xref target="RFC4594"/>, including traffic class
      definitions and recommendations.</t>

      <t>This section assumes wireless access points and/or WLAN controllers
      that support customizable, non-default DSCP-to-UP mapping schemes.</t>

      <section anchor="control" title="Network Control Traffic">
        <t>Network control traffic is defined as packet flows that are
        essential for stable operation of the administered network. Network
        control traffic is different from user application control (signaling)
        that may be generated by some applications or services. Network
        Control Traffic may be split into two service classes: <list
            style="symbols">
            <t>Network Control, and</t>

            <t>Operations Administration and Management (OAM)</t>
          </list></t>

        <section anchor="control-protocols" title="Network Control Protocols">
          <t>The Network Control service class is used for transmitting
          packets between network devices (routers) that require control
          (routing) information to be exchanged between nodes within the
          administrative domain as well as across a peering point between
          different administrative domains. The RECOMMENDED DSCP marking for
          Network Control is CS6.</t>

          <t>Before discussing a mapping recommendation for Network Control
          traffic marked CS6 DSCP, it is interesting to note a relevant
          recommendation from <xref target="RFC4594"/> pertaining to traffic
          marked CS7 DSCP: in <xref target="RFC4594"/> Section 3.1 it is
          RECOMMENDED that packets marked CS7 DSCP (a codepoint that SHOULD be
          reserved for future use) be dropped or remarked at the edge of the
          DiffServ domain.</t>

          <t>Following this recommendation, it is RECOMMENDED that all packets
          marked to DiffServ Codepoints not in use over the wireless network
          be dropped or remarked at the edge of the DiffServ domain.</t>

          <t>It is important to note that the wired-to-wireless edge may or
          may not equate to the edge of the DiffServ domain; as such, this
          recommendation may or may not apply at the wired-to-wireless
          edge.</t>

          <t>For example, in most commonly deployed models, the wireless
          access point represents not only the edge of the DiffServ domain,
          but also the edge of the network infrastructure itself. As such, and
          in line with the above recommendation, traffic marked CS7 DSCP
          SHOULD be dropped or remarked at this edge (as it is typically
          unused, as CS7 SHOULD be reserved for future use). So too SHOULD
          Network Control traffic marked CS6 DSCP, considering that only
          client devices (and no network infrastructure devices) are
          downstream from the wireless access points in these deployment
          models. In such cases, no Network Control traffic would be
          (legitimately) expected to be sent or received from wireless client
          endpoint devices, and thus this recommendation would apply.</t>

          <t>Alternatively, in other deployment models, such as Wi-Fi
          backhaul, wireless mesh infrastructures, or any other type of
          wireless AP-to-AP deployments, the wireless access point extends the
          network infrastructure and thus, typically, the DiffServ domain. In
          such cases, the above recommendation would not apply, as the
          wired-to-wireless edge does not represent the edge of the DiffServ
          domain. Furthermore, as these deployment models require Network
          Control traffic to be propagated across the wireless network, it is
          RECOMMENDED to map Network Control traffic marked CS6 to UP 7 (per
          IEEE 802.11-2012, Section 9.2.4.2, Table 9-1), thereby admitting it
          to the Voice Access Category (AC_VO).</t>
        </section>

        <section anchor="oam"
                 title="Operations Administration Management (OAM)">
          <t>The OAM (Operations, Administration, and Management) service
          class is RECOMMENDED for OAM&amp;P (Operations, Administration, and
          Management and Provisioning). The RECOMMENDED DSCP marking for OAM
          is CS2.</t>

          <t>By default, packets marked DSCP CS2 will be mapped to UP 2 and
          serviced with the Background Access Category (AC_BK). Such servicing
          is a contradiction to the intent expressed in <xref
          target="RFC4594"/> Section 3.3. As such, it is RECOMMENDED that a
          non-default mapping be applied to OAM traffic, such that CS2 DSCP is
          mapped to UP 0, thereby admitting it to the Best Effort Access
          Category (AC_BE).</t>
        </section>
      </section>

      <section anchor="user-traffic" title="User Traffic">
        <t>User traffic is defined as packet flows between different users or
        subscribers. It is the traffic that is sent to or from end-terminals
        and that supports a very wide variety of applications and services.
        Network administrators can categorize their applications according to
        the type of behavior that they require and MAY choose to support all
        or a subset of the defined service classes.</t>

        <section anchor="telephony" title="Telephony">
          <t>The Telephony service class is RECOMMENDED for applications that
          require real-time, very low delay, very low jitter, and very low
          packet loss for relatively constant-rate traffic sources (inelastic
          traffic sources). This service class SHOULD be used for IP telephony
          service. The fundamental service offered to traffic in the Telephony
          service class is minimum jitter, delay, and packet loss service up
          to a specified upper bound. The RECOMMENDED DSCP marking for
          Telephony is EF.</t>

          <t>Traffic marked to DSCP EF will map by default to UP 5, and thus
          to the Video Access Category (AC_VI), rather than to the Voice
          Access Category (AC_VO), for which it is intended. Therefore, a
          non-default DSCP-to-UP mapping is RECOMMENDED, such that EF DSCP is
          mapped to UP 6, thereby admitting it into the Voice Access Category
          (AC_VO).</t>

          <t>Similarly, the <xref target="RFC5865"/> VOICE-ADMIT DSCP
          (44/101100) is RECOMMENDED to be mapped to UP 6, thereby admitting
          it also into the Voice Access Category (AC_VO).</t>
        </section>

        <section anchor="signaling" title="Signaling">
          <t>The Signaling service class is RECOMMENDED for delay-sensitive
          client-server (traditional telephony) and peer-to-peer application
          signaling. Telephony signaling includes signaling between IP phone
          and soft-switch, soft-client and soft-switch, and media gateway and
          soft-switch as well as peer-to-peer using various protocols. This
          service class is intended to be used for control of sessions and
          applications. The RECOMMENDED DSCP marking for Signaling is CS5.</t>

          <t>While Signaling is RECOMMENDED to receive a superior level of
          service relative to the default class (i.e. AC_BE), it does not
          require the highest level of service (i.e. AC_VO). This leaves only
          the Video Access Category (AC_VI), which it will map to by default.
          Therefore it is RECOMMENDED to map Signaling traffic marked CS5 DSCP
          to UP 5, thereby admitting it to the Video Access Category (AC_VI).</t>

         <t>Note: Signaling traffic is not control plane traffic from the perspective 
          of the network (but rather is data plane traffic); as such, it does not 
          merit provisioning in the Network Control service class (marked CS6 and
          mapped to UP 6). However, Signaling traffic is control-plane traffic from
          the perspective of the voice/video telephony overlay-infrastructure. As 
          such, Signaling should be treated with preferential servicing vs. other 
          data plane flows. One way this may be achieved in certain WLAN deployments
          is by mapping Signaling traffic marked CS5 to UP 5 (as recommended above).
          To illustrate: IEEE 802.11-2012 displays a reference implementation model
          in Figure 9-19 which depicts four transmit queues, one per access category.
          In practical implementation, however, it is common for WLAN network equipment
          vendors to actually implement dedicated transmit queues on a per-UP basis,
          which are then dequeued into their associated access category in a preferred
          (or even strict priority manner). For example, (and specific to this point):
          it is common for vendors to dequeue UP 5 ahead of UP 4 to the hardware
          performing the EDCA function (EDCAF) for the Video Access Category (AC_VI).
          As such, Signaling traffic may benefit from such treatment vs. other video
          flows in the same access category (as well as vs. data flows in the Best
          Effort and Background Access Categories) due to this differentiation in
          servicing under such implementations.</t>

        </section>

        <section anchor="multimedia-conferencing" title="Multimedia Conferencing">

         <t>The Multimedia Conferencing service class is RECOMMENDED for 
          applications that require real-time service for rate-adaptive traffic.
          The RECOMMENDED DSCP markings for Multimedia Conferencing are AF41, 
          AF42 and AF43.</t>
	 
         <t>The primary media type typically carried within the  Multimedia Conferencing
          service class is video; as such, it is RECOMMENDED to map this class into the Video
          Access Category (which it does by default). Specifically, it is RECOMMENDED
          to map AF41, AF42 and AF43 to UP 4, thereby admitting Multimedia Conferencing
          into the Video Access Category (AC_VI).</t>
        
	</section>


        <section anchor="real-time" title="Real-Time Interactive">

         <t>The Real-Time Interactive traffic class is RECOMMENDED for applications that
          require low loss and jitter and very low delay for variable rate inelastic
          traffic sources. Such applications may include inelastic video-conferencing applications,
          but may also include gaming applications (as pointed out in <xref target="RFC4594"/> 
          Sections 2.1 through 2.3, and Section 4.4). The RECOMMENDED DSCP marking for Real-Time
          Interactive traffic is CS4.</t>
	 
         <t>The primary media type typically carried within the Real-Time Interactive service class
          is video; as such, it is RECOMMENDED to map this class into the Video Access Category 
          (which it does by default). Specifically, it is RECOMMENDED to map CS4 to UP 4, thereby
          admitting Real-Time Interactive traffic into the Video Access Category (AC_VI).</t>
        
	</section>


        <section anchor="multimedia-streaming" title="Multimedia-Streaming">

         <t>The Multimedia Streaming service class is RECOMMENDED for applications that require
          near-real-time packet forwarding of variable rate elastic traffic sources. Typically 
          these flows are unidirectional. The RECOMMENDED DSCP markings for Multimedia Streaming
          are AF31, AF32 and AF33.</t>
	 
         <t>The primary media type typically carried within the Multimedia Streaming
          service class is video; as such, it is RECOMMENDED to map this class into the Video
          Access Category. Specifically, it is RECOMMENDED to map AF31, AF32 and AF33 to
          UP 4, thereby admitting Multimedia Streaming into the Video Access Category (AC_VI).</t>
        
	</section>


        <section anchor="broadcast-video" title="Broadcast Video">

          <t>The Broadcast Video service class is RECOMMENDED for applications that require 
          near-real-time packet forwarding with very low packet loss of constant rate and variable rate
          inelastic traffic sources. Typically these flows are unidirectional. The RECOMMENDED DSCP
          marking for Broadcast Video is CS3.</t>
	 
         <t>As directly implied by the name, the primary media type typically carried within the
          Broadcast Video service class is video; as such, it is RECOMMENDED to map this class into
          the Video Access Category. Specifically, it is RECOMMENDED to map CS4 to UP 4, thereby
          admitting Broadcast Video into the Video Access Category (AC_VI).</t>
        
	</section>


     
        <section anchor="low-latency" title="Low-Latency Data">
          <t>The Low-Latency Data service class is RECOMMENDED for elastic and
          time-sensitive data applications, often of a transactional nature,
          where a user is waiting for a response via the network in order to
          continue with a task at hand. As such, these flows may be considered
          foreground traffic, with delays or drops to such traffic directly
          impacting user-productivity. The RECOMMENDED DSCP markings for
          Low-Latency Data are AF21, AF22 and AF23.</t>

          <t>In line with the recommendations made in <xref
          target="signaling"/>, mapping Low-Latency Data to UP 3 may
          allow such to receive a superior level of service via transmit
          queues servicing the EDCAF hardware for the Best Effort Access
          Category (AC_BE). Therefore it is RECOMMENDED to map Low-Latency Data
          traffic marked AF2x DSCP to UP 3, thereby admitting it to the Best
          Effort Access Category (AC_BE).</t>
        </section>

        <section anchor="fast-data" title="High-Throughput Data">
          <t>The High-Throughput Data service class is RECOMMENDED for elastic
          applications that require timely packet forwarding of variable rate
          traffic sources and, more specifically, is configured to provide
          efficient, yet constrained (when necessary) throughput for TCP
          longer-lived flows. These flows are typically non-user-interactive.
          Per <xref target="RFC4594"/>-Section 4.8, it can be assumed that
          this class will consume any available bandwidth and that packets
          traversing congested links may experience higher queuing delays or
          packet loss. It is also assumed that this traffic is elastic and
          responds dynamically to packet loss. The RECOMMENDED DSCP markings
          for High-Throughput Data are AF11, AF12 and AF13.</t>

          <t>Unfortunately, there really is no corresponding fit for the
          High-Throughput Data traffic class within the constrained 4 Access
          Category 802.11 model. If the High-Throughput Data traffic class is
          assigned to the Best Effort Access Category (AC_BE), then it would
          contend with Low-Latency Data (while <xref target="RFC4594"/>
          recommends a distinction in servicing between these traffic classes)
          as well as with the default traffic class; alternatively, if it is
          assigned to the Background Access Category (AC_BK), then it would
          receive a less-then-best-effort service and contend with
          Low-Priority Data (as discussed in <xref target="scavenger"/>).</t>

          <t>As such, since there is no directly corresponding fit for the
          High-Throughout Data service class within the 802.11 model, it is
          generally RECOMMENDED to map High-Throughput Data to UP 0,
          thereby admitting it to the Best Effort Access Category (AC_BE).</t>

        </section>

        <section anchor="DF" title="Standard Service Class">
          <t>The Standard service class is RECOMMENDED for traffic that has
          not been classified into one of the other supported forwarding
          service classes in the DiffServ network domain. This service class
          provides the Internet's "best-effort" forwarding behavior. The
          RECOMMENDED DSCP marking for the Standard Service Class is DF.</t>

          <t>The Standard Service Class loosely corresponds to the 802.11 Best
          Effort Access Category (AC_BK) and therefore it is RECOMMENDED to
          map Standard Service Class traffic marked DF DSCP to UP 0, thereby
          admitting it to the Best Effort Access Category (AC_BE).</t>
        </section>

        <section anchor="scavenger" title="Low-Priority Data">
          <t>The Low-Priority Data service class serves applications that the
          user is willing to accept service without guarantees. This service
          class is specified in <xref target="RFC3662"/>.</t>

          <t>The Low-Priority Data service class loosely corresponds to the
          802.11 Background Access Category (AC_BK) and therefore it is
          RECOMMENDED to map Low-Priority Data traffic marked CS1 DSCP to UP
          1, thereby admitting it to the Background Access Category
          (AC_BK).</t>
        </section>
      </section>

      <section anchor="mapping-down"
               title="DSCP-to-UP Mapping Recommendations Summary">
        <t><xref target="table4"/> summarizes the <xref target="RFC4594"/>
        DSCP marking recommendations mapped to IEEE 802.11 UP and access
        categories applied in the downstream direction (from wired-to-wireless
        networks).</t>

        <figure anchor="table4"
                title="Summary of Downstream DSCP to IEEE 802.11 UP and AC Mapping Recommendations">
          <artwork align="center"><![CDATA[

+------------------------------------------------------------------+
| IETF DiffServ | PHB  |Reference|         IEEE 802.11             |
| Service Class |      |   RFC   |User Priority|  Access Category  |
|===============+======+=========+=============+===================|
|Network Control| CS6  | RFC2474 |    (See Section 4.1.1)          |
+---------------+------+---------+-------------+-------------------+
|   Telephony   | EF   | RFC3246 |     6       |   AC_VO (Voice)   |
+---------------+------+---------+-------------+-------------------+
|  VOICE-ADMIT  |VOICE-| RFC5865 |     6       |   AC_VO (Voice)   |
|               |ADMIT |         |             |                   |
+---------------+------+---------+-------------+-------------------+
|   Signaling   | CS5  | RFC2474 |     5       |   AC_VI (Video)   |
+---------------+------+---------+-------------+-------------------+
|   Multimedia  | AF41 |         |             |                   |
| Conferencing  | AF42 | RFC2597 |     4       |   AC_VI (Video)   |
|               | AF43 |         |             |                   |
+---------------+------+---------+-------------+-------------------+
|   Real-Time   | CS4  | RFC2474 |     4       |   AC_VI (Video)   |
|  Interactive  |      |         |             |                   |
+---------------+------+---------+-------------+-------------------+
|  Multimedia   | AF31 |         |             |                   |
|  Streaming    | AF32 | RFC2597 |     4       |   AC_VI (Video)   |
|               | AF33 |         |             |                   |
+---------------+------+---------+-------------+-------------------+
|Broadcast Video| CS3  | RFC2474 |     4       |   AC_VI (Video)   |
+---------------+------+---------+-------------+-------------------+
|    Low-       | AF21 |         |             |                   |
|    Latency    | AF22 | RFC2597 |     3       |AC_BE (Best Effort)|
|    Data       | AF23 |         |             |                   |
+---------------+------+---------+-------------+-------------------+
|     OAM       | CS2  | RFC2474 |     0       |AC_BE (Best Effort)|
+---------------+------+---------+-------------+-------------------+
|    High-      | AF11 |         |             |                   |
|  Throughput   | AF12 | RFC2597 |     0       |AC_BE (Best Effort)|
|    Data       | AF13 |         |             |                   |
+---------------+------+---------+-------------+-------------------+
|   Standard    | DF   | RFC2474 |     0       |AC_BE (Best Effort)|
+---------------+------+---------+-------------+-------------------+
| Low-Priority  | CS1  | RFC3662 |     1       | AC_BK (Background)|
|     Data      |      |         |             |                   |
+------------------------------------------------------------------+

]]></artwork>
        </figure>
      </section>
    </section>

    <section anchor="upstream-recommend"
             title="Upstream Mapping Recommendations">
      <t>In the upstream direction, there are three types of mapping that may
      occur: <list style="symbols">
          <t>DSCP-to-UP mapping within the wireless client operating
          system</t>

          <t>UP-to-DSCP mapping at the wireless access point</t>

          <t>DSCP-Trust at the wireless access point</t>
        </list></t>

      <section anchor="Upstream-DSCP-to-UP"
               title="Upstream DSCP-to-UP Mapping within the Wireless Client Operating System">
        <t>Some operating systems on wireless client devices utilize a similar
        default DSCP-to-UP mapping scheme as described in <xref
        target="dscp-to-up"/>. As such, this can lead to the same conflicts as
        described in that section, but in the upstream direction.</t>

        <t>Therefore, to improve on these default mappings, and to achieve
        parity and consistency with downstream QoS, it is RECOMMENDED that
        such wireless client operating systems utilize instead the same
        DSCP-to-UP mapping recommendations presented in Section 4 and/or fully
        customizable UP markings.</t>
      </section>

      <section anchor="UP-to-DSCP"
               title="UP-to-DSCP Mapping at the Wireless Access Point">
        <t>UP-to-DSCP mapping generates a DSCP value for the IP packet (either
        an unencapsulated IP packet or an IP packet encapsulated within a
        tunneling protocol such as CAPWAP - and destined towards a wireless
        LAN controller for decapsulation and forwarding) from the Layer 2 IEEE
        UP markings of the wireless frame.</t>

        <t>It should be noted that any explicit remarking policy to be
        performed on such a packet only takes place at the nearest
        classification and marking policy enforcement point, which may be:
        <list style="symbols">
            <t>At the wireless access point</t>

            <t>At the wired network switch port</t>

            <t>At the wireless LAN controller</t>
          </list></t>

        <t>As such, UP-to-DSCP mapping allows for wireless L2 markings to
        affect the QoS treatment of a packet over the wired IP network (that
        is, until the packet reaches the nearest classification and marking
        policy enforcement point).</t>

        <t>It should be noted that nowhere in the IEEE 802.11 specifications
        is there an intent expressed for 802.11 UP to be used to influence QoS
        treatment over wired IP networks. Furthermore, both <xref
        target="RFC2474"/> and <xref target="RFC2475"/> allow for the host to
        set DSCP markings for QoS treatment over IP networks. Therefore, it is
        NOT RECOMMENDED that wireless access points trust UP markings as set
        by these hosts and subsequently perform a UP-to-DSCP mapping in the
        upstream direction, but rather, if wireless host markings are to be
        trusted (as per business requirements, technical constraints and
        administrative preference), then it is RECOMMENDED to trust the DSCP
        markings set by these wireless hosts.</t>
      </section>

      <section anchor="trust" title="DSCP-Trust at the Wireless Access Point">
        <t>On wireless access points that can trust DSCP markings of packets
        encapsulated within wireless frames it is RECOMMENDED to trust DSCP
        markings in the upstream direction, for the following reasons: <list
            style="symbols">
            <t><xref target="RFC2474"/> and <xref target="RFC2475"/> allow for
            hosts to set DSCP markings to achieve and end-to-end
            differentiated service</t>

            <t>IEEE 802.11 does not specify that UP markings are to be used to
            affect QoS treatment over wired IP networks</t>

            <t>Most wireless device operating systems generate UP values by
            the same method as described in Section 3.1 (i.e. by using the 3
            MSB of the encapsulated 6-bit DSCP); then, at the access point,
            these 3-bit mappings are converted back into DSCP values, either
            by the default operation described in Section 3.2 or by a
            customized mapping as described in Section 4; in either case,
            information is lost in the transitions from 6-bit marking to 3-bit
            marking and then back to 6-bit marking; trusting the encapsulated
            DSCP prevents this loss of information</t>

            <t>A practical implementation benefit is also realized by trusting
            the DSCP set by wireless client devices, as enabling applications
            to mark DSCP is much more prevalent and accessible to programmers
            of wireless applications vis-a-vis trying to explicitly set UP
            values, which requires special hooks into the wireless device
            operating system and/or hardware device drivers, many of which (at
            the time of writing) have little or no resources to support such
            functionality</t>
          </list></t>
      </section>
    </section>

    <section anchor="ieee-80211-qos"
             title="Appendix: IEEE 802.11 QoS Overview">
      <t>QoS is enabled on wireless networks by means of the Hybrid
      Coordination Function (HCF). To give better context to the enhancements
      in HCF that enable QoS, it may be helpful to begin with a review of the
      original Distributed Coordination Function (DCF).</t>

      <section anchor="dcf" title="Distributed Coordination Function (DCF)">
        <t>As has been noted, the Wi-Fi medium is a shared medium, with each
        station-including the wireless access point-contending for the medium
        on equal terms. As such, it shares the same challenge as any other
        shared medium in requiring a mechanism to prevent (or avoid)
        collisions which can occur when two (or more) stations attempt
        simultaneous transmission.</t>

        <t>The IEEE Ethernet working group solved this challenge by
        implementing a Carrier Sense Multiple Access/Collision Detection
        (CSMA/CD) mechanism that could detect collisions over the shared
        physical cable (as collisions could be detected as reflected energy
        pulses over the physical wire). Once a collision was detected, then a
        pre-defined set of rules was invoked that required stations to back
        off and wait random periods of time before re-attempting transmission.
        While CSMA/CD improved the usage of Ethernet as a shared medium, it
        should be noted the ultimate solution to solving Ethernet collisions
        was the advance of switching technologies, which treated each Ethernet
        cable as a dedicated collision domain.</t>

        <t>However, unlike Ethernet (which uses physical cables), collisions
        cannot be directly detected over the wireless medium, as RF energy is
        radiated over the air and colliding bursts are not necessarily
        reflected back to the transmitting stations. Therefore, a different
        mechanism is required for this medium.</t>

        <t>As such, the IEEE modified the CSMA/CD mechanism to adapt it to
        wireless networks to provide Carrier Sense Multiple Access/Collision
        Avoidance (CSMA/CA). The original CSMA/CA mechanism used in 802.11 was
        the Distributed Coordination Function. DCF is a timer-based system
        that leverages three key sets of timers, the slot time, interframe
        spaces and contention windows.</t>

        <section anchor="slot-time" title="Slot Time">
          <t>The slot time is the basic unit of time measure for both DCF and
          HCF, on which all other timers are based. The slot time duration
          varies with the different generations of data-rates and performances
          described by the 802.11 standard. For example, the IEEE 802.11-2012
          standard specifies the slot time to be 20 us (IEEE 802.11-2012 Table
          16-2) for legacy implementations (such as 802.11b, supporting 1, 2,
          5.5 and 11 Mbps data rates), while newer implementations (including
          802.11g, 80.11a, 802.11n and 802.11ac, supporting data rates from
          500 Mbps to over 1 Gbps) define a shorter slot time of 9 us (IEEE
          802.11-2012, Section 18.4.4, Table 18-17).</t>
        </section>

        <section anchor="interfame-space" title="Interframe Spaces">
          <t>The time interval between frames that are transmitted over the
          air is called the Interframe Space (IFS). Several IFS are defined in
          802.11, with the two most relevant to DCF being the Short Interframe
          Space (SIFS) and the DCF Interframe Space (DIFS).</t>

          <t>The SIFS is the amount of time in microseconds required for a
          wireless interface to process a received RF signal and its
          associated 802.11 frame and to generate a response frame. Like slot
          times, the SIFS can vary according to the performance implementation
          of the 802.11 standard. The SIFS for 802.11a, 802.11n and 802.11ac
          (in 5 Ghz) is 16 us (IEEE 802.11-2012, Section 18.4.4, Table
          18-17).</t>

          <t>Additionally, a station must sense the status of the wireless
          medium before transmitting. If it finds that the medium is
          continuously idle for the duration of a DIFS, then it is permitted
          to attempt transmission of a frame (after waiting an additional
          random backoff period, as will be discussed in the next section). If
          the channel is found busy during the DIFS interval, the station must
          defer its transmission until the medium is found idle for the
          duration of a DIFS interval. The DIFS is calculated as:<list
              style="empty">
              <t>DIFS = SIFS + (2 * Slot time)</t>
            </list></t>

          <t>However, if all stations waited only a fixed amount of time
          before attempting transmission then collisions would be frequent. To
          offset this, each station must wait, not only a fixed amount of time
          (the DIFS) but also a random amount of time (the random backoff)
          prior to transmission. The range of the generated random backoff
          timer is bounded by the Contention Window.</t>
        </section>

        <section anchor="contention-windows" title="Contention Windows">
          <t>Contention windows bound the range of the generated random
          backoff timer that each station must wait (in addition to the DIFS)
          before attempting transmission. The initial range is set between 0
          and the Contention Window minimum value (CWmin), inclusive. The
          CWmin for DCF (in 5 GHz) is specified as 15 slot times (IEEE 802.11-
          2012, Section 18.4.4, Table 18-17).</t>

          <t>However, it is possible that two (or more) stations happen to
          pick the exact same random value within this range. If this happens
          then a collision will occur. At this point, the stations effectively
          begin the process again, waiting a DIFS and generate a new random
          backoff value. However, a key difference is that for this subsequent
          attempt, the Contention Window approximatively doubles in size (thus
          exponentially increasing the range of the random value). This
          process repeats as often as necessary if collisions continue to
          occur, until the maximum Contention Window size (CWmax) is reached.
          The CWmax for DCF is specified as 1023 slot times (IEEE 802.11-2012,
          Section 18.4.4, Table 18-17).</t>

          <t>At this point, transmission attempts may still continue (until
          some other pre-defined limit is reached), but the Contention Window
          sizes are fixed at the CWmax value.</t>

          <t>Incidentally it may be observed that a significant amount of
          jitter can be introduced by this contention process for wireless
          transmission access. For example, the incremental transmission delay
          of 1023 slot times (CWmax) using 9 us slot times may be as high as 9
          ms of jitter per attempt. And as previously noted, multiple attempts
          can be made at CWmax.</t>
        </section>
      </section>

      <section anchor="hcf" title="Hybrid Coordination Function (HCF)">
        <t>Therefore, as can be seen from the preceding description of DCF,
        there is no preferential treatment of one station over another when
        contending for the shared wireless media; nor is there any
        preferential treatment of one type of traffic over another during the
        same contention process. To support the latter requirement, the IEEE
        enhanced DCF in 2005 to support QoS, specifying HCF in 802.11, which
        was integrated into the main 802.11 standard in 2007.</t>

        <section anchor="user-priority" title="User Priority (UP)">
          <t>One of the key changes to the 802.11 frame format is the
          inclusion of a QoS Control field, with 3 bits dedicated for QoS
          markings. These bits are referred to the User Priority (UP) bits and
          these support eight distinct marking values: 0-7, inclusive.</t>

          <t>While such markings allow for frame differentiation, these alone
          do not directly affect over-the-air treatment. Rather it is the
          non-configurable and standard-specified mapping of UP markings to
          802.11 Access Categories (AC) that generate differentiated treatment
          over wireless media.</t>
        </section>

        <section anchor="access-categories" title="Access Category (AC)">
          <t>Pairs of UP values are mapped to four defined access categories
          that correspondingly specify different treatments of frames over the
          air. These access categories (in order of relative priority from the
          top down) and their corresponding UP mappings are shown in <xref
          target="table1"/> (adapted from IEEE 802.11-2012, Section 9.2.4.2,
          Table 9-1).</t>

          <figure anchor="table1"
                  title="IEEE 802.11 Access Categories and User Priority Mappings">
            <artwork align="center"><![CDATA[

+-----------------------------------------+
|   User    |   Access   | Designative    |
| Priority  |  Category  | (informative)  |
|===========+============+================|
|     7     |    AC_VO   |     Voice      |
+-----------+------------+----------------+
|     6     |    AC_VO   |     Voice      |
+-----------+------------+----------------+
|     5     |    AC_VI   |     Video      |
+-----------+------------+----------------+
|     4     |    AC_VI   |     Video      |
+-----------+------------+----------------+
|     3     |    AC_BE   |   Best Effort  |
+-----------+------------+----------------+
|     0     |    AC_BE   |   Best Effort  |
+-----------+------------+----------------+
|     2     |    AC_BK   |   Background   |
+-----------+------------+----------------+
|     1     |    AC_BK   |   Background   |
+-----------------------------------------+

]]></artwork>
          </figure>

          <t>The manner in which these four access categories achieve
          differentiated service over-the-air is primarily by tuning the fixed
          and random timers that stations have to wait before sending their
          respective types of traffic, as will be discussed next.</t>
        </section>

        <section anchor="aifs" title="Arbitration Inter-Frame Space (AIFS)">
          <t>As previously mentioned, each station must wait a fixed amount of
          time to ensure the air is clear before attempting transmission. With
          DCF, the DIFS is constant for all types of traffic. However, with
          802.11 the fixed amount of time that a station has to wait will
          depend on the access category and is referred to as an Arbitration
          Interframe Space (AIFS). AIFS are defined in slot times and the AIFS
          per access category are shown in <xref target="table2"/> (adapted
          from IEEE 802.11-2012, Section 8.4.2.31, Table 8-105).</t>

          <figure anchor="table2"
                  title="Arbitration Interframe Spaces by Access Category">
            <artwork align="center"><![CDATA[

+------------------------------------------+
|   Access   | Designative    |   AIFS     |
|  Category  | (informative)  |(slot times)|
|===========+=================+============|
|   AC_VO   |     Voice       |     2      |
+-----------+-----------------+------------+
|   AC_VI   |     Video       |     2      |
+-----------+-----------------+------------+
|   AC_BE   |   Best Effort   |     3      |
+-----------+-----------------+------------+
|   AC_BK   |   Background    |     7      |
+-----------+-----------------+------------+

]]></artwork>
          </figure>
        </section>

        <section anchor="cw" title="Access Category Contention Windows (CW)">
          <t>Not only is the fixed amount of time that a station has to wait
          skewed according to 802.11 access category, but so are the relative
          sizes of the Contention Windows that bound the random backoff
          timers, as shown in <xref target="table3"/> (adapted from IEEE
          802.11-2012, Section 8.4.2.31, Table 8-105).</t>

          <figure anchor="table3"
                  title="Contention Window Sizes by Access Category">
            <artwork align="center"><![CDATA[

+-------------------------------------------------------+
|   Access   | Designative    |   CWmin    |   CWmax    |
|  Category  | (informative)  |(slot times)|(slot times)|
|===========+=================+============|============|
|   AC_VO   |     Voice       |     3      |     7      |
+-----------+-----------------+------------+------------+
|   AC_VI   |     Video       |     7      |     15     |
+-----------+-----------------+------------+------------+
|   AC_BE   |   Best Effort   |     15     |    1023    |
+-----------+-----------------+------------+------------+
|   AC_BK   |   Background    |     15     |    1023    |
+-----------+-----------------+------------+------------+

]]></artwork>
          </figure>

          <t>When the fixed and randomly generated timers are added together
          on a per access category basis, then traffic assigned to the Voice
          Access Category (i.e. traffic marked to UP 6 or 7) will receive a
          statistically superior service relative to traffic assigned to the
          Video Access Category (i.e. traffic marked UP 5 and 4), which, in
          turn, will receive a statistically superior service relative to
          traffic assigned to the Best Effort Access Category traffic (i.e.
          traffic marked UP 3 and 0), which finally will receive a
          statistically superior service relative to traffic assigned to the
          Background Access Category traffic (i.e. traffic marked to UP 2 and
          1).</t>
        </section>
      </section>

      <section anchor="dot11u" title="IEEE 802.11u QoS Map Set">
        <t><xref target="IEEE.802-11u.2011">IEEE 802.11u</xref> is proposed
        addendum to the IEEE 802.11 standard which includes, among other
        enhancements, a mechanism by which wireless access points can
        communicate DSCP to/from UP mappings that have been configured on the
        wired IP network. Specifically, a QoS Map Set information element
        (described in IEEE 802.11u-2011 Section 7.3.2.95) is transmitted from
        an AP to a wireless endpoint device in an association / re-association
        Response frame (or within a special QoS Map Configure frame). The
        purpose of the QoS Map Set information element is to provide the
        mapping of higher layer Quality of Service constructs (i.e. DSCP) to
        User Priorities so that a wireless endpoint device (that supports this
        function and is administratively configured to enable it) can perform
        corresponding DSCP-to-UP mapping within the device (i.e. between
        applications and the operating system / wireless network interface
        hardware drivers) to align with what the APs are mapping in the
        downstream direction, so as to achieve consistent end-to-end QoS.</t>

        <t>The QoS Map Set information element includes two key
        components:</t>

        <t>1) each of the eight UP values (0-7) are associated with a range of
        DSCP values, and</t>

        <t>2) (up to 21) exceptions from these range-based DSCP to/from UP
        mapping associations may be optionally and explicitly specified.</t>

        <t>In line with the recommendations put forward in this document, the
        following recommendations apply when the this QoS Map Set information
        element is enabled:</t>

        <t>1) each of the eight UP values (0-7) are RECOMMENDED to be mapped
        to DSCP 0 (as a baseline, so as to meet the recommendation made in
        <xref target="control-protocols"/> (that packets marked to unused
        DiffServ Codepoints be remarked at the edge of the DiffServ domain),
        and</t>

        <t>2) (up to 21) exceptions from this baseline mapping are RECOMMENDED
        to be make in line with <xref target="mapping-down"/>, to correspond
        to the DiffServ Codepoints that are in use over the IP network.</t>
      </section>
    </section>

    <section anchor="IANA" title="IANA Considerations">
      <t>This memo asks the IANA for no new parameters.</t>
    </section>

    <section anchor="Security" title="Security Considerations">
      <t>The recommendation offered in <xref target="control-protocols"/> (of
      dropping or remarking packets marked with DiffServ Codepoints not in use
      at the edge of the DiffServ domain) is to address a Denial-of-Service
      attack vector that exists at wired-to-wireless edges due to the
      requirement of trusting traffic markings to ensure end-to-end QoS. For
      example, consider a malicious user flooding traffic marked CS7 or CS6
      DSCP toward the WLAN. These codepoints would map by default to UP 7 and
      UP 6 (respectively), both of which would be assigned to the Voice Access
      Category (AC_VO). Such a flood could cause a Denial-of-Service to
      wireless voice applications.</t>

      <section anchor="Privacy" title="Privacy Considerations">
        <t/>
      </section>
    </section>

    <section anchor="Acknowledgements" title="Acknowledgements">
      <t>The authors wish to thank TSVWG reviewers.</t>

      <t>The authors acknowledge a great many inputs, notably from Jerome
      Henry, David Kloper, Mark Montanez, Glen Lavers, Michael Fingleton,
      Sarav Radhakrishnan, Karthik Dakshinamoorthy, Simone Arena, Ranga
      Marathe, Ramachandra Murthy and many others.</t>
    </section>
  </middle>

  <back>
    <!-- references split to informative and normative -->

    <references title="Normative References">
      <?rfc include='reference.RFC.2119'?>

      <?rfc include='reference.RFC.2474' ?>

      <?rfc include='reference.RFC.2475' ?>

      <?rfc include='reference.RFC.2597' ?>

      <?rfc include='reference.RFC.3246' ?>

      <?rfc include='reference.RFC.3662' ?>

      <?rfc include='reference.RFC.4594' ?>

      <?rfc include='reference.RFC.5865' ?>

      <reference anchor="IEEE.802-11.2012"
                 target="http://standards.ieee.org/getieee802/download/802.11-2012.pdf">
        <front>
          <title>Information technology - Telecommunications and information
          exchange between systems - Local and metropolitan area networks -
          Specific requirements - Part 11: Wireless LAN Medium Access Control
          (MAC) and Physical Layer (PHY) specifications</title>

          <author>
            <organization/>
          </author>

          <date month="" year="2012"/>
        </front>

        <seriesInfo name="IEEE" value="Standard 802.11"/>
      </reference>
    </references>

    <references title="Informative References">
      <?rfc include='reference.RFC.5127' ?>

      <?rfc include="reference.RFC.7561" ?>

      <?rfc include='reference.I-D.ietf-tsvwg-diffserv-intercon' ?>

      <reference anchor="IEEE.802-11u.2011"
                 target="http://standards.ieee.org/getieee802/download/802.11u-2011.pdf">
        <front>
          <title>Information technology - Telecommunications and information
          exchange between systems - Local and metropolitan area networks -
          Specific requirements - Part 11: Wireless LAN Medium Access Control
          (MAC) and Physical Layer (PHY) specifications</title>

          <author>
            <organization/>
          </author>

          <date month="" year="2011"/>
        </front>

        <seriesInfo name="IEEE" value="Standard 802.11"/>
      </reference>
    </references>

    <section anchor="log" title="Change Log">
      <t><list style="hanging">
          <t hangText="Initial Version:">July 2015</t>
        </list></t>
    </section>
  </back>
</rfc>
