A GNU Radio flow graph for emulating radar signal patters for DFS testing
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
Vagrantfile
dfs_pulse_tester.grc
dfs_pulse_tester.png

README.md

DFS Pulse Tester

Dynamic Frequency Selection (DFS) is a mechanism that allows a radio device to dynamically select or change the operating frequency to avoid interfering with other systems, such as local weather radar systems. This GNU Radio Companion (GRC) flow graph emulates radar signal patterns for DFS testing using a suitable Software Defined Radio (SDR), such as the HackRF One. You can select the center frequency and type of radar signature.

DFS Pulse Tester

For more information on DFS in the context of Wi-Fi networks see A Practical Introduction to Dynamic Frequency Selection.

Instructions

Follow these steps to automatically setup and provision an Ubuntu virtual machine (VM) with the necessary software and libraries to run the flow graph with your HackRF. If you already have an environment setup to use your HackRF, you can skip to step 5.

  1. Install Vagrant, VirtualBox and the VirtualBox Extension Pack (required to enable USB support in VirtualBox). If you have any of these components already installed, please make sure you're running the latest version.
  2. Setup and provision the VM automatically using Vagrant:
git clone https://github.com/adriangranados/dfs-pulse-tester.git
cd dfs-pulse-tester
vagrant plugin install vagrant-vbguest
vagrant up
vagrant reload
  1. Plug in the HackRF and attach it to the VM by clicking the USB icon in the bottom right of the VirtualBox VM window and choosing Great Scott Gadgets HackRF ONE.
  2. Login to the VM (choose the hackrf user and enter password hackrf).
  3. Launch the GRC (GNU Radio Companion) application and open the dfs_pulse_tester.grc file (if you're using the VM provisioned using the steps above, the file will be located in /home/hackrf/).
  4. Play the flow graph, then select the channel, radar signature and start the pulse (Pulse > Start).

If you're using Vagrant, you can stop the VM by typing vagrant halt. To start the VM again, just type vagrant up. Make sure you run these commands from the same directory the Vagrantfile is located.

Authors

Disclaimer

This flow graph is provided for testing purposes only. Check local and federal regulations and obtain permission before using.