This repository contains modified csitool for data acquisition.
This tool only supports IWL5300-based CSI collection.
These tools are tested with BPI-R2 device.
If you are using BPI-R2, please refer this README. If not, please look here.
- Git clone
https://github.com/dhalperi/lorcon-old makeandsudo make installon./lorcon-old/
- Git clone
https://github.com/wldh-g/iwlwifi-csitool-apps cd iwlwifi-csitool-apps
sudo cp firmware/iwlwifi-5000-2.ucode.sigcomm2010 /lib/firmware/iwlwifi-5000-2.ucode- Append
.disabledon alliwlwifi-5000-*.ucodeon/lib/firmware. (e.g.iwlwifi-5000-5.ucodetoiwlwifi-5000-5.ucode.disabled)
./prepare_tx.sh
cd ./injection; make
./random_packets [packet_count] [packet_size] 1./prepare_rx.sh
cd ./capture; make
./log_to_file [filename].datHere is the tools that I used to process dat file: 15na-tools
And here is the tool provided by the author of Intel CSITool, D. Halperin: linux-80211n-csitool-supplementary
Initially the scripts are configured to use channel 64 in HT40- mode, and to use 1 Tx antenna.
You have to change prepare_tx.sh.
In # Set transaction rate part of prepare_tx.sh, there is a strange hex integer: 0x4d01. That may the only part you're going to modify.
Using get_flags.js, you can get proper flag code by giving the data rate and the number of antenna you use.
The detail for the flag is described at here.
This repository is based on linux-80211n-csitool-supplementary. If you want to study, look that repository rather than this. See the based project FAQ for licensing information.