Giter Site home page Giter Site logo

speccy's Introduction

Introduction

This is a simple spectrum visualizer and dumper based on the ath9k spectral scan feature. If you have a Qualcomm/Atheros Wifi device on Linux, and have built the driver with debugfs support, you can use this program to see the RF spectrum in something resembling real-time.

UI

Prerequisites

  • one or more Wifi devices that supports the spectral scan feature (only ath9k and ath9k_htc drivers tested at this point)
  • above drivers compiled with debugfs enabled
  • the iw utility installed

Usage

On Ubuntu, run:

$ sudo python speccy.py wlan0 wlan1 ...

where wlanN are the devices you'd like to use. Up to four devices are supported.

Key bindings

  • 'l' - Toggle line graph
  • 'f' - Cycle through frequency bands
  • 's' - Toggle scatter plot
  • '1', '2', '3', '4' - Switch control to device number n. Default is 1
  • 'c' - Switch scanner to 'chanscan' mode [default]. Hardware tunes to all WiFi channels and deliver a certain number of samples per channel. Default is 8
    • 'Arrow key Up' - Double the number of samples (up to 255)
    • 'Arrow key Down' - Divide the number of samples by two (down to 1)
  • 'b' - Switch scanner to 'background' mode. Hardware will deliver as much samples as possible
    • 'Arrow key Left' - Tune one channel up (only in 'background' mode)
    • 'Arrow key Right' - Tune one channel up (only in 'background' mode)
    • 'Arrow key Up' - Increase the number of samples hold for visualization
    • 'Arrow key Down' - Decrease the number of samples hold for visualization
  • 'm' - Toggle between HT20 [default] and HT40 mode
  • 'd' - Toggle dumping binary data with timestamp in a file
  • 'u' - Toggle UI processing
  • 'q' - Quit the program

speccy's People

Contributors

bcopeland avatar januszdziedzic avatar rfelten avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.