How hard is it to bring an OpenWrt device into OpenWiFi?

the question

OpenWiFi, the open-source Wi-Fi stack from the Telecom Infra Project, lets operators run access points from different vendors under one open cloud controller. It’s built on OpenWrt, which already supports a long list of access points, and that raises an obvious question for operators and vendors alike: if a device already runs OpenWrt, how much work is left before it runs OpenWiFi?

We wanted a real answer rather than an estimate, so we ported a device ourselves.

why the WAX610

The NETGEAR WAX610 is a Wi-Fi 6 (AX1800) access point built on Qualcomm’s IPQ6018, with 512 MB of RAM, 128 MB of NAND flash and a single 2.5G PoE port, normally managed through NETGEAR’s own Insight cloud. It’s a well-known device, OpenWrt already supports it, and we had one on hand, which made it a fair test case: a mainstream access point from a major vendor, with nothing chosen to make the result look easy.

what the port involved

The port came to about 350 lines across 12 files on top of the OpenWiFi access point tree, and took a few days. It covers everything OpenWiFi needs to know about a device: the hardware description, taken from the vendor firmware and cross-checked against OpenWrt’s existing support; Wi-Fi board data and per-unit calibration; the network port and radio MAC addresses; the LEDs; and the firmware images.

Two of those deserve a mention. The factory image is packaged in the vendor’s own upgrade format, so the WAX610 can be switched to OpenWiFi straight from its stock web interface, without opening the case or using a serial console. And upgrades write to the inactive firmware bank and flip the boot bank, with a boot counter that keeps a healthy image from being swapped out.

Most of it was quick precisely because OpenWrt had already done the hard groundwork. The hardware support was there, the ath11k Wi-Fi driver is in mainline Linux, and the remaining work was mainly connecting existing pieces to OpenWiFi’s expectations.

the hardest part: certificates

OpenWiFi devices identify themselves to the controller with device certificates, so those certificates have to survive everything the device goes through, including firmware upgrades. The WAX610 has no dedicated partition for them: they live alongside the firmware, in one of its two firmware banks, and every upgrade switches to the other bank. Making OpenWiFi find its certificates again after each switch took more care than the rest of the port, because getting it wrong leaves an access point that upgrades successfully and then can no longer authenticate to its controller.

where it stands

The port has been tested on real hardware: it installs from the vendor web interface and boots straight into OpenWiFi, the 2.5G port links at full speed, both radios come up, including DFS channels and country changes, and upgrades work from each firmware bank to the other and back. The certificates survive upgrades in both directions and the device keeps authenticating to the controller, and about 30 OpenWiFi configurations, from up to 300 SSIDs and every encryption mode to 12 VLANs and deliberately invalid input, were applied without a crash, reboot or loss of service.

It has been submitted upstream to the Telecom Infra Project, so that every OpenWiFi operator can use it. The next step is broader testing with real clients and throughput measurements.

what it means for other devices

The WAX610 took a few days because most of the work had already been done in the open. That’s the general answer: how hard a port is comes down to how much support for the device already exists in open projects.

A device that OpenWrt already supports, with Wi-Fi drivers in mainline Linux, is a short and well-scoped job. A device that needs vendor-only drivers, closed board data or a custom boot process is a much bigger one, and the effort grows with every piece that has to be built or reverse-engineered first. Vendor-specific details such as dual firmware banks, certificate storage or factory image formats are where the surprises tend to be, even on easy devices. Even close variants can differ: the WAX610Y, which the same vendor interface accepts, needs different board data and isn’t covered by this port.

what it took

Porting firmware is part development and part judgement: knowing which pieces already exist upstream, which need to be written, and where a device’s quirks will cause trouble later. We work across OpenWrt, the Linux wireless stack and its drivers every day, which is what turned a question into a working, upstream-ready answer in a few days.

if this sounds familiar

If you’re an operator who wants a particular access point in OpenWiFi, or a vendor who wants your hardware there, we can tell you how much work it involves and do it.

Just book a call and let’s discuss.

More about our wireless and mesh work · Our open-source contributions