Home > Networking Tips > Wireless Networks > How to prioritize wireless traffic
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WIRELESS NETWORKS

How to prioritize wireless traffic


Lisa Phifer
07.24.2008
Rating: -5.00- (out of 5)


Network management news, advice and technical information
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Network administrators have long used techniques like 802.1d and DiffServ to give selected traffic preferential treatment. As wireless LANs (WLANs) mature from handling casual Internet access to carrying challenging business applications and multimedia traffic, prioritization must be extended to the wireless edge. This can be accomplished using Wi-Fi Multimedia.

What is Wi-Fi Multimedia?
Wi-Fi Multi Media, also known as Wireless Multimedia Extensions (WME), is a subset of IEEE 802.11e MAC Enhancements for Quality of Service (QoS). This amendment specifies 802.11 extensions to optimize application performance in WLANs that carry a mixture of voice, audio and video. Specifically, 802.11e defines two ways to control airtime use: prioritization using Enhanced Distribution Channel Access (EDCA) and scheduling using the Hybrid Coordination Function (HCF).

EDCA matured well before its contentious sibling. However, before 802.11e could be finalized, proprietary methods began to emerge. To nip interoperability problems in the bud, the Wi-Fi Alliance established the WMM certification program. Four years later, over 850 products have passed WMM tests for prioritizing airtime using EDCA.

802.11e also specifies a Power Save (PS) extension to help conserve battery life. PS lets clients sleep between transmissions to reduce power consumption. 802.11e improves PS by giving clients (and their applications) better control over when they can ask for data received while asleep. In late 2005, the Wi-Fi Alliance established another program -- WMM Power Save -- to promote interoperable implementation of this enhancement.

Who can benefit from Wi-Fi Multimedia
In situations where all applications and users deserve the same treatment and access is not crucial, priority is irrelevant. But RF channels are shared media. 802.11 clients use a Distributed Coordination Function (DCF) to play nicely with others contending for the same channel. When


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Wireless Networks
Rogue access points: Preventing, detecting and handling best practices
Persistent, secure connections for roaming WiMAX, 3G and 802.11x
Securing embedded 802.11n devices
802.11n's impact on WLAN security
Set up secure wireless networks with 802.11x, access points and bridges
How to use Netsh WLAN to configure Windows Server 2008 and Windows Vista wireless connections from the CLI
How to avoid the WPA wireless security standard attack
IEEE 802.11w protects wireless LAN management frames
Measure wireless network performance using testing tool iPerf
Wireless security protocols -- How WPA and WPA2 work

Troubleshooting Wireless Networks
How radio frequency (RF) of microwaves alter wireless signal strength
Distributed antenna systems and WLAN: A network management burden
Wireless LAN management platforms key differentiator for WLAN vendors
How is wireless access point (AP) coverage affected by frequency?
From Cisco to Meru to Aruba, school finally finds right WLAN
How to find an SSID and identify neighboring WLANs
How to stop channel interference on 802.11x wireless access points
Troubleshooting networks: Can vendor software self-install firewalls?
How to use Netsh WLAN to configure Windows Server 2008 and Windows Vista wireless connections from the CLI
Free consumer Wi-Fi hot spots: Retail fad or enterprise business tool?
Troubleshooting Wireless Networks Research

Network Performance Management
Virtualization: The next generation of application delivery challenges
New skills emerge for network engineering and administration careers
Improving the performance of Web traffic and application delivery
Network performance management evolution: Involving other IT domains
Formula for proper bandwidth utilization on a T1 line
The link between network management and application delivery
IT automation, automated network management becoming essential
Network management and monitoring market remains crowded, fragmented
Network configuration flaws block server access and wireless printing
Xangati help desk 'DVR' feature speeds up trouble ticketing resolution

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
802.11a  (SearchNetworking.com)
home agent  (SearchNetworking.com)
iDEN  (SearchNetworking.com)
radio frequency  (SearchNetworking.com)
repeater  (SearchNetworking.com)
spectrum analyzer  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


ever a client has data to send, it first listens to determine whether someone else is transmitting. If the channel is busy, the client must wait a random back-off period before trying again.

DCF is fine when airtime is plentiful. But when diverse applications share the same WLAN, bandwidth hogs -- like media players -- can starve other users. Furthermore, as load increases, everyone suffers by waiting longer to transmit. Brief delays may go unnoticed when Web surfing, but a gap of just 100 milliseconds can cause voice call drop outs. Buffering makes streaming less vulnerable, but audio and video applications still need consistent chunks of airtime to perform well.

WMM uses sender-specified priority to provide every application with its "fair share" of the channel. Note that WMM cannot guarantee airtime -- a device that refuses to play fair can still transmit for long periods and block everyone else out. Nonetheless, WMM is an important building block for keeping everyone happy in multi-media WLANs.

How WMM works
To better manage airtime, WMM classifies Wi-Fi "QoS Data" frames into four Access Categories (ACs):

[TABLE]

When IP packets are submitted to the MAC layer for transmission, User Priority (UP) can be specified by 802.1d tags or Differentiated Services Code Point (DSCP) headers. WMM maps that UP (if any) to the corresponding AC -- for example, top-priority packets are sent as Voice frames. QoS Data frames are then inserted into one of four separate transmit queues. (Some APs even implement four transmit queues per client or SSID.)

Parameters determine how often QoS Data frames from each category can be transmitted:

The net result is that higher-priority frames receive more "transmit opportunities" than lower-priority frames. When several queues have data to send, high priority queues also get serviced more often than lower priority queues.

Without prioritization, airtime competition can significantly degrade voice quality. On the flip side, because VoIP sends many short packets, even one phone call keeps a channel pretty busy. WMM prioritization stops latency-sensitive applications like VoIP from being crippled by delay and jitter, while preventing low-priority applications from being shut out altogether. (To hear the difference, listen to this Interop 2006 demo.) WMM Power Save further improves life for small devices like VoIP handsets and media players that are latency-sensitive by letting them "doze" longer without degrading quality.

Putting WMM into action
If your WLAN is composed of recent devices -- especially business APs and VoIP handsets -- you probably have the equipment to take advantage of WMM. To determine whether your gear supports WMM, search the Wi-Fi Alliance's certified products list.

To prioritize traffic with WMM, both the AP and client must support EDCA. WMM is backwards-compatible, meaning that an AP can prioritize traffic from QoS-aware clients while also servicing traffic from legacy clients. This is accomplished by including WMM support -- and the parameters for each AC -- in AP beacons. For example, this beacon was sent by an Actiontec AP:

[TABLE]
Legacy clients ignore this unknown element, while QoS-aware clients agree whether to use WMM when they associate to the AP. Some clients must be explicitly configured to enable WMM. For example, see this Dell laptop Wi-Fi card:

[IMAGE]

Many other clients do not expose WMM settings -- if they associate to an AP that advertises WMM, they will use it. But negotiation results may still be visible -- for example, see QoS and Power Save Mode values in this Cisco client's Status:

[IMAGE]

However, agreeing to use WMM is not enough. To get anything other than Best Effort, applications must supply User Priority values (802.1d tags or DSCP flags) in the IP packet they generate. For example, compare the following pair of frames:

[TABLE]

Frame 1, at left, is an untagged frame (IP Type of Service 0). Frame 2, at right is an encrypted frame with User Priority 6. Although that IP packet is obscured by encryption, we know that it carries Type of Service=6, which WMM mapped to the Voice category. Indeed, the packet on the right was generated by a QoS-aware softphone program.

In fact, tagging is a critical step. Purpose-built Wi-Fi devices that are WMM-capable often run software that tags outbound packets. Examples include Wi-Fi SIP Phones like SMC Tigervoip and Cisco Unified Wireless IP phones, dual-mode Smartphones like RIM BlackBerry 8820 and Sony Ericsson W960i, media centers like Linksys DMA2100 and Philips MCP9360i, and Set Top Box/DVRs like HP MediaSmart Connect.

On general-purpose devices like laptops, start with a WMM-capable adapter like the Dell and Cisco cards mentioned above. However, applications must also be developed to use WMM. To learn more about Windows applications, see Microsoft QoS Support and Vista WMM Support articles.

Finally, QoS algorithms must be applied at the AP and integrated with wired network traffic management. Some APs just use defaults specified by 802.11e. Other APs provide configurable WMM parameters per radio or SSID, like this Motorola AP-5131:

[IMAGE]

However, enabling WMM only prioritizes airtime. Additional AP and/or Controller parameters determine how QoS operates within the AP and how packets are tagged at ingress/egress interfaces.

For example, your AP may let you specify WMM ACs applied to traffic sent to individual clients (MAC addresses) or applications (TCP/UDP ports). Or you have control over how inbound DSCP or 802.1d tags are mapped to outbound packets, regardless of application payload. Many business-grade APs offer further bandwidth management features, like weighted queuing when a radio/channel supports several virtual APs, or traffic shaping based on IP Type of Service.

These capabilities vary quite a bit, so examine your own gear and how it fits WMM into "big picture" QoS. To learn more about WMM and end-to-end QoS management for voice over Wi-Fi, see the Wi-Fi Alliance's Voice-Personal and upcoming Voice-Enterprise programs.


About the author:
Lisa A. Phifer is vice president of Core Competence Inc. She has been involved in the design, implementation and evaluation of data communications, internetworking, security and network management products for more than 20 years and has advised companies large and small regarding security needs, product assessment and the use of emerging technologies and best practices.


Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business

Alcatel-Lucent Network Business Communications Solutions

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts