‹ All articles

Tutorials

MT7921AU Wi-Fi stick as an SDR: BirriaSDR vs Mtk79ICAP

Identify your USB chipset, compare two receive-only raw-I/Q paths, and make a short capture without confusing monitor mode with SDR.

Some MediaTek Wi-Fi sticks really can stream raw I/Q. That does not mean every AX1800 dongle works, and it does not turn packet injection into general-purpose SDR transmission. BirriaSDR and Mtk79ICAP are receive-only projects for supported MT7921AU/MT7961 hardware.

The episode research described an earlier BirriaSDR snapshot. The upstream README checked Nov 5 now lists selectable 10/20/40/80 MS/s, a SoapySDR module and 5 GHz work. This draft follows that newer documentation. Those are upstream capabilities, not independent sensitivity or continuity measurements on my bench.

What you’ll need

Some links may earn the show a small commission at no cost to you, which helps pay for airtime. No affiliate purchase links are included in this draft.

  • A spare supported MediaTek USB 3 dongle whose actual USB identity you can verify; marketing names alone are not enough.
  • A Linux test computer, a reliable USB 3 port and substantial disk/USB bandwidth. Keep another network connection available.
  • Build tools and libusb development files for BirriaSDR; kernel headers, firmware tooling and SoapySDR dependencies for Mtk79ICAP.
  • A small capture budget and a directory with free space. Uncompressed cs16 I/Q uses four bytes per complex sample.

Step 1: Check the USB ID before installing anything

lsusb
lsusb -t
lsusb -d 3574:6211
lsusb -d 0e8d:7961

BirriaSDR lists the tested COMFAST 3574:6211 and generic 0e8d:7961 boards. Mtk79ICAP’s README specifies 0e8d:7961. Do not assume the COMFAST ID is supported by both. The ID is a necessary first check, not a guarantee against a changed board revision. lsusb -t helps confirm the negotiated USB speed; a USB 2 link will not support these wide streams.

Which route should you choose?

Step 2A: A small BirriaSDR capture

Get a source archive from upstream and inspect its instructions. On a Debian/Ubuntu lab host, install the listed build dependencies. From the extracted project directory:

sudo apt install build-essential cmake pkg-config libusb-1.0-0-dev
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j
ctest --test-dir build --output-on-failure
./build/birria_rx --list
./build/birria_rx --rate 20000000 capture.cs16 4000000 manual

Before reconnecting the dongle, follow upstream’s Linux instructions to prevent its Wi-Fi driver binding and install the narrowly scoped USB permission rule. Do not unload the driver carrying your only network connection. A software reset does not clear an already loaded vendor ROM patch: remove power before the clean session. The library refuses a bound kernel driver rather than removing it for you.

The last command records four million complex samples: about 0.2 seconds and 16 MB of file data at 20 MS/s. By default the center is nominally 2437 MHz. Check the exit status; a file on disk is not proof of an intact stream. The format is little-endian signed 16-bit I,Q pairs containing signed 14-bit samples. That is converter resolution, not 14 effective bits or guaranteed dynamic range.

Step 2B: Mtk79ICAP with SoapySDR

Use a spare Linux installation or a recoverable lab machine. Back up the original firmware/module state and follow the current firmware, driver and setup instructions in order. The firmware patcher requires a specific source firmware build and refuses others; do not bypass that check. Custom mt76 modules can prevent other mt76 adapters loading. Rebuild after kernel upgrades, and handle module signing properly if Secure Boot enforces signatures—do not disable security merely to make the driver load.

Once the documented driver, firmware, permissions and monitor setup are complete, these are the upstream userspace build and discovery commands:

cmake -S userspace/SoapyMT7921 -B build-soapy
cmake --build build-soapy
export SOAPY_SDR_PLUGIN_PATH=$PWD/build-soapy
SoapySDRUtil --probe=driver=mt7921

In gqrx use soapy=0,driver=mt7921. Start with 20000800 samples/s (20 MHz), not 80 MHz. SDR++ uses the SoapySDR source; GNU Radio can use Soapy Custom Source with driver=mt7921. Only one program can open the stream at a time. Check the built recorder’s location and --help before using this short example:

mt7921iq_rx -F 2442 -w 20 -t 1 out.cs16

That is about 80 MB for one second of cs16. At 80 MS/s, the payload alone is roughly 320 MB/s: a ten-second recording is about 3.2 GB. Expect host bottlenecks, startup-dependent quality and possible replug recovery. Monitor-mode decoding alongside I/Q requires AGC; fixed gain stops frame decoding in the documented setup.

Wi-Fi dongle scorecard: three different things

Keep the claims modest

Neither project is a calibrated spectrum analyzer. Gain, frequency accuracy, aliasing, analog filter shape and host overruns matter. BirriaSDR’s current README reports 5 GHz checks from 5250–5815 MHz, not validated sensitivity over every tuning value. Record the hardware revision and software commit with your captures. Restore stock host driver/firmware files using the chosen project’s documented reversal steps before returning the stick to normal Wi-Fi duty. Receive only your own or authorized test traffic; raw-I/Q availability is not permission to intercept protected communications.

Sources checked Nov 5, 2026: BirriaSDR README · Mtk79ICAP README · RTL8812AU packet-driver project.

This tutorial accompanies the Nov 7, 2026 episode of Echos in the Ether on WRMI with Chris, KD0CQ. These are project-documentation-based instructions, not a claim that I have bench-tested every board or measured its emissions. 73!

More to read