How enze-yi/bfm-tool works
BFM Tool captures Wi-Fi beamforming feedback, reconstructs the feedback matrix, and saves packet data for MATLAB analysis of the BFM ratio. The main workflow runs from captured packets through tshark and the Python capture program to .mat output and MATLAB analysis. The Python excerpt shows packet parsing, decompression, and saving; the MATLAB stage and ratio calculation are documented in the README but its source was not sampled, so internal MATLAB relationships are not expanded.
Main entry points: BFM_capture.py Packet ingestion · readBFM.m MATLAB analysis
Components 8
Packet capture
- tshark capture
BFM processing
- Packet ingestion
BFM_capture.py - Report extraction
BFM_capture.py - Matrix reconstruction
BFM_capture.py - BFM .mat files
BFM_capture.py
Data analysis
- MATLAB analysis
readBFM.m - BFM ratio
readBFM.m
Other components
- Wi-Fi traffic
Connections 7
- Wi-Fi traffic → tshark capture: captures packets
README.md - tshark capture → Packet ingestion: pipes fields
README.md - Packet ingestion → Report extraction: calls
BFM_capture.py - Packet ingestion → Matrix reconstruction: calls
BFM_capture.py - Packet ingestion → BFM .mat files: writes
BFM_capture.py - BFM .mat files → MATLAB analysis: loads for parsing
README.md - MATLAB analysis → BFM ratio: calculates
README.md