Skip to content

A GNU Radio flow graph for emulating radar signal patterns for DFS testing

License

Notifications You must be signed in to change notification settings

TobleMiner/dfs-pulse-tester

 
 

Repository files navigation

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.

About

A GNU Radio flow graph for emulating radar signal patterns for DFS testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published