联发科 MT7921AU 网卡被改成 SDR,两个独立项目已实现驱动Turning a Wi-Fi Adapter into an SDR


AI free token/AI免费积分
联发科 MT7921AU 网卡被改成 SDR,两个独立项目已实现驱动

【产品开发】Hackaday 报道,自从约两周前人们在 ESP32 芯片中发现未文档化的 I/Q 采样特性以来,其他无线芯片中也陆续涌现出类似能力,包括 LoRa 与 Wi-Fi 芯片。最新加入这一行列的是联发科 MT7921AU——一种常见于 Wi-Fi 网卡的芯片,近日已有两个独立项目为其开发了 SDR 驱动。

第一个项目是 BirriaSDR。它发现该芯片会为调试与校准目的暴露原始 I/Q 采样,于是将这些采样以 40Msps、14 位精度流式传输到主机,调谐范围 2156-2610MHz。BirriaSDR 通过 libusb 直接与网卡通信并访问其寄存器,不做任何永久性固件修改,网卡在充当 SDR 之后可以恢复原状,其实时接口与 RTL-SDR 类似。

另一个项目 Mtk79ICAP 则通过标准 SoapySDR 接口暴露 MT7921AU 的采样能力。与 BirriaSDR 不同,它需要对芯片做一定固件修改,并要求使用改装驱动,但最高可实现 80MHz 带宽并调谐到 5GHz 频段。该网卡还能在开启自动增益控制时同时工作于监听模式并串流 SDR 数据。

这是继此前 MT7996 之后,第二颗被「再利用」为 SDR 的联发科芯片。便利的是,Wi-Fi 网卡通常带有外置天线,连接变频电路会更加容易。这些网卡距离成熟尚远,但已有创客用 ESP32 实现了任意信号发射。

本文来源:https://hackaday.com/2026/10/18/turning-a-wi-fi-adapter-into-an-sdr/
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。

Since the discovery of an undocumented I/Q sampling feature in ESP32 chips about two weeks ago, there's been a flood of similar features being found in other wireless chips, including LoRa and Wi-Fi chipsets. The latest chip to join their ranks is the MediaTek MT7921AU, often used in Wi-Fi adapters, with two different projects developing independent SDR drivers for it in the last few days.

The first was BirriaSDR, which discovered that the chip exposes raw I/Q samples for debugging and calibration; BirriaSDR instead streams these to the host at 40 Msps in 14-bit resolution, with the option to tune from 2156 to 2610 MHz. BirriaSDR uses libusb to directly communicate with the Wi-Fi adapter and access its registers; it doesn't make any permanent firmware changes, so the Wi-Fi adapter goes back to its original state after being used as an SDR. BirriaSDR implements an API similar to the RTL-SDR's.

Turning a Wi-Fi Adapter into an SDR

Mtk79ICAP, by contrast, exposes the MT7921AU's sampling features over a standard SoapySDR interface. Unlike BirriaSDR, it applies some firmware changes to the chip, and it requires a modified driver to work. However, it can reach a maximum bandwidth of 80 MHz and tune to the 5 GHz bands. The Wi-Fi adapter in use can also simultaneously work in monitor mode and stream SDR data, though this only works when automatic gain control is enabled.

This is the second MediaTek chip we've seen repurposed for SDR work, after the earlier MT7996. Conveniently, Wi-Fi adapters often have external antennas, which should make it easier to connect a frequency mixer circuit. These adapters aren't quite there yet, but some hackers have already used the ESP32 to transmit arbitrary signals.

暂无评论,快来发表第一条评论吧!No comments yet. Be the first!

📮 需求咨询📮 Inquiry