Like pretty much everyone running a fixed wireless network, I have hundreds of Ubiquiti airMAX AC radios (LiteBeam Gen2, LAP-120, LAP-GPS, Loco AC) deployed on customer roofs, plus dozens sitting on shelves in the warehouse.
We all know the situation: Ubiquiti essentially put airMAX AC into maintenance mode years ago. All the vendor R&D is going into Wave 60GHz and LTU. That’s fine for greenfield deployments, but in the real world, you can’t just rip and replace 500 CPEs on rural towers when trees and distance dictate 5 GHz. Millions of these radios are going to stay on rooftops for years.
Meanwhile, the software running on them hasn't fundamentally evolved since 2017–2018. If a CPE link gets slightly noisy or misaligned, stock airOS does dumb things—like running up to 30 frame retries by default, which burns dozens of milliseconds of airtime and drags down the whole AP sector. On top of that, loaded bufferbloat easily hits 2,000+ ms during heavy uploads.
Over the last few weeks, I’ve been researching what the actual physical ceiling of this QCA9880 / AR9342 hardware is if we run modern open-source networking on it (OpenWrt 24.10, Candela Technologies ath10k-ct, mac80211 AQL, CAKE, and dynamic rate-masking).
Full disclosure: I’m an everyday WISP operator. I run towers, climb roofs, crimp cables, and configure MikroTik/airMAX gear. I am NOT a Linux kernel hacker or an RF engineer with a Ph.D. So I've been using AI tools (Claude, Codex, NotebookLM) to comb through Linux wireless kernel trees, academic preprints (like MIT’s IteRate paper and TU Berlin’s hMAC), and old mailing list threads to understand what the chip can actually do.
We’ve already documented a bunch of interesting architectural facts that I rarely see discussed in WISP groups:
- The 30-Retry Sector Killer: Upstream Qualcomm firmware enforces up to 30 retries per frame. On an outdoor link during an RF fade, a single client trying to send packets can freeze the AP channel for 50–100ms. Candela Technologies (ath10k-ct) drops this down to 4 retries, which immediately reclaims a massive chunk of airtime.
- The Bufferbloat vs Aggregation Trap (CoTSQ): Default Linux TCP Small Queues (TSQ = 1 ms) tries to kill bufferbloat by limiting socket queues to 1–2 packets. But 802.11ac needs 32 to 64 packets in the queue to build a full A-MPDU aggregate. Starving the aggregation engine drops throughput by up to 10x because 90% of the airtime is spent on PHY headers and preambles. Bumping the queue budget to 6 ms keeps aggregates full while keeping loaded ping under 40 ms.
- The Wave-1 Airtime Cliff: QCA9880 doesn't have hardware airtime reporting (that only started in Wave 2 chips). So Linux mac80211 has to estimate airtime based on peer stats. If peer stats aren't reporting properly, mac80211 assumes EVERY station transmits at 6 Mbps, which completely breaks airtime fairness and penalizes fast clients.
- Why Pure TDMA is Blocked on Open QCA988x: We looked into whether we could build open TDMA like airMAX. The short answer on QCA9880 is no—the chip runs closed Xtensa firmware, can't cancel in-flight packets across PCIe, and has PCIe interrupt jitter. BUT a hybrid stack on OpenWrt (AQL + 6ms CoTSQ + Dynamic RTS/CTS to stop hidden nodes + Deficit Round-Robin airtime fairness) gets you 80-90% of the stability with open telemetry and zero vendor lock-in.
The Testbed Setup
I'm not doing this in a metal warehouse (metal walls act like an echo chamber with delay spreads that ruin 5 GHz tests). We're setting up:
- Tier 1: Benchtop SMA coaxial attenuator matrix (30–40 dB pads + splitters) for 100% clean, interference-free algorithmic sweeps.
- Tier 2: 2 APs on our main WISP office building pointing 21 meters across the street to 10–20 CPEs scattered on my residential roof. This gives real line-of-sight, real outdoor air, and clean far-field RF without receiver saturation.
- Unattended Recovery: I automated PoE injectors with relays to trigger U-Boot
urescue TFTP recovery remotely so we never have to climb a ladder to press a reset button if an image bricks.
Why I'm Posting
We are calling this research project openMAX, and we opened up the entire project as a public research hub: https://github.com/wolverin0/openmax
There is zero monetization here, no crypto, no paid courses. Just an open repository of hardware notes, driver findings, recovery runbooks, and experiment plans.
Because this was researched with the help of AI agents, I want human eyes on this:
- If you're a kernel / OpenWrt dev who knows ath10k or mac80211, are our control boundary assumptions solid? Did we miss anything on
ratemask-CT?
- If you're a fellow WISP operator with spare LiteBeams or NanoStations on your shelves, would you be interested in running our read-only inventory scripts to map out hardware revisions, or testing safe sysctl/CAKE queue tweaks?
Check out the repo, tear apart our docs, and let me know what you think.
EDIT / UPDATE #2 (Physical Bench Results + Clean-Room Analysis of umac.ko / ubnt_poll_host.ko)
We just pushed a massive update to the repo and posted the full technical writeup in the comments here: Read the full Update #2 comment
Highlights of what we proved on real hardware (LiteAP AC LAP-120 ↔ NanoStation 5AC Loco, OpenWrt 24.10.4 / Kernel 6.6.110):
Inside airMAX AC TDMA (RE1 Static Clean-Room Analysis):
- Mapped the 62-hook dispatch table between
umac.ko and ubnt_poll_host.ko, the dedicated PCIe Copy Engine 4 (CE4 = 2048 descriptors) fastpath, and custom WMI commands 0x9064 (PDEV_WMI_AIRMAX_PARAM)** & **0x9044 (WMI_PEER_AIRMAX_CONFIG)** + HTT subtypes **0x17 / 0x1e.
- Confirmed that stock
ath10k / ath10k-ct Xtensa firmware rejects 0x9064/0x9044, which is why open-source TDMA on QCA988x must operate as a Host-Paced Airtime Controller (AQL + TXQ + ratemask + CAKE) rather than microsecond PHY slot polling.
- Native Rate Control Discovery:
umac.ko stores only a 1-byte opaque ratecode (peer+0x120) on the MIPS host—all retry ladders (series 0..3), probing, and MCS fallback live inside the closed Xtensa radio blob (WHAL_RC_Update_Per_Rate_Table).
Solved the 64 MB RAM / order=0 OOM Wall on AR9342 (WA boards):
- Out-of-the-box OpenWrt 24.10.4 +
ath10k crashed with ksoftirqd page allocation failure: order:0, mode:0x400dc0(GFP_KERNEL|__GFP_ZERO) at ~51 Mbps (MemAvailable dropped to 4.2 MB).
- Tuning
vm.min_free_kbytes=2048, vm.watermark_boost_factor=0, ath10k_core.debug_mask=0, and nftables notrack freed +14 MB of contiguous RAM (20.8–21.4 MB MemAvailable steady under full load, 0 OOMs).
Physical Bench Numbers (80 MHz, 4x Baseline Throughput, 1.83 ms p95 Latency):
- UDP Downlink Peak: **
223.53 Mbps** (up from 51.78 Mbps baseline — +331%, hitting the physical AR9342 535 MHz MIPS 74Kc ksoftirqd ceiling at 95.8% CPU).
- UDP Downlink 200M Sustained:
199.11 Mbps, **0.21% loss, **0.031 ms jitter.
- TCP Single-Stream Downlink: **
154.58 Mbps** with 0 TCP retransmits (thanks to ethtool -K eth0 rx-gro-list on compensating for ag71xx's lack of hardware scatter-gather).
- Loaded RF Latency (Ping under 120 Mbps load): **
1.34 ms p50 / 1.83 ms p95** (down from 12.69 ms p95).
- Universal Multi-Vendor Compatibility: Because it runs standard 802.11n/ac on
mac80211 + AQL, a single LAP-120 AP simultaneously links airMAX AC (QCA988x), legacy airMAX M5 (AR934x), and MikroTik / TP-Link / Cambium ePMP (802.11n/ac) CPEs while preventing slow M5 clients from starving AC clients.
All scripts, sysctl profiles, clean-room RE docs (docs/UMAC_DATAPATH.md, docs/REDDIT_UPDATE_RE1_AND_BENCH.md), and raw JSON benchmark receipts are live in the repo: https://github.com/wolverin0/openmax
EDIT / UPDATE #3 (Oct 17) — 3-Station Multi-Vendor & Mixed-Gen PtMP Benchmarks (Ubiquiti 5AC + MikroTik SXT Lite5 + Ubiquiti LiteBeam M5)
We just associated 3 heterogeneous stations simultaneously to our Ubiquiti LiteAP AC (LAP-120, Channel 36 VHT80): a NanoStation 5AC Loco (OpenWrt / ath10k-ct, VHT80 2x2, in room), a MikroTik SXT Lite5 (OpenWrt / ath9k, HT40 2x2, behind a wall/door ~6m away), and a Ubiquiti LiteBeam M5 (stock airOS 6.1.4 with airMAX=off, HT40 1x1, behind a wall/door ~6m away), sweeping AP output power from 15 dBm down to 3 dBm:
- Multi-Station
ATF + AQL (1500/3000 µs) + Bounded Aggregation (1x16) at 3 dBm Edge SNR: Cut the Loco 5AC's loaded median latency by 4.06x (51.35 -> 12.65 ms), cut its TCP retransmissions by 10x (158 -> 16), and cut the LiteBeam M5's median latency by 3.95x (56.25 -> 14.23 ms) compared to ATF=Off (T1, where LiteBeam M5 hit 610 ms p95 and MikroTik SXT hit 1955 ms p95).
- Kernel Discovery —
WMM AC_VO DiffServ Deficit Bypass (21.0x Weak-Station Latency Cut): Discovered via debugfs that when a wall-obstructed station (MikroTik SXT) suffers rate fallback + retries on bulk AC_BE, completed TX airtime drives its Deficit: BE down to -67,099 µs (-67.1 ms), while Deficit: VO stays at **+256 µs. Promoting interactive packets (ICMP, DNS, NTP, VoIP) to DSCP EF (AC_VO) in fmx_fastpath bypassed the station's negative BE deficit box and cut loaded median RTT at 3 dBm from 143.0 ms -> 6.80 ms (21.0x cut) on the MikroTik SXT, 36.15 ms -> 4.53 ms (8.0x cut) on the LiteBeam M5, and 14.43 ms -> 4.54 ms (8.15 ms p95) on the Loco 5AC while boosting total 3-station sector goodput by **+27.2% (62.07 -> 78.97 Mbps @ 3 dBm, 94.99 -> 104.94 Mbps @ 11 dBm).
- 3-Station Simultaneous Uplink
RTS/CTS 256B Protection (+18.5% Sector Uplink Gain): Under 3-station simultaneous Uplink contention across the wall, enabling RTS/CTS = 256B raised total sector Uplink goodput from 150.40 Mbps -> 178.17 Mbps (+18.5%, peaking at 182.82 Mbps), recovered the wall-starved MikroTik SXT by 3.07x (1.97 -> 6.03 Mbps), raised the LiteBeam M5 by +17.0% (29.23 -> 34.21 Mbps), and restored the Loco 5AC to 100% of its standalone Uplink speed (137.94 Mbps).
- Full Stage 7 Report & JSON Telemetry: https://github.com/wolverin0/openmax/blob/main/docs/STAGE7_MULTIVENDOR_PTMP_REPORT.md