skip to main content
10.1145/3131473.3131476acmconferencesArticle/Chapter ViewAbstractPublication PagesmobicomConference Proceedingsconference-collections
research-article

Nexmon: Build Your Own Wi-Fi Testbeds With Low-Level MAC and PHY-Access Using Firmware Patches on Off-the-Shelf Mobile Devices

Published:20 October 2017Publication History

ABSTRACT

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.

References

  1. Mango Communications. 2017. WARP Project. (2017). http://warpproject.orgGoogle ScholarGoogle Scholar
  2. Jakob Eriksson, Hari Balakrishnan, and Samuel Madden. 2008. Cabernet: vehicular content delivery using WiFi. Proc. of the 14th International Conference on Mobile Computing and Networking (MobiCom). ACM, San Francisco, California, USA, 199--210. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Francesco Gringoli and Lorenzo Nava. 2009. OpenFWWF: Open FirmWare for WiFi networks. (2009). http://netweb.ing.unibs.it/ openfwwf/Google ScholarGoogle Scholar
  4. Bo Han, Aaron Schulman, Francesco Gringoli, Neil Spring, Bobby Bhattacharjee, Lorenzo Nava, Lusheng Ji, Seungjoon Lee, and Robert R. Miller. 2010. Maranello: Practical Partial Packet Recovery for 802.11. Proc. of the 14th USENIX Symposium on Networked Systems Design and Implementation (NSDI). USENIX Association, 205--218.Google ScholarGoogle Scholar
  5. Samer S. Hanna, Arsany Guirguis, Mahmoud A. Mahdi, Yaser A. El-Nakieb, Mahmoud Alaa Eldin, and Dina M. Saber. 2016. CRC: Collaborative Research and Teaching Testbed for Wireless Communications and Networks Proc. of the 10th ACM International Workshop on Wireless Network Testbeds, Experimental Evaluation, and Characterization (Wintech). ACM, New York, New York, USA, 73--80.Google ScholarGoogle Scholar
  6. Justus Hoffmann. 2016. Implementing a Mesh-Routing-Protokoll in the BCM4339 WiFi Chip. Diploma thesis. Technische Universität Darmstadt, Germany.Google ScholarGoogle Scholar
  7. P.W. Katz. 1991. String searcher, and compressor using same. (Sept. 24. 1991). https://www.google.com/patents/US5051745 US Patent 5,051,745.Google ScholarGoogle Scholar
  8. Michael Koch. 2016. Reactive, Smartphone-based Jammer for IEEE 802.11 Networks. Master's thesis. Technische Universität Darmstadt, Germany.Google ScholarGoogle Scholar
  9. Katerina Pechlivanidou, Kostas Katsalis, Ioannis Igoumenos, Dimitrios Katsaros, Thanasis Korakis, and Leandros Tassiulas. 2014. NITOS testbed: A cloud based wireless experimentation facility Proc. of the 26th International Teletraffic Congress (ITC). IEEE, Karlskrona, Sweden, 1--6.Google ScholarGoogle Scholar
  10. Matthias Schulz, Francesco Gringoli, Daniel Steinmetzer, Michael Koch, and Matthias Hollick. 2017. Massive Reactive Smartphone-Based Jamming using Arbitrary Waveforms and Adaptive Power Control Proc. of the ACM Conference on Security and Privacy in Wireless & Mobile Networks (WiSec) 2017. Boston, USA.Google ScholarGoogle Scholar
  11. Matthias Schulz, Denny Stohr, Stefan Wilk, Benedikt Rudolph, Wolfgang Effelsberg, and Matthias Hollick. 2015. APP and PHY in Harmony: A Framework Enabling Flexible Physical Layer Processing to Address Application Requirements. In Proc. of the International Conference on Networked Systems (NetSys). IEEE, Cottbus, Germany. Google ScholarGoogle ScholarCross RefCross Ref
  12. Matthias Schulz, Daniel Wegemer, and Matthias Hollick. 2017. Nexmon: The C-based Firmware Patching Framework. (2017). https://nexmon.orgGoogle ScholarGoogle ScholarDigital LibraryDigital Library
  13. Ilenia Tinnirello, Giuseppe Bianchi, Pierluigi Gallo, Domenico Garlisi, Francesco Giuliano, and Francesco Gringoli. 2012. Wireless MAC processors: Programming MAC protocols on commodity Hardware Proc. of the 31st International Conference on Computer Communications (INFOCOM). IEEE, Orlando, FL, USA.Google ScholarGoogle Scholar

Index Terms

  1. Nexmon: Build Your Own Wi-Fi Testbeds With Low-Level MAC and PHY-Access Using Firmware Patches on Off-the-Shelf Mobile Devices

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in
            • Published in

              cover image ACM Conferences
              WiNTECH '17: Proceedings of the 11th Workshop on Wireless Network Testbeds, Experimental evaluation & CHaracterization
              October 2017
              114 pages
              ISBN:9781450351478
              DOI:10.1145/3131473

              Copyright © 2017 ACM

              Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 20 October 2017

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • research-article

              Acceptance Rates

              WiNTECH '17 Paper Acceptance Rate11of16submissions,69%Overall Acceptance Rate63of100submissions,63%

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader