
几天前我们刚报道过把 ESP32 变成 SDR 接收机的 ESP-SDR 项目,但数据经 UART 流式传输,采样率上不去。如今开发者 h0m3us3r 发布了 w1700k-sdr——一个同样开源的项目,能把 Gemtek W1700K Wi-Fi 7 路由器变成宽带 SDR 接收机。
该项目利用路由器内置的联发科 MT7996 无线电,以最高 320 MSps 的速率捕获 14 位 I/Q 原始采样,覆盖 2.4 GHz、5 GHz 和 6 GHz 三个频段。采集到的数据通过路由器 Airoha AN7581 SoC 经 10 GbE 连接流式传输到 Linux 电脑,用户可在浏览器中查看实时频谱和瀑布图。为此,项目用自定义 Linux 系统和无线电固件替换了路由器原厂固件,使其捕获原始 I/Q 数据而非处理常规 Wi-Fi 流量。
硬件方面,W1700K 采用四核 Arm Cortex-A53 的 Airoha AN7581 SoC,MT7996 Wi-Fi 7 芯片组经 PCIe 连接,配 MT7976(2.4 GHz)与两颗 MT7977(5/6 GHz)射频前端,内存 2GB(含 1 GiB DMA 环形缓冲区)。SDR 支持 40/80/160/320 MSps 采样率、2 频段额外的 640/2 采样模式、流式中连续本振调谐,以及 AGC、手动 LNA/基带增益和 20–320 MHz 模拟滤波。
数据传输是一大亮点:320 MSps 下每秒约产生 1.28 GB 数据,超出单条 10 GbE 链路可用带宽。固件将部分数据块打包为每复数采样 28 位的更小格式且不丢失信息,经路由器内存中的 1 GiB 环形缓冲后以 UDP 零拷贝发送,实测连接速率约 9.75 Gbit/s。与 ESP-WebSDR 捕获短 I/Q 快照可能漏掉捕获窗口间信号不同,W1700K-SDR 支持无捕获间隙的连续流。
项目还逆向实现了 MT7996 的自定义固件,包括 ROM 补丁及独立的 WM/WA 固件:开发者通过追踪寄存器操作逆向了联发科的无线电初始化与校准流程。频谱查看器经浏览器 8073 端口访问,代码大部分以 MIT 许可发布。想上手需要兼容的 W1700K/W1700K2 路由器、3.3V USB 转串口适配器和带 10 GbE 网卡的 Linux 电脑。
本文来源:https://www.cnx-software.com/2026/10/16/w1700k-sdr-turns-a-wi-fi-7-router-into-a-320-msps-software-defined-radio-receiver/
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。
Just a few days ago, we wrote about the ESP-SDR project, which turned an ESP32 into an SDR receiver, but the data was streamed over UART, which could not keep up with the sample rate. Now, developer h0m3us3r has released w1700k-sdr, also an open-source project that turns a Gemtek W1700K Wi-Fi 7 router into a wideband SDR receiver.
The project uses the router's built-in MediaTek MT7996 radio to capture raw 14-bit I/Q samples at up to 320 MSps across the 2.4 GHz, 5 GHz, and 6 GHz bands. The captured data is then streamed over a 10 GbE connection using the router's Airoha AN7581 SoC to a Linux computer, where you can view the live spectrum and waterfall in a browser. To make this work, the project replaces the router's stock firmware with a custom Linux system and radio firmware, allowing it to capture raw I/Q data instead of processing normal Wi-Fi traffic.
Supported hardware includes the Gemtek W1700K (HW 1.x) and W1700K2 (HW 2.1) Wi-Fi 7 routers with an Airoha AN7581 quad-core Arm Cortex-A53 SoC, a MediaTek MT7996 Wi-Fi 7 chipset connected over PCIe with MT7976 RF front end for 2.4 GHz and two MT7977 RF front ends for 5 GHz and 6 GHz, and 2GB DRAM including a 1 GiB DMA ring buffer. SDR reception covers the 2.4, 5 and 6 GHz bands at 40, 80, 160 and 320 MSps sample rates with 14-bit I/Q resolution, an additional 640/2 sampling mode on band 2, continuous LO tuning within supported synthesizer ranges with retuning during streaming, and automatic gain control, manual LNA and baseband gain, and 20 to 320 MHz analog filtering. Streaming uses zero-copy UDP over 10 GbE with lossless sample packing at the highest rate.

To handle the roughly 1.28 GB/s produced at 320 MSps, the firmware packs half of the data chunks into a smaller 28-bit-per-complex-sample format without losing information. The samples are transferred to a 1 GiB ring buffer in the router's memory and then sent to the host using UDP, reaching around 9.75 Gbit/s. Unlike ESP-WebSDR, which captures short I/Q snapshots and can miss signals between capture windows, W1700K-SDR supports continuous I/Q streaming without these capture gaps.
The project uses custom firmware for the MT7996, including a ROM patch and separate WM and WA firmware. The developer reverse-engineered MediaTek's radio initialization and calibration procedures by tracing register operations, then implemented the required functions without loading MediaTek's proprietary firmware. The receiver supports changing frequency, gain, filter settings, and switching bands while streaming, while changing the sample rate currently requires stopping and restarting the stream. The host software also includes a flatten option that corrects the frequency-response roll-off introduced by the radio's decimation filters.
To get started, you need a compatible W1700K or W1700K2 router, a 3.3V USB-to-serial adapter, an Ethernet connection to the router's LAN3 port for installation, and a Linux computer with a 10 GbE NIC connected to the router's WAN port. The repository provides build scripts, installation tools, and instructions for backing up the original NAND flash, and the spectrum viewer can be accessed through a browser at port 8073.