Law: Towards Consistent Low Latency in 802.11 Home Networks

Yibin Shen (Hong Kong University of Science and Technology), Zili Meng (Hong Kong University of Science and Technology)

23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 2 · From Fiber to Radio

Overview

Ultra-low latency applications, such as real-time interactive video and cloud gaming, impose strict latency deadlines typically capped at 100 milliseconds. While modern network architectures and cloud edge servers have heavily optimized the network backbone—allowing round-trip times (RTTs) to local edge nodes to drop below 10 milliseconds—real-world end-to-end service latencies frequently suffer from severe tail latency problems. At the 99th and 99.9th percentiles, latencies routinely exceed 200 milliseconds. This talk, presented by researchers from the Hong Kong University of Science and Technology, investigates the root cause of this bottleneck and introduces Law, a low-latency bounded Wi-Fi link-layer framework designed to provide consistent, predictable low latency in 802.11 home networks.

Watch on YouTube · Slides

Visual summary for Law: Towards Consistent Low Latency in 802.11 Home Networks by Yibin Shen, Zili Meng
Visual summary for Law: Towards Consistent Low Latency in 802.11 Home Networks by Yibin Shen, Zili Meng

Key moments

  1. 0:00 Introduction and Wi-Fi latency problem overview
  2. 2:05 Root causes: multi-layer queues and retransmissions
  3. 5:30 Rate adaptation limitations and real-world trace analysis
  4. 7:00 Key insight: leveraging upper-layer loss tolerance and dropping packets
  5. 8:30 Queuing structure reshaping design
  6. 10:30 Fine-grained rate and retransmission control
  7. 12:30 Evaluation results and application-level performance

Law: Towards Consistent Low Latency in 802.11 Home Networks

Speakers: Yibin Shen (Hong Kong University of Science and Technology); Zili Meng (Hong Kong University of Science and Technology)

Conference: USENIX NSDI

YouTube: https://www.youtube.com/watch?v=BAT-DEx037c

Overview

Ultra-low latency applications, such as real-time interactive video and cloud gaming, impose strict latency deadlines typically capped at 100 milliseconds. While modern network architectures and cloud edge servers have heavily optimized the network backbone—allowing round-trip times (RTTs) to local edge nodes to drop below 10 milliseconds—real-world end-to-end service latencies frequently suffer from severe tail latency problems. At the 99th and 99.9th percentiles, latencies routinely exceed 200 milliseconds. This talk, presented by researchers from the Hong Kong University of Science and Technology, investigates the root cause of this bottleneck and introduces Law, a low-latency bounded Wi-Fi link-layer framework designed to provide consistent, predictable low latency in 802.11 home networks.

The core motivation behind Law is the observation that the Wi-Fi last hop has become the dominant contributor to end-to-end tail latency. When end-to-end latency exceeds 70 milliseconds, the Wi-Fi segment accounts for over 95% of that delay. Traditional Wi-Fi link layers are optimized for throughput and fairness rather than bounded latency, relying on deep multi-layered queues, delay-insensitive retransmissions, and throughput-oriented rate adaptation. By recognizing that modern ultra-low latency applications are inherently loss-tolerant—leveraging forward error correction (FEC), error concealment algorithms, and latency-sensitive congestion controllers like BBR, Copa, and GCC—the authors argue for a paradigm shift: actively dropping packets that exceed a target latency bound rather than letting them queue indefinitely.

The introduction of Law matters significantly for systems and networking practitioners deploying real-time interactive applications over wireless edge infrastructure. By redesigning the internal queuing structure of the Wi-Fi link layer and coupling it with fine-grained, delay-sensitive rate and retransmission control, Law achieves up to an 83% improvement in 99th-percentile per-packet latency while maintaining packet loss rates below 1%. This work bridges the gap between application-layer latency demands and link-layer wireless realities without requiring modifications to upper-layer protocols.

Background

▶ Watch: Introduction and Wi-Fi latency problem overview (0:00)

To understand why Wi-Fi networks fail to deliver consistent ultra-low latency, one must examine the historical design principles of 802.11 link layers. Historically, Wi-Fi architectures were engineered to maximize aggregate throughput and ensure fair medium access across multiple competing clients. Consequently, the link layer accumulated multiple layers of abstraction, buffering, and recovery mechanisms designed to squeeze every ounce of reliability out of fluctuating wireless channels.

This legacy design manifests in three distinct architectural bottlenecks. First, the link layer suffers from redundant and decoupled queuing. Packets pass through multiple independent queues, including flow queues, software retransmission queues in the driver, and hardware queues on the network interface card (NIC). Each layer operates independently with its own scheduler, remaining entirely blind to the queues above or below it. This uncoordinated buffering introduces massive, unpredictable queuing delays.

Second, existing retransmission mechanisms are completely delay-insensitive. The 802.11 standard enforces multiple rounds of hardware retransmissions, interspersed with management intervals consisting of SIFS (Short Interframe Space), acknowledgment timeouts, DFS (Distributed Coordination Function Interframe Space), and backoff contention windows. These intervals accumulate delays of several milliseconds per retry round, leading to dozens or even hundreds of milliseconds of cumulative delay. Furthermore, when hardware queues eventually exhaust their retries, packets are pushed back up to the software driver for additional retry rounds, compounding the latency spike.

Third, rate adaptation algorithms in commercial Wi-Fi chipsets are strictly goodput-oriented and physical-channel-based. They monitor signal-to-noise ratios (SNRs) or packet error rates to select modulation and coding scheme (MCS) indices that balance throughput against packet loss. When a wireless channel degrades, the rate adaptation algorithm drops the data rate. While this prevents permanent packet loss, it dramatically exacerbates existing queue build-ups because data is transmitted more slowly precisely when the queue is deepest. The resulting queuing delay increases rapidly during channel fluctuations and decreases sluggishly due to the lack of active drop mechanisms.

Key Findings

▶ Watch: Rate adaptation limitations and real-world trace analysis (5:30)

The primary discovery presented in this work is that the Wi-Fi last hop is the dominant bottleneck for tail latency in modern networked applications, accounting for over 95% of end-to-end delay when latencies exceed 70 milliseconds.

Key findings and empirical results from the evaluation of Law include:

  • Tail Latency Reduction: Law achieves up to an 83% improvement in per-packet latency at the 99th percentile compared to traditional rate adaptation and queuing baselines.
  • Controlled Packet Loss: Despite proactively dropping delayed packets, Law maintains an overall packet loss rate of under 1%, successfully operating within the loss-tolerance thresholds of upper-layer recovery mechanisms.
  • Application-Level Gains: Tested with WebRTC streaming at 10 megabits per second and 30 frames per second over an OpenWi-Fi software-defined radio (SDR) testbed, Law reduces 99th-percentile frame delivery latency by more than 58% compared to standard baselines.
  • Unification Efficacy: Replacing multi-layered, uncoordinated queues with a unified two-packet hardware limit and centralized latency tracking completely eliminates multi-millisecond queuing black holes.

Technical Deep Dive

▶ Watch: Key insight: leveraging upper-layer loss tolerance and dropping packets (7:00)

To dismantle the architectural barriers causing Wi-Fi tail latency, Law introduces a two-step design: queuing structure reshaping and fine-grained latency-sensitive rate and retransmission joint control.

Queuing Structure Reshaping

The first component addresses the multi-layered queuing problem by drastically simplifying the buffer hierarchy. Law relocates flow queuing down into the driver layer, entirely eliminates software retry queues, and enforces a strict structural invariant at the hardware level: maintaining at most two packets in the hardware NIC queue at any given time (specifically, one packet actively transmitting and one packet queued for transmission).

This strict two-packet limit is essential for maximizing channel utilization without introducing latency. If the currently transmitting packet finishes and the hardware queue is empty when a new transmission opportunity arises, the transmission slot is wasted. Keeping exactly one packet waiting guarantees that the radio interface is never idle due to buffer starvation, while preventing the deep, uncontrolled backlogs typical of legacy architectures.

With this unified queuing structure, Law implements centralized latency management. Instead of allocating arbitrary latency sub-budgets to isolated layers (e.g., 10 milliseconds for flow queues, 10 milliseconds for driver queues, 10 milliseconds for hardware queues), Law monitors total elapsed time from packet generation. If a packet's age exceeds the pre-configured latency bound (e.g., 30 milliseconds total), the system actively drops it. This prevents the accumulation of unnecessary packet loss across decoupled layers and guarantees strict adherence to application deadlines.

Rate and Re-transmission Joint Control

The second core component of Law replaces goodput-oriented rate adaptation with a fine-grained, delay-sensitive control loop that operates on a per-transmission-opportunity basis. Rather than updating the MCS index every few packets based on long-term channel statistics, Law adjusts data rates dynamically, even altering parameters while packets reside in the hardware queue to react instantly to micro-fluctuations in wireless channel quality.

Law introduces a specialized clean-up state triggered when channel degradation begins to form queues. In this state, the framework adopts aggressive rate and retransmission settings—transmitting at higher physical rates with reduced hardware retransmission limits. This allows the link layer to rapidly flush out accumulated backlogs and eliminate latency spikes.

However, aggressive transmission during poor channel conditions risks consecutive packet losses that exceed the recovery capabilities of upper-layer error concealment algorithms. To mitigate this, Law incorporates a loss pattern control module. This module regulates the distribution of dropped packets, ensuring that losses remain isolated and well within the reconstruction capacity of upper-layer error correction mechanisms like FEC and video codec error concealment.

Experimental Setup & Results

▶ Watch: Fine-grained rate and retransmission control (10:30)

The evaluation of Law was conducted across both packet-level and application-level testbeds to measure protocol-level performance and end-to-end user experience.

Packet-Level Evaluation

  • Hardware/Framework: Implemented on OpenWi-Fi using Software Defined Radios (SDR).
  • Traffic Generation: iperf UDP sender hosted on an edge server, transmitting at a constant rate of 10 megabits per second.
  • Duration: Each test run executed continuously for over 10 minutes.
  • Baselines: Compared against three standard rate adaptation algorithms: Minstrol, RLI, and Thompson Sampling.
  • Key Metric: Per-packet latency distribution at the 99th percentile. Law demonstrated an 83% reduction in 99th-percentile latency while restricting overall packet loss to under 1%.

Application-Level Evaluation

  • Application Workload: WebRTC configured for real-time video streaming at 10 megabits per second and 30 frames per second.
  • Deployment: Sender deployed on a local edge server communicating over the OpenWi-Fi SDR link.
  • Key Metric: Frame delivery latency. Law reduced 99th-percentile frame delivery latency by more than 58% compared to baseline configurations, demonstrating tangible benefits for interactive video applications.

Practical Implications

▶ Watch: Evaluation results and application-level performance (12:30)

For infrastructure teams, network operators, and protocol designers, Law highlights a fundamental shift in how wireless systems should interact with modern applications. Traditional networking dogma treats packet loss as an unmitigated failure that must be avoided at all costs through deep buffering and aggressive retransmissions. Law demonstrates that for real-time, ultra-low latency applications, unbounded queuing delay is far more destructive than controlled packet loss.

For model builders and application developers deploying interactive AI inference, cloud gaming, or real-time communication systems over Wi-Fi, this work proves that application-layer fault tolerance (such as FEC and video codec concealment) can be actively leveraged by the lower layers of the network stack. By dropping stale packets rather than holding them, systems can eliminate head-of-line blocking and deliver deterministic latency bounds.

However, deployers must consider certain tradeoffs and limitations. Law relies on upper-layer loss tolerance; applications that assume lossless, reliable transport without built-in error concealment may experience visual artifacts or dropped states if latency bounds are set too aggressively. Furthermore, implementing modifications at the link layer and Wi-Fi driver level requires hardware programmability (such as OpenWi-Fi or open-source driver support), making immediate deployment on locked-down commercial off-the-shelf consumer routers challenging without vendor adoption.

Key Takeaways

  • The Wi-Fi last hop is the primary contributor to high tail latency in ultra-low latency applications, accounting for over 95% of end-to-end delays exceeding 70 milliseconds.
  • Legacy 802.11 link layers are optimized for throughput and fairness, utilizing uncoordinated multi-layered queues and delay-insensitive retransmissions that actively harm real-time traffic.
  • Modern ultra-low latency applications possess inherent loss tolerance, enabling a new systems design choice: actively dropping delayed packets rather than queuing them indefinitely.
  • Law introduces a unified queuing structure with a strict two-packet hardware limit and centralized latency tracking, eliminating multi-layered queuing bloat.
  • By combining fine-grained, per-transmission-opportunity rate control with loss pattern management, Law achieves up to an 83% improvement in 99th-percentile packet latency while keeping packet loss below 1%.

About the Speaker(s)

Yibin Shen is a researcher affiliated with the Hong Kong University of Science and Technology (HKUST), presenting work focused on wireless networking systems, low-latency protocol design, and link-layer optimizations for 802.11 home networks. Zili Meng is a co-author and researcher also hailing from the Hong Kong University of Science and Technology, specializing in computer networking, systems design, and transport layer optimizations.

Reviews

→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)

All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)