Skip to content

Software

WFB-ng

From github.com/svpcom/wfb-ng (opens in a new tab)

  • Drones and boats
  • Tool
  • GPL-3.0-only

A long-range packet radio link that runs over raw WiFi radio, carrying UDP-style data such as video, MAVLink telemetry, and IP traffic between a drone and a ground station.

Facts

GitHub stars
1,583read on 29 Nov 2026
Last update
16 Nov 2026Newest commit on master
Maintenance
Activea commit in the last 90 days
Difficulty
Advanced
Hardware it needs, as the project states it
Supported WiFi cards are RTL8812au and RTL8812eu, which need an external patched driver, and Atheros AR9350, which needs kernel patches to control TX power. Runs on Linux with kernel 4.x or newer and a USB port, on arm32v7, arm64v8, amd64, mips64le, s390x, ppc64le and i386.

Checked on GitHub on 29 Nov 2026.

Licenses

Code
GPL-3.0-only (opens in a new tab)

Read by Robotheca from LICENSE.txt (opens in a new tab) (GPL-3.0-only) at commit da907f3 (opens in a new tab), on 22 Nov 2026.

Commercial use
Yes

Copyleft: Modified source must be published.

At a glance

What it is
  • Maps RTP and other UDP packets one-to-one onto WiFi packets to keep latency low.
  • Uses forward error correction so lost packets can be recovered, by default up to 4 lost packets per 12-packet block.
  • Provides bidirectional MAVLink telemetry and an IPv4 tunnel for general traffic.
  • Encrypts and authenticates the stream with libsodium.
  • Selects the transmit card automatically based on received signal strength, and can spread work across cards on several hosts.
  • Supports dynamic FEC and modulation changes without interrupting the link, plus full channel state logging.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
GPL-3.0-only. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's website (opens in a new tab)
Maintenance
Active, last commit on 16 Nov 2026.

Use it

How to install it, in the creator's words: The project's website (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit da907f3

Robotheca read the repository at two versions: the summary at e085fac and the facts and the README at da907f3 (read on 29 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by @svpcom, at commit da907f3, under GPL-3.0-only (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

WFB-ng

This is the next generation of long-range packet radio link based on raw WiFi radio

Main features:
  • 1:1 map of RTP to IEEE80211 packets for minimum latency (doesn't serialize to byte stream)
  • Smart FEC support (there are many FEC improvements which allow to reduce latency in case of packet loss)
  • Accelerated FEC (using SIMD instructions) on amd64, arm32 and arm64 platforms. 5-10x times faster than pure C version.
  • Bidirectional mavlink telemetry (opens in a new tab). You can use it for mavlink up/down and video down link.
  • IPv4 tunnel for generic usage. You can transmit ordinary ip packets over WFB link. Note, don't use ip tunnel for high-bandwidth transfers like video or mavlink because it has more overhead than raw udp streams.
  • Automatic TX diversity (select TX card based on RX RSSI)
  • Stream encryption and authentication (libsodium (opens in a new tab))
  • Distributed operation. It can gather data from cards on different hosts. So you aren't limited to bandwidth of single USB bus.
  • Aggregation of mavlink and tunnel packets. Doesn't send wifi packet for every mavlink or tunnel packet.
  • Dynamic FEC and radio modulation. You can change channel capacity/reliability without link interruption.
  • Full channel state logging including mavlink parser. You can log all telemetry and link state for future offline debug.
  • Support for traffic shaper. You can use standard linux traffic shapers to priority different channels and/or data/fec packets.
  • Enhanced OSD (opens in a new tab) for Raspberry PI (consume 10% CPU on PI Zero) or any other system which supports gstreamer and OpenGL (Linux X11/Wayland, etc). Compatible with any screen resolution.
  • Supported CPU architectues: arm32v7, arm64v8, amd64, mips64le, s390x, ppc64le, i386. I.e. any linux with kernel >= 4.x and usb port.

:warning: Warranty/Disclaimer

This is free software and comes with no warranty, as stated in parts 15 and 16 of the GPLv3 license. The creators and contributors of the software are not responsible for how it is used. See License and Support (opens in a new tab) for details.

Support project

If you like WFB-ng you can support author via:

Wiki: (opens in a new tab)

See https://github.com/svpcom/wfb-ng/wiki (opens in a new tab) for additional info

Community support:

Telegram group: (wfb-ng support) https://t.me/wfb_ng (opens in a new tab) Please note, that it is only one official group.

Commercial support:

Please consider subscribing for paid commercial support if you intend to use wfb-ng for business. As a paid customer, you will get technical support and maintenance services directly from our skilled team. Your bug reports and feature requests will get prioritized attention and expedited solutions. It's a win-win strategy for both parties, that would contribute to the stability your business, and help core developers to work on the project full-time.

Support will NOT be provided for:

  • Military usage
  • Any affiliation to Ukraine

If you have any specific questions, feel free to contact us (opens in a new tab).

WFB-ng Data Transport Standard

RFC draft (opens in a new tab)

Supported WiFi hardware:
NOTE:
  • For Atheros SoC you need to use cluster mode (beta) (opens in a new tab) due to CPU, Flash and RAM limits.
  • If you want only RX then in theory any card with monitoring mode will be suitable. For example you can try your OpenWRT-enabled router.
Getting Started

For detailed instructions on how to get started read through PX4-Guide (opens in a new tab) and follow the Setup HowTo (opens in a new tab)

Quick start using Raspberry Pi
  • Under Releases (opens in a new tab) download the latest image file (*.img.gz).
  • Unpack the *.img file and flash it to 2-SD Cards.
  • Plug the WiFi Adapters into the Raspberry Pis
  • Boot the Pis and ssh into them using the following command (replace 192.168.0.111 with their IP-Address). Password: raspberry
ssh pi@192.168.0.111

For putty users don't forget to select: Settings -> Window -> Translation -> Enable VT100 line drawing checkbox before connect.

  • On the Pi used as ground station:
sudo systemctl enable wifibroadcast@gs
sudo systemctl enable rtsp
sudo systemctl enable fpv-video
sudo systemctl enable osd
sudo reboot
  • On the Pi used on the drone:
sudo systemctl enable wifibroadcast@drone
sudo systemctl enable fpv-camera
sudo reboot
  • Done! You should be able to see the video from the FPV camera. To monitor the link use the following command on the ground station:
wfb-cli gs
Quick start using Debian or Ubuntu Ground Station
  • Install patched RTL8812AU or RTL8812EU driver:
sudo apt-get install dkms
# For 8812au:
git clone -b v5.2.20 https://github.com/svpcom/rtl8812au.git
cd rtl8812au/
# For 8812eu:
git clone -b v5.15.0.1 https://github.com/svpcom/rtl8812eu.git
cd rtl8812eu/
# For both:
sudo ./dkms-install.sh
  • Get the name of the WiFi card by running:
ifconfig
  • You should see output similar to:
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 2312
        ether 0c:91:60:0a:5a:8b  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
curl -o install_gs.sh https://raw.githubusercontent.com/svpcom/wfb-ng/refs/heads/master/scripts/install_gs.sh
sudo bash ./install_gs.sh
  • Done! To monitor the link use the following command on the ground station:
wfb-cli gs

Failing to get connection?

  1. Check WFB-ng GS logs with sudo journalctl -xu wifibroadcast@gs. If there is any errors then try to resolve it.
  2. If there are any encryption errors then ensure that drone.key and gs.key on drone and gs corresponds each other.
  3. Make sure the WiFi channel and link domain on the ground and on the drone are the same. To check, see /etc/wifibroadcast.cfg and ensure that [common] wifi_channel and [drone] link_domain / [gs] link domain is the same on the ground and on the drone.

FAQ

Q: What type of data can be transmitted using WFB-ng?

A: Any UDP with packet size <= 3993. For example x264/265 inside of RTP, Mavlink or generic IPv4 via tunnel.

Q: What are transmission guarantees?

A: WFB-ng uses FEC (forward error correction) which can recover 4 lost packets from 12 packets block with default settings. You can tune it to fit your needs.

Q: Is only Raspberry PI supported?

A: WFB-ng is not tied to any GPU - it operates with UDP packets. But to get RTP stream you need a video encoder (which encodes raw data from camera to x264 stream). In my case RPI is only used for video encoding (because RPI Zero is too slow to do anything else) and all other tasks (including WFB-ng) are done by other board (NanoPI NEO2).

Q: What is a difference from original wifibroadcast?

A: Original version of wifibroadcast uses a byte-stream as input and splits it to packets of fixed size (1024 by default). If radio packets were lost and this is not corrected by FEC you'll get a hole at random (unexpected) place of stream. This is especially bad if data protocol is not resistant to (was not desired for) such random erasures. So i've rewritten it to use UDP as data source and pack one source UDP packet into one radio packet. Radio packets now have variable size depending on payload size. This reduces video latency a lot.

Theory

WFB-ng puts the wifi cards into monitor mode. This mode allows to send and receive arbitrary packets without association and waiting for ACK packets.

Sample usage chain:
Camera --[RTP stream (UDP)]--> wfb_ng --//--[ RADIO ]--//--> wfb_ng --[RTP stream (UDP)]--> gstreamer --> Display
  • For encoding video from OpenIPC-based security camera connected via ethernet to your PC or SBC you don't need a special pipeline. Just set outgoing to udp://your_ip_address:5602 in majestic.yaml (opens in a new tab)

  • For encoding video from a Raspberry Pi Camera (obsolete, latency is high comparing to OpenIPC):

raspivid -n  -ex fixedfps -w 960 -h 540 -b 4000000 -fps 30 -vf -hf -t 0 -o - | \
               gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=35 ! udpsink sync=false host=127.0.0.1 port=5602
  • For encoding video from Logitech C920 camera (obsolete, camera is EOL many years ago):
gst-launch-1.0 uvch264src device=/dev/video0 initial-bitrate=6000000 average-bitrate=6000000 iframe-period=1000 name=src auto-start=true \
               src.vidsrc ! queue ! video/x-h264,width=1920,height=1080,framerate=30/1 ! h264parse ! rtph264pay ! udpsink host=localhost port=5602
  • To decode:
gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264' \
               ! rtph264depay ! avdec_h264 ! clockoverlay valignment=bottom ! autovideosink fps-update-interval=1000 sync=false
HOWTO build:

For development (inline build)

make

For binary distribution RHEL or Fedora

make rpm

For binary distribution Debian or Ubuntu

sudo apt install python3-all libpcap-dev libsodium-dev libevent-dev python3-pip python3-pyroute2 \
            python3-twisted python3-serial python3-all-dev python3-venv iw socat \
            debhelper dh-python fakeroot build-essential python3-msgpack \
            python3-setuptools libgstrtspserver-1.0-dev -y
sudo make deb

For binary distribution (tar.gz)

make bdist

You need to generate encryption keys for gs(ground station) and drone:

wfb_keygen

Leave them in place for development build or install to /etc for binary install. Put drone.key to drone and gs.key to gs:

sudo install -m 600 drone.key /etc/   # on the drone
sudo install -m 600 gs.key /etc/      # on the gs

Key files contain secret keys and are created with mode 0600. Don't use cp to replace an existing key: it keeps the old file mode.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.