mirror of
https://github.com/ruvnet/RuView.git
synced 2026-10-22 06:32:35 -05:00
The BFLD crate consumed beamforming feedback only as an opaque `compressed_angle_matrix` blob; nothing decoded a real 802.11 Compressed Beamforming Report. Adds a pure-Rust `cbr` module: - VHT MIMO Control parse (Nc/Nr/width/grouping/codebook/SU-MU/token) - Givens angle-count + Table 9-91 subcarrier + Table 9-92 codebook widths - LSB-first bitstream unpack to per-subcarrier Phi/Psi codes + avg SNR - dequantization to radians Honesty boundary: VHT SU verified by round-trip + spec-table tests on SYNTHETIC frames (angle values CLAIMED until cross-decoded vs WiPiCap on a real capture); VHT MU codebook 1, HE, and EHT return Unsupported rather than guess. Scope is presence/motion/tracking + defensive privacy-exposure, not person re-identification (identity stays gated per ADR-120/141). Live capture is blocked on hardware: 5 MT7927 monitor captures yielded zero beamforming reports; needs AX210 or a BE550-controlled link (ADR-365 context). 6 cbr unit tests pass; crate suite green; clippy -D warnings (pedantic+nursery) clean. Co-Authored-By: claude-flow <ruv@ruv.net>