Wi-Fi Multimedia (WMM) lets voice and video go ahead of downloads and backups. Follow a packet from an app to one of four queues, then watch the queues race for the air: see why a voice call stays smooth while someone downloads, and what happens when WMM is off.
Every Wi-Fi device, access points included, keeps four transmit queues called access categories: Voice, Video, Best effort and Background. They all compete for the same air with the usual listen-before-talk rules, but with different settings: higher-priority queues wait a shorter fixed time (AIFS) after the channel goes quiet, pick their random backoff from a smaller range, and may keep the channel for several frames in a row (a TXOP). Priority isn't guaranteed; it's a much better chance of going first.
Which queue a packet uses depends on the priority marking (DSCP) the app or network put in its IP header.
Pick what the traffic is. The DSCP value in the packet's IP header is translated to an 802.11 User Priority, which picks the queue.
| Traffic class (RFC 8325) | DSCP | User Priority | Access category |
|---|
Phones on voice calls (Voice), laptops in video calls, the first one also browsing the web (Video + Best effort), PCs downloading (Best effort) and a NAS backing up (Background), all on one 5 GHz channel. Each row is one queue. The traffic is random: voice packets every 20 ms or so, video frames in bursts of packets, and the web, downloads and backup switching on and off. New random run draws new traffic; switching WMM replays the same traffic, so you compare like with like.
The first 2 seconds of , the random traffic in the timeline above, played with WMM on and off. Press New random run to see how much the results vary. Access delay is how long a frame waits, from reaching the front of its queue until it starts transmitting. Voice needs this well under 20–30 ms; a few milliseconds is ideal.
Every time a queue gets a frame ready, it picks a random number of empty slots (9 µs each) to count down, from 0 up to its contention window (CW). Darker = picked more often. The outline is the starting range; picks beyond it come after collisions, when the range doubles.
The EDCA parameters most APs advertise on 5 GHz: the Wi-Fi Alliance WMM defaults (slot 9 µs, SIFS 16 µs). AIFS = SIFS + AIFSN × slot. The AP advertises the values clients must use in its beacons; the AP itself uses slightly shorter waits.
| Access category | User Priorities | AIFSN (client / AP) | AIFS (client) | Contention window | TXOP limit | Typical traffic |
|---|---|---|---|---|---|---|
| Voice (AC_VO) | 6, 7 | 2 / 1 | 34 µs | 0–3, up to 0–7 | 1.5 ms | Voice calls, some network control |
| Video (AC_VI) | 4, 5 | 2 / 1 | 34 µs | 0–7, up to 0–15 | 3 ms | Video calls, streaming marked by the network |
| Best effort (AC_BE) | 0, 3 | 3 / 3 | 43 µs | 0–15, up to 0–1023 | one exchange | Everything unmarked: web, most apps, most streaming |
| Background (AC_BK) | 1, 2 | 7 / 7 | 79 µs | 0–15, up to 0–1023 | one exchange | Backups, updates, bulk transfers marked as low priority |