Fresh-Fi: Enhancing Information Freshness in Commodity WiFi Systems via Customizing Lower Layers

Zixiao Han,Qian Wang,He Chen
2023-06-15
Abstract:Enhancing information freshness in wireless networks has gained significant attention in recent years. To optimize or analyze information freshness, which is often characterized by the age of information (AoI) metric, extensive theoretical studies have been conducted on various wireless networks. Early research has demonstrated the significance of last-come-first-served (LCFS) packet scheduling and controlled status sampling (i.e., packet generation) in improving information freshness. These mechanisms have been widely adopted in subsequent studies. However, the effective implementation of these mechanisms in commercial off-the-shelf (COTS) wireless devices has not been thoroughly investigated, which could limit the practical application of information freshness-oriented protocols in real-world systems. Our work aims to address the gap by exploring the effective implementation of the information freshness-oriented mechanisms mentioned above in COTS WiFi devices that use the Linux operating system. Our attempts reveal that implementing these mechanisms in COTS systems is not a straightforward task. Specifically, we found that the physical layer queue of WiFi devices operates on a first-come-first-served (FCFS) basis, and the packet generation process cannot be precisely controlled by default. To overcome these challenges, we develop Fresh-Fi, an information freshness-oriented protocol stack that involves careful customization to the lower layers of the Linux networking protocol stack. Fresh-Fi mainly incorporates a mac80211 subsystem-based LCFS queue and a real-time kernel-based cross-layer tunnel between the mac80211 subsystem and the application layer for triggered packet generation.
Networking and Internet Architecture,Information Theory
What problem does this paper attempt to address?
The problem that this paper attempts to solve is to improve information freshness in commercial off - the - shelf (COTS) WiFi devices, specifically by optimizing the information freshness metric - Age of Information (AoI). Although in theoretical research, the effectiveness of the Last - Come - First - Served (LCFS) queue strategy and the active state sampling strategy for improving AoI has been proven, the implementation and evaluation of these mechanisms in actual COTS communication systems are relatively limited. This is because the standard Linux network protocol stack uses the First - Come - First - Served (FCFS) queue mechanism by default and cannot precisely control the packet generation process, which becomes a bottleneck for further improving AoI performance. To bridge this gap, the paper introduces Fresh - Fi, a customized protocol stack designed to enhance the AoI performance of COTS WiFi systems by modifying the Linux network protocol stack. Fresh - Fi mainly consists of two components: 1. **LCFS Queue Based on the mac80211 Subsystem**: This queue gives priority to state - update transmissions, ensuring that the latest state - update can be transmitted first. 2. **Cross - Layer Tunnel Based on the Real - Time Kernel**: This tunnel is designed to deliver transmission - completion notifications between the mac80211 subsystem and the application layer in order to schedule the generation of the next state - update. Through these two components, Fresh - Fi can be compatible with any WiFi network interface card supported by the Linux mac80211 subsystem without touching the driver layer. Experimental results show that, compared with the basic design using the standard User Datagram Protocol (UDP) to transmit state - updates, Fresh - Fi improves AoI performance by more than 20 times; compared with the design relying on the application - layer LCFS queue and the destination - based polling mechanism, Fresh - Fi improves AoI performance by more than 13 times. In conclusion, the main objective of this paper is to significantly improve information freshness, especially in time - sensitive application scenarios, by customizing the underlying protocol stack of COTS WiFi devices.