wmeshd
OPEN-SOURCE WI-FI MESH · cameshd SPAN 5900-7100 MHz REF 02:03:7F:12:CD:CE

CyberAntennas AI-Powered Wi-Fi Mesh

An adaptive Wi-Fi mesh protocol built for secure wireless networking. On Qualcomm QSDK routers, cameshd uses deterministic rules to recover links and learns from their decisions on device. AI predictions are advisory. On a 160 MHz Wi-Fi 7 link, a dedicated 4×4 T2 client sustained 2.11 Gbit/s each way in separate eight-second paced TCP runs, with loaded p95 round-trip latency under 8.3 ms in both directions. Client measurements.

LOCK 6595 MHz·160 MHz·802.11be / EHT·WPA3-SAE
Backhaul band
6GHz
160 MHz · ch 129
Control plane
GoGPL-3.0
no cgo · one binary
/ BENCH

Protocol performance

Measured on the IPQ9574 (Cortex-A73 × 4, 2.2 GHz).
Link scorer
15ns
0 alloc · int32 only
Rule detector
25ns
6 rules · 0 alloc
Feature extract
128ns
17 features · Q8.8
NN inference
1.07µs
17→16→8→3 MLP
Full assess
1.27µs
rules + NN pipeline
Model weight
902B
451 params · int16
Zero heap allocation on all hot paths No floating point — deterministic across all 8 architectures 1.27 µs for rules and the original 902-byte predictor on T2
/ MODEL

902 bytes in motion

17 → 16 → 8 → 3 MLP · int16 Q8.8 · 451 params
FIG. · Forward pass902 B · 451 params · 1.07 µs on Cortex-A73

A single forward pass through the link-quality predictor. Each circle is a neuron; fill intensity encodes the Q8.8 activation. Data flows from 17 RF features through two hidden layers to 3 output classes. The animation loops continuously — each pass is 1.07 µs on the production hardware, with zero heap allocations and no floating point. The v0.1.0 T2 release uses deterministic rules; NN decisions are disabled until the driver supplies the required duration counters.

/ SIMULATION

Roaming and hop latency

Illustrative model · adjustable inputs · no field roaming claim
FIG. · Client moves from root to relayDeterministic model · motion slowed for visibility
6 GHz backhaul · model link ROOT RELAY access point A access point B CLIENT PATH → Root path · 1 wireless hop

How to read this: the client uses a one-hop path to the root, then a two-hop path through the relay. Move the controls to see how assumed per-hop delay and handoff pause affect the model. The values are synthetic; this release has not measured client roaming, multi-hop latency or packet loss during handoff on T2 hardware. A separate reproducible packet-path model explores finite queues and a buffered handoff.

/ 02

What the protocol does

Deterministic link scoring runs on configured T2 routers. The tiny AI predictor is benchmarked for research and disabled in the T2 release until its required RF inputs are available.

01 · QUALITY

Per-link scoring

Composite link score from SNR, TX rate, channel load and retry ratio. Integer-only, 15 ns on the IPQ9574. Hysteresis prevents flapping between similar links.

15 ns · 0 alloc
02 · PREDICT

NN link predictor

The original 902-byte predictor took 1.07 µs on T2. In the release candidate, a separate 1,302-byte model learns from each peer’s deterministic link-health decisions.

Experimental on T2
03 · REACT

Urgent announce

When a rule fires, the agent sends an urgent announce. The controller queries immediately — cutting reaction from 1,750 ms to under 50 ms.

< 50 ms reaction
/ 03

Link quality intelligence

The daemon reads available nl80211 station and survey data from the kernel every two seconds. Deterministic rules use link signal, rates, retries and activity; the optional neural model expects 17 features, including duration counters absent from the current T2 driver feed.

  • ✓Composite link score uses available SNR, rate, channel and retry observations.
  • ✓6 deterministic rules catch hard faults: RSSI drop, retry spike, MCS collapse, silence.
  • ✓Integer-only MLP benchmarked for ambiguous states; disabled in the T2 release pending input validation.
Full method in the paper
/ 04

Self-healing protocol

Challenge-bound failure detection: the controller dates each sign of life by the challenge it issued, not by when the response arrived. Replay, delay and flooding cannot keep a dead node alive.

The protocol separates detection from recovery. A hard-fault rule can trigger an urgent announce instead of waiting for the next two-second tick. Earlier pilot tests measured fast single-link reconnection; proactive steering and multi-link fault survival still need field qualification.

  • ✓Challenge-bound authentication: replay and flooding cannot keep a dead node alive.
  • ✓Score hysteresis reduces unnecessary handovers in the control logic.
  • ✓Link back in 0.4 s, traffic flowing in 1.6 s after a forced disconnect.

Recovery times are from earlier single-link hardware trials, not a v0.1.0 multi-link failover guarantee. Detection thresholds are configurable.

/ 05

Proven on hardware

Earlier IPQ9574 pilot measurements on a 160 MHz 6 GHz link, alongside the current scoped v0.1.0 traffic proof above. Recovery is compared against published specification targets.

FIG. A · Earlier pilot throughput0 failed · 0 dropped · 0 TCP retransmits
0500100015002000leaf → root · TCP×1leaf -> root, TCP 1 stream(s): 1,334 Mbit/s, 2.06% of frames retried, 0 failed or dropped1,334root → leaf · TCP×1root -> leaf, TCP 1 stream(s): 1,273 Mbit/s, 4.0% of frames retried, 0 failed or dropped1,273leaf → root · TCP×4leaf -> root, TCP 4 stream(s): 1,329 Mbit/s, 2.68% of frames retried, 0 failed or dropped1,329root → leaf · TCP×4root -> leaf, TCP 4 stream(s): 1,483 Mbit/s, 4.51% of frames retried, 0 failed or dropped1,483leaf → root · TCP×8leaf -> root, TCP 8 stream(s): 1,416 Mbit/s, 2.12% of frames retried, 0 failed or dropped1,416root → leaf · TCP×8root -> leaf, TCP 8 stream(s): 1,568 Mbit/s, 4.71% of frames retried, 0 failed or dropped1,568leaf → root · UDP×4leaf -> root, UDP 4 stream(s): 1,286 Mbit/s, 2.07% of frames retried, 0 failed or dropped1,286leaf → rootroot → leafMbit/s · 20 s per run · iperf3 on the routers themselves
FIG. B · Recovery comparisonwmeshd measured vs. specification targets
0510152025EasyMesh spec (Wi-Fi)EasyMesh specification target: <10 s Wi-Fi backhaul switchover< 10 sEasyMesh spec (multi-hop)EasyMesh specification target: <15 s multi-hop switchover< 15 sCisco enterprise (Std)Cisco Catalyst 9800 Standard convergence: 21 s21 sCisco enterprise (Fast)Cisco Catalyst 9800 Very Fast convergence: 4 s4 swmeshd link recoveryWantasticMesh measured: link back in 0.4 s after deauthentication0.4 swmeshd traffic recoveryWantasticMesh measured: traffic flowing in 1.6 s after deauthentication1.6 swmeshd (measured on hardware)specification target or vendor documentationseconds · lower is better · sources: Wi-Fi EasyMesh Specification v6.1, Cisco IOS XE 17.12

Repair times on real radios matched the simulated predictions within measurement tolerance. The hardware also exposed a defect invisible to simulation: the driver's power-save mode held frames for up to 115 ms while the standard interface reported power save off. The daemon now disables power save on the backhaul station at link formation.

  • ✓Every frame delivered: none failed, dropped or corrupted in any run.
  • ✓The throughput ceiling remains under investigation; loaded QSDK TDMA counters show zero queue drops in one run.
  • ✓The production wireless configuration was left byte-for-byte unchanged.

Two nodes, one clean link, a handful of trials each. More nodes, more hops and traffic from outside the routers are the next measurements.

In an earlier experimental T2 pilot, two 6 GHz radios joined one 802.11be multi-link association and shared traffic across both links. Eight TCP streams reached 2,872 Mbit/s in that setup; a single stream showed no gain. Multi-link operation is outside the v0.1.0 supported profile.

  • ✓Built at run time: the vendor's own configuration path failed and took the 6 GHz networks down with it.
  • ✓Each link scans only its own channel: rejoin fell from 1.75 s to 0.53 s.
  • ✓The controller sees both backhaul radios and measures both links.

Open limitations: the multi-link access point is provisioned outside the daemon and does not survive losing one of its links; four fault cases were not run; failover from a wired uplink to the mesh was attempted once and did not succeed.

A later guarded 320 MHz trial associated but did not reach 2 Gbit/s and then lost the station. The validated release remains on 160 MHz.

/ 06

System plates

Controller and agents over a challenge-bound overlay on the 6 GHz backhaul.

PLATE A · Mesh topologycontroller · agents · 6 GHz backhaul
ROOT / CONTROLLER LEAF / AGENT WAN Upstream wmeshd Controller · root AP 6 GHz 802.11be radio wmeshd Agent · leaf STA 6 GHz 802.11be radio Wi-Fi clients Leaf fronthaul Challenge-bound Policy and telemetry Challenge-bound Report and status Wi-Fi backhaul 6 GHz 802.11be backhaul Challenge-bound control path Illustrative · device roles and active links require readback WAN Upstream wmeshd Controller · root AP 6 GHz 802.11be radio Challenge-bound Policy and telemetry 6 GHz backhaul wmeshd Agent · leaf STA 6 GHz 802.11be radio Challenge-bound Report and status Wi-Fi clients Leaf fronthaul 6 GHz 802.11be backhaul Challenge-bound control Illustrative · links require readback
PLATE B · Sector patterndirectional backhaul coverage

Multi-node coverage. The protocol scores each link by SNR, rate and channel load. When a sector antenna covers multiple agents, the scorer ranks all visible links and steers traffic to the strongest — switching in 15 ns when a better path appears.

PLATE C · Grid spreadhigh-gain point-to-point link

Long-range backhaul. A high-gain grid focuses energy into a narrow beam — the protocol monitors this link at every 2 s tick, extracting 17 RF features. If the NN detects degradation before the rules fire, an urgent announce triggers re-evaluation in under 50 ms.

/ 07

The hardware

A tri-band QSDK access point. wmeshd runs on it as a single Go binary.

LIVE 3D · DRAG TO ROTATE

T2 Relay

The reference hardware for the stable v0.1.0 two-node single-link profile and earlier pilot measurements. The release was installed additively, with the production wireless configuration preserved.

Platform
QSDK · OpenWrt · aarch64
Radios
2.4 / 5 / 6 GHz · MLO
Backhaul
6 GHz · 160 MHz · Wi-Fi 7
Control plane
wmeshd · pure Go · GPL-3.0
/ 08

Deploy your mesh

Need an open-source Wi-Fi 7 backhaul for QSDK T2? Explore the measured two-node profile or discuss a supported deployment.

The installer verifies and installs the v0.1.0 ARM64 package; an operator then configures the nodes and enables the service. AI prediction, MLO, roaming and wired failover remain experimental. For T2 Relay hardware, visit the CyberAntennas store ↗.

For demo access, technical questions, or deployment inquiries, submit the form. We respond within two business days.

Loading documentation…