Abstract
We propose a software-defined testbed for Wi-Fi channel-state information (CSI) acquisition. This testbed features distributed software-defined radios (SDRs) and a custom IEEE 802.11a software stack that enables the passive collection of CSI data from commercial off-the-shelf (COTS) devices that connect to an existing Wi-Fi network. Unlike commodity Wi-Fi sniffers or channel sounders, our software-defined testbed enables a quick exploration of advanced CSI estimation algorithms in real-world scenarios from naturally-generated Wi-Fi traffic. We explore the effectiveness of two advanced algorithms that denoise CSI estimates, and we demonstrate that CSI-based positioning of COTS Wi-Fi devices with a multilayer perceptron is feasible in an indoor office/lab space in which people are moving.
Introduction: The Indoor Positioning Gap
Indoor positioning remains a significant challenge in wireless sensing because GPS signals are attenuated by building structures. While Wi-Fi signals are ubiquitous, using them for precise location tracking is difficult. Current research typically relies on either high-precision Channel Sounders, which require specialized hardware and do not work with standard Wi-Fi traffic, or Commodity Sniffers, which use standard Wi-Fi cards but offer limited resolution and "black box" algorithms that cannot be modified.
Researchers at ETH Zurich have addressed this gap by creating a flexible, software-defined middle ground. Their testbed allows for the passive collection of CSI from "naturally generated" traffic (such as a smartphone browsing the web) while providing the raw signal access needed to run advanced, custom signal-processing algorithms.
Distributed Testbed Architecture
The system consists of four distributed "sniffers" strategically placed around a room. Each sniffer unit is a high-performance node containing two USRP X410 Software-Defined Radios (SDRs) connected to an 8-antenna array and a high-end host computer. This setup allows the system to intercept and decode Wi-Fi frames at the physical (PHY) layer without interfering with the existing network.
Software-Defined Signal Processing
The core innovation of this testbed lies in its custom software stack, written in Python. This stack enables several advanced processing techniques:
- CP-Aware Denoising: By leveraging the "Cyclic Prefix" (a guard interval in Wi-Fi symbols), the system filters out noise that does not conform to the physical constraints of the wireless channel.
- All-Symbol Channel Estimation: While standard Wi-Fi chips only estimate the channel using a small preamble at the start of a packet, this testbed decodes the entire data payload. These decoded bits are then used as "virtual pilots" to re-estimate the channel across the whole packet, significantly increasing data quality.
- ML-Based Positioning: The processed CSI is fed into a Multi-Layer Perceptron (MLP) to map complex signal patterns to specific X-Y coordinates.
Experimental Evaluation
The researchers collected a substantial dataset in a 4m x 4m office/lab space to validate the system. The dataset included nearly 300,000 training datapoints and over 74,000 testing datapoints. An Apple iPhone 14 Pro, mounted on a mobile robot, served as the target device. Ground truth was established using a high-precision camera-based tracking system (WorldViz PPT), providing the "true" location of the robot to train and validate the ML model under real-world conditions, including human movement within the lab.
Key Results and Insights
The system achieved a mean positioning error of 53 cm, a significant improvement over a "best guess" baseline error of 94 cm. The 95th percentile error was 1.44 meters, demonstrating robustness despite the complexities of an indoor environment.
A key insight from the study is the effectiveness of treating decoded data bits as known training signals. By "reversing" the receiver pipeline, the entire Wi-Fi packet becomes a long reference signal, providing a much more stable and less noisy estimate of the environment than the standard preamble alone. Furthermore, the custom denoising algorithms significantly reduced the variance of the CSI magnitude, creating cleaner data for the neural network.
Conclusion and Future Work
While the current implementation is limited to the legacy 802.11a standard at 20 MHz, it proves that high-fidelity CSI acquisition and positioning are possible with software-defined infrastructure. Future work will focus on expanding support to wider bandwidths (Wi-Fi 6/7) and addressing the "orientation problem," where CSI changes drastically as a device rotates. The team also plans to explore "channel charting" to learn room geometry without requiring external ground truth systems.
Summary updated