ComputingComputer EngineeringComputer ScienceEmbedded SystemsMobile ComputingMobile SystemsEnergy-efficient Mobile ComputingFirmware DevelopmentKernel OffloadingMobile Device ArchitectureWireless NetworksCompressionDevice FirmwareFirmware DesignFirmware ModificationFirmware TestingReal-time Firmware DevelopmentReal-time Processor DesignSmartphones
The most widespread Wi-Fi enabled devices are smartphones. They are mobile, close to people and available in large quantities, which makes them perfect candidates for real-world wireless testbeds. Unfortunately, most smartphones contain closed-source FullMAC Wi-Fi chips that hinder the modification of lower-layer Wi-Fi mechanisms and the implementation of new algorithms. To enable researchers' access to lower-layer frame processing and advanced physical-layer functionalities on Broadcom Wi-Fi chips, we developed the Nexmon firmware patching framework. It allows users to create firmware modifications for embedded ARM processors using C code and to change the behavior of Broadcom's real-time processor using Assembly. Currently, our framework supports five Broadcom chips available in smartphones and Raspberry Pis. Our example patches enable monitor mode, frame injection, handling of ioctls, ucode compression and flashpatches. In a simple ping offloading example, we demonstrate how handling pings in firmware reduces power consumption by up to 165 mW and is nine times faster than in the kernel on a Nexus 5. Using Nexmon, researchers can unleash the full capabilities of off-the-shelf Wi-Fi devices.
7
Jakob Eriksson, Hari Balakrishnan, Samuel Madden · 2008 · 419 citations
Wireless MAC processors: Programming MAC protocols on commodity Hardware
Ilenia Tinnirello, Giuseppe Bianchi, Pierluigi Gallo et al. · 2012 · 124 citations
Maranello: practical partial packet recovery for 802.11
Bo Han, Aaron Schulman, Francesco Gringoli et al. · 2010 · 91 citations
Matthias Schulz, Daniel Wegemer, Matthias Hollick · 2017 · 77 citations