Cisco supports 802.11e on the
local access and on the backhaul. Mesh access points prioritize user traffic
based on classification, and therefore all user traffic is treated on a
best-effort basis.
Resources available to users
of the mesh vary, according to the location within the mesh, and a
configuration that provides a bandwidth limitation in one point of the network
can result in an oversubscription in other parts of the network.
Similarly, limiting clients
on their percentage of RF is not suitable for mesh clients. The limiting
resource is not the client WLAN, but the resources available on the mesh
backhaul.
Similar to wired Ethernet
networks, 802.11 WLANs employ Carrier Sense Multiple Access (CSMA), but instead
of using collision detection (CD), WLANs use collision avoidance (CA), which
means that instead of each station trying to transmit as soon as the medium is
free, WLAN devices will use a collision avoidance mechanism to prevent multiple
stations from transmitting at the same time.
The collision avoidance
mechanism uses two values called CWmin and CWmax. CW stands for contention
window. The CW determines what additional amount of time an endpoint should
wait, after the interframe space (IFS), to attend to transmit a packet.
Enhanced distributed coordination function (EDCF) is a model that allows end
devices that have delay-sensitive multimedia traffic to modify their CWmin and
CWmax values to allow for statically greater (and more frequent) access to the
medium.
Cisco access points support
EDCF-like QoS. This provides up to eight queues for QoS.
These queues can be allocated
in several different ways, as follows:
-
Based on TOS / DiffServ
settings of packets
-
Based on Layer 2 or Layer 3
access lists
-
Based on VLAN
-
Based on dynamic registration
of devices (IP phones)
AP1500s, with Cisco
controllers, provide a minimal integrated services capability at the
controller, in which client streams have maximum bandwidth limits, and a more
robust differentiated services (diffServ) capability based on the IP DSCP
values and QoS WLAN overrides.
When the queue capacity has
been reached, additional frames are dropped (tail drop).
Encapsulations
Several encapsulations are
used by the mesh system. These encapsulations include CAPWAP control and data
between the controller and RAP, over the mesh backhaul, and between the mesh
access point and its client(s). The encapsulation of bridging traffic
(noncontroller traffic from a LAN) over the backhaul is the same as the
encapsulation of CAPWAP data.
There are two encapsulations
between the controller and the RAP. The first is for CAPWAP control, and the
second is for CAPWAP data. In the control instance, CAPWAP is used as a
container for control information and directives. In the instance of CAPWAP
data, the entire packet, including the Ethernet and IP headers, is sent in the
CAPWAP container.
Figure 20. Encapsulations
For the backhaul, there is
only one type of encapsulation, encapsulating mesh traffic. However, two types
of traffic are encapsulated: bridging traffic and CAPWAP control and data
traffic. Both types of traffic are encapsulated in a proprietary mesh header.
In the case of bridging
traffic, the entire packet Ethernet frame is encapsulated in the mesh header.
All backhaul frames are
treated identically, regardless of whether they are MAP to MAP, RAP to MAP, or
MAP to RAP.
Figure 21. Encapsulating Mesh
Traffic
 Note |
Mesh Data DTLS encryption is only supported on the wave 2 Mesh AP
such as 1540 and 1560 models only.
|
Queuing on the Mesh Access
Point
The mesh access point uses a
high speed CPU to process ingress frames, Ethernet, and wireless on a
first-come, first-serve basis. These frames are queued for transmission to the
appropriate output device, either Ethernet or wireless. Egress frames can be
destined for either the 802.11 client network, the 802.11 backhaul network, or
Ethernet.
AP1500s support four FIFOs
for wireless client transmissions. These FIFOs correspond to the 802.11e
platinum, gold, silver, and bronze queues, and obey the 802.11e transmission
rules for those queues. The FIFOs have a user configurable queue depth.
The backhaul (frames destined
for another outdoor mesh access point) uses four FIFOs, although user traffic
is limited to gold, silver, and bronze. The platinum queue is used exclusively
for CAPWAP control traffic and voice, and has been reworked from the standard
802.11e parameters for CWmin, CWmax, and so on, to provide more robust
transmission but higher latencies.
The 802.11e parameters for
CWmin, CWmax, and so on, for the gold queue have been reworked to provide lower
latency at the expense of slightly higher error rate and aggressiveness. The
purpose of these changes is to provide a channel that is more conducive to
video applications.
Frames that are destined for
Ethernet are queued as FIFO, up to the maximum available transmit buffer pool
(256 frames). There is support for a Layer 3 IP Differentiated Services Code
Point (DSCP), so marking of the packets is there as well.
In the controller to RAP path
for the data traffic, the outer DSCP value is set to the DSCP value of the
incoming IP frame. If the interface is in tagged mode, the controller sets the
802.1Q VLAN ID and derives the 802.1p UP (outer) from 802.1p UP incoming and
the WLAN default priority ceiling. Frames with VLAN ID 0 are not tagged.
Figure 22. Controller to RAP
Path
For CAPWAP control traffic
the IP DSCP value is set to 46, and the 802.1p user priority is set to 7. Prior
to transmission of a wireless frame over the backhaul, regardless of node
pairing (RAP/MAP) or direction, the DSCP value in the outer header is used to
determine a backhaul priority. The following sections describe the mapping
between the four backhaul queues the mesh access point uses and the DSCP values
shown in Backhaul Path QoS.
Table 3 Backhaul Path QoS
DSCP Value
|
Backhaul Queue
|
2, 4, 6, 8 to 23
|
Bronze
|
26, 32 to 63
|
Gold
|
46 to 56
|
Platinum
|
All others including 0
|
Silver
|
 Note |
The platinum backhaul queue
is reserved for CAPWAP control traffic, IP control traffic, and voice packets.
DHCP, DNS, and ARP requests are also transmitted at the platinum QoS level. The
mesh software inspects each frame to determine whether it is a CAPWAP control
or IP control frame in order to protect the platinum queue from use by
non-CAPWAP applications.
|
For a MAP to the client path,
there are two different procedures, depending on whether the client is a WMM
client or a normal client. If the client is a WMM client, the DSCP value in the
outer frame is examined, and the 802.11e priority queue is used.
Table 4 MAP to Client Path
QoS
DSCP Value
|
Backhaul Queue
|
2, 4, 6, 8 to 23
|
Bronze
|
26, 32 to 45, 47
|
Gold
|
46, 48 to 63
|
Platinum
|
All others including 0
|
Silver
|
If the client is not a WMM
client, the WLAN override (as configured at the controller) determines the
802.11e queue (bronze, gold, platinum, or silver), on which the packet is
transmitted.
For a client of a mesh access
point, there are modifications made to incoming client frames in preparation
for transmission on the mesh backhaul or Ethernet. For WMM clients, a MAP
illustrates the way in which the outer DSCP value is set from an incoming WMM
client frame.
Figure 23. MAP to RAP Path
The minimum value of the
incoming 802.11e user priority and the WLAN override priority is translated
using the information listed in
Table 3 to
determine the DSCP value of the IP frame. For example, if the incoming frame
has as its value a priority indicating the gold priority, but the WLAN is
configured for the silver priority, the minimum priority of silver is used to
determine the DSCP value.
Table 5 DSCP to Backhaul Queue
Mapping
DSCP Value
|
802.11e UP
|
Backhaul Queue
|
Packet Types
|
2, 4, 6, 8 to 23
|
1, 2
|
Bronze
|
Lowest priority packets, if
any
|
26, 32 to 34
|
4, 5
|
Gold
|
Video packets
|
46 to 56
|
6, 7
|
Platinum
|
CAPWAP control, AWPP,
DHCP/DNS, ARP packets, voice packets
|
All others including 0
|
0, 3
|
Silver
|
Best effort, CAPWAP data
packets
|
If there is no incoming WMM
priority, the default WLAN priority is used to generate the DSCP value in the
outer header. If the frame is an originated CAPWAP control frame, the DSCP
value of 46 is placed in the outer header.
With the 5.2 code
enhancements, DSCP information is preserved in an AWPP header.
All wired client traffic is
restricted to a maximum 802.1p UP value of 5, except DHCP/DNS and ARP packets,
which go through the platinum queue.
The non-WMM wireless client
traffic gets the default QoS priority of its WLAN. The WMM wireless client
traffic may have a maximum 802.11e value of 6, but it must be below the QoS
profile configured for its WLAN. If admission control is configured, WMM
clients must use TSPEC signaling and get admitted by CAC.
The CAPWAPP data traffic
carries wireless client traffic and has the same priority and treatment as
wireless client traffic.
Now that the DSCP value is
determined, the rules described earlier for the backhaul path from the RAP to
the MAP are used to further determine the backhaul queue on which the frame is
transmitted. Frames transmitted from the RAP to the controller are not tagged.
The outer DSCP values are left intact, as they were first constructed.
Bridging Backhaul
Packets
Bridging services are
treated a little differently from regular controller-based services. There is
no outer DSCP value in bridging packets because they are not CAPWAP
encapsulated. Therefore, the DSCP value in the IP header as it was received by
the mesh access point is used to index into the table as described in the path
from the mesh access point to the mesh access point (backhaul).
Bridging Packets from and
to a LAN
Packets received from a
station on a LAN are not modified in any way. There is no override value for
the LAN priority. Therefore, the LAN must be properly secured in bridging mode.
The only protection offered to the mesh backhaul is that non-CAPWAP control
frames that map to the platinum queue are demoted to the gold queue.
Packets are transmitted to
the LAN precisely as they are received on the Ethernet ingress at entry to the
mesh.
The only way to integrate
QoS between Ethernet ports on AP1500 and 802.11a is by tagging Ethernet packets
with DSCP. AP1500s take the Ethernet packet with DSCP and places it in the
appropriate 802.11e queue.
AP1500s do not tag DSCP
itself:
-
On the ingress port, the
AP1500 sees a DSCP tag, encapsulates the Ethernet frame, and applies the
corresponding 802.11e priority.
-
On the egress port, the
AP1500 decapsulates the Ethernet frame, and places it on the wire with an
untouched DSCP field.
Ethernet devices, such as
video cameras, should have the capability to mark the bits with DSCP value to
take advantage of QoS.
 Note |
QoS only is relevant when
there is congestion on the network.
|