Files
ruvnet--RuView/firmware/privshield/openwrt/README.md
T
Claude 1c2b383075 docs(privshield): rebrand project to "WiFi Veil"
Adopt "WiFi Veil" as the product name across all user-facing surfaces, keeping
VEIL (Verifiable Emission-shaping for Identity-Leakage prevention) as the
technical codename it's built on. Only prose, titles, descriptions, and the
console UI change — no code identifiers, file names, crate/npm `name` fields,
or the deterministic proof witness are touched, so `cargo test` and the C-core
host test are unaffected.

- Crate & research READMEs: title + defining line now "WiFi Veil (codename VEIL — …)".
- Cargo.toml / package.json / plugin.json descriptions: "WiFi Veil …".
- Console UI (veil-console.html): title, brand, and copy say "WiFi Veil".
- Firmware tree (README, per-provider READMEs, BUILD/INTEGRATION/MEASUREMENT):
  "WiFi Veil protector/core/shield".
- Harness manifest: recomputed SHA-256 digests for the four changed packaged
  files (README, package.json, CLAUDE.md, plugin.json) — all verified consistent.

Co-Authored-By: claude-flow <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01WEXNqzs7UsfNFBcP5yW21p
2026-08-09 16:52:40 +00:00

6.9 KiB

WiFi Veil — OpenWRT / Linux mac80211 adapter

STATUS: SYNTHETIC / L0 — BUILD-ONLY, UNTESTED ON HARDWARE. No radio was driven, no CSI captured, no log produced on silicon. Every claim below is a design/feasibility statement, not a MEASURED result. This adapter uses compliant waveform controls only — it never jams and emits no denial energy.

This directory is the OpenWRT/mac80211 platform adapter for the WiFi Veil privacy shield. It links the validated portable core (../core/veil_shield.{h,c} — the keyed Givens rotation over the identity-bearing "fine" subspace of 802.11 compressed beamforming feedback) and drives the subset of controls that Linux userspace/mac80211 can actually reach on commodity APs.


Feasibility grade: C (partial — coarse compliant controls only)

Why C, not higher. WiFi Veil's defining action is a per-packet keyed unitary on the compressed beamforming-feedback angles (equivalently, a keyed Q on the LTF spatial mapping / precoder). On every mainstream OpenWRT AP chipset (Qualcomm ath10k/ath11k/ath12k, MediaTek mt76 / mt7915), that report is generated and the precoder applied inside the WiFi MCU firmware blob — userspace and the open driver never touch the pre-transmit V matrix. So the full keyed-rotation path is blob-blocked from OpenWRT. What remains reachable is a set of coarse compliant knobs that perturb, but do not cryptographically obfuscate, the CSI a sensor observes. That is a real, honest defense-in-depth layer — hence C, not D — but it is not the full WiFi Veil transform.

Why not D. Some controls genuinely work from userspace (TX antenna map; hostapd-mediated sounding/beamformer capability), and one chipset family (ath9k) is open enough at the register level that a driver patch could reach the static spatial-mapping matrix — a credible route to B on that specific, older hardware. openwifi (FPGA) and Nexmon (Broadcom) are the routes to the full A-grade keyed rotation, but those are separate adapters, not OpenWRT.


What is FEASIBLE vs. BLOB-BLOCKED from OpenWRT

WiFi Veil control Reachable from OpenWRT? Mechanism (real API / knob) Notes
TX antenna-map perturbation Feasible NL80211_CMD_SET_WIPHY + NL80211_ATTR_WIPHY_ANTENNA_TX / _RX Coarse static spatial-mapping change. Many drivers require phy DOWN and symmetric masks. Compliant.
NDP sounding-cadence jitter 🟡 Indirect hostapd ctrl_iface (rewrite SOUNDING-DIMENSION, toggle [SU-BEAMFORMER], RECONFIGURE) No nl80211 "set sounding interval" exists; the per-NDP timer lives in driver/firmware. We can only jitter the offered capability.
Beamformer/beamformee capability toggle Feasible hostapd vht_capab / he_su_beamformer etc. Standards-compliant advertisement. Coarse on/off, not per-packet.
Spatial-stream → antenna mapping (static Q) 🟡 Driver-patch (ath9k only) ath9k PHY spatial-mapping registers (AR_PHY_*) Open enough to patch on ath9k; opaque/firmware on ath10k+/mt76. Not a stock userspace knob.
MU-MIMO group shuffling Blob-blocked would need NL80211_CMD_VENDOR subcmd that upstream mt76/ath do not expose Group formation + steering matrices computed in MCU firmware.
Per-packet keyed unitary on LTF / precoder Blob-blocked The core WiFi Veil transform. Lives in firmware on all commodity AP parts. Requires firmware patch, or use openwifi / Nexmon adapters.
Compressed-BF-report angle edit (φ/ψ) Blob-blocked Report is generated in firmware/PHY; not exposed pre-TX on OpenWRT.
External sensing-solicitation detection (NDPA cadence) 🟡 Partial NL80211_CMD_FRAME + NL80211_CMD_REGISTER_FRAME, or monitor-mode capture Commodity drivers do not forward raw NDPA to userspace by default.

Best candidate chipsets / drivers

  • ath9k (Atheros 802.11n)best open target for a driver-side patch. The most transparent open driver (no per-packet firmware for the datapath), with a long history of PHY register access and the Atheros CSI Tool ecosystem. A static spatial-mapping perturbation and CSI observation are realistic here; full HT beamforming-feedback editing still is not in open code. 802.11n-only.
  • mt76 (MediaTek mt7915 / mt7622-mt7615)best-maintained modern open driver and the most likely place upstream would eventually accept a vendor hook, but beamforming/sounding/MU grouping run in the MCU firmware today, so the keyed path needs a firmware patch (blob-blocked out of the box).
  • ath10k / ath11k / ath12k (Qualcomm) — most capable radios but the most closed: regulatory + beamforming + sounding all firmware-side. ath11k/ath12k have no open firmware at all. Worst target for the keyed path.
  • openwifi (FPGA SDR) / Nexmon (Broadcom) — the only routes to the full A-grade keyed rotation; handled by the sibling ../openwifi/ and ../nexmon/ adapters, not this OpenWRT one.

Recommendation: for OpenWRT specifically, target ath9k for a driver-patch proof-of-concept (spatial-mapping + CSI), and mt76/mt7915 as the strategic modern platform pending a firmware/vendor-subcmd hook.


Build (host, build-only)

make core      # always works: compiles+links the portable core, no libnl needed
make daemon    # builds veil_shieldd IF libnl-genl-3.0 dev headers are present
make clean

make daemon cleanly skips (does not fail) when libnl-genl-3.0 is absent, printing the required dev packages. On an OpenWRT buildroot use openwrt.mk (rename to Makefile under package/utils/veil-shieldd/), which builds against libnl-tiny. See INTEGRATION.md for the per-control hook points and exactly what a driver/firmware patch would need to touch.


Sources