Wi-Fi HaLow (IEEE 802.11ah) on SDRs#
SPEEDBIRD runs Wi-Fi HaLow — IEEE 802.11ah, the "S1G" (sub-1 GHz) PHY — in software on any SDR radio
(rig: sdr) that tunes 863–928 MHz. It can:
- monitor a 1 MHz or 2 MHz HaLow channel: every S1G PPDU on the channel is decoded and its 802.11 MPDU parsed (beacons with SSID, data frames, control frames, S1G beacons), shown live on the Wi-Fi HaLow page and exported as pcap (radiotap, LINKTYPE 127) for Wireshark;
- transmit (SDRs with
tx: true: HackRF, Pluto / ANTSDR, LimeSDR, bladeRF, USRP) SPEEDBIRD messages in ordinary 802.11 data frames, plus beacons whose SSID is the station callsign, through the TX arbiter.
Code: src/speedbird/halow/ — channels (region plans, SDR capability), coding (scrambler, BCC + Viterbi,
interleaver, QAM), phy (PPDU modulator / burst demodulator), rx (SDR front end + streaming detector),
mac (802.11 frames, pcap), service (sessions, /api/halow). Tests: tests/test_halow.py.
Which SDRs#
The SDR model catalog (radio/sdrmodels.py, radio list) carries a halow field per model:
{"regions": [...], "bw_mhz": [1, 2], "rx": true, "tx": bool}, or null when the SDR does not cover an S1G
band or is too narrow (Airspy HF+, FUNcube, Red Pitaya).
| 1 MHz | 2 MHz | TX | |
|---|---|---|---|
| RTL-SDR (V3/V4, NESDR, KrakenSDR) | yes (2.0 or 2.4 MS/s) | yes at 2.4 MS/s, little margin | no |
| Airspy R2 / Mini, SDRplay, HydraSDR, RX888 | yes | yes | no |
| HackRF, Pluto / ANTSDR, LimeSDR, bladeRF, USRP | yes | yes | yes |
Recommended SDR settings for a radio dedicated to HaLow: sample_rate: 2000000 (1 MHz) or 4000000
(2 MHz) — exactly twice the channel, one short decimation stage — and lo_offset_hz: 0, which puts the SDR's
LO leakage / DC spike on the S1G DC null subcarrier exactly like a HaLow chip does. With the default LO offset
(250 kHz) the leakage sits inside a 1 MHz channel: it is notched on receive, but it is transmitted in-band, and
the session shows a warning.
Channels#
Centre = region start + 0.5 MHz × channel. US: start 902 MHz, 1 MHz channels 1–51 (odd, 902.5–927.5 MHz),
2 MHz channels 2–50 step 4; the default is the mid-band channel (US 1 MHz: ch 27 = 915.5 MHz). EU, JP, AU, NZ,
KR, SG, IN plans follow the Morse Micro driver tables (GET /api/halow/channels?region=EU).
Regulatory#
- US 902–928 MHz is both ISM (Part 15) and the 33 cm amateur band (Part 97). SPEEDBIRD transmits as an
amateur station: it sends an ID beacon (SSID = callsign) before its first frame and again every 10 minutes
while transmitting (97.119), never encrypts (97.113), and the TX arbiter enforces TX enable, the station
callsign and the radio's
tx_ranges(the SDR default ranges include 902–928 MHz). Check the 33 cm power and local restrictions (e.g. near military radiolocation sites) yourself. - 863–868 MHz and the other non-US plans are not amateur bands. Receive is fine; to transmit there, add the
band to the radio's
tx_rangesand stay inside your SRD / ISM power and duty-cycle limits.
PHY#
Clause 23 S1G: the 20 MHz 802.11n/ac OFDM slowed down 10×. 31.25 kHz subcarriers, 32 µs DFT, 8 µs GI (4 µs short GI; the first DATA symbol always has the normal GI).
| 1 MHz (S1G_1M) | 2 MHz (short preamble) | |
|---|---|---|
| FFT / rate | 32 @ 1 MS/s | 64 @ 2 MS/s |
| tones | 24 data, pilots ±7 | 52 data, pilots ±7 ±21 |
| STF | 4 symbols, k = ±4 ±8 ±12 (+3 dB for MCS10) | 2 symbols, 11n STF |
| LTF1 | DGI LTS LTS GI LTS GI LTS (160 µs) | DGI LTS LTS (80 µs), VHT-LTF |
| SIG | 6 symbols, MCS10 BPSK, 36 bits | 2 symbols, QBPSK on 48 tones, 48 bits |
| MCS | 0–9 and 10 (BPSK ½ ×2, 150 kb/s) | 0–8 (650 kb/s – 7.8 Mb/s) |
DATA = SERVICE (8 bits) | PSDU | tail | pad, scrambled (x⁷+x⁴+1), BCC K=7 (133/171) punctured to 2/3, 3/4, 5/6, interleaved (1 MHz: 8 columns), Gray QAM. SIG CRC = CRC-4 (x⁴+x+1, ones, complemented). The PSDU is one MPDU of up to 511 bytes (no A-MPDU).
GET /api/halow/phy lists every MCS with its rate and airtime.
Where the constants come from — interoperability status#
IEEE 802.11-2020 clause 23 itself was not available. The constants come from the TGah specification framework (IEEE 802.11-11/1137r15) and were cross-checked against gr-ieee802-11ah, a GNU Radio 1 MHz transceiver whose authors interop-tested it with Morse Micro based HaLow radios:
- 1 MHz STF, LTF, LTF1 layout, pilot sequence, SIG bit layout (incl. B4 = 1 and B6 = 1 for BCC), SIG CRC,
MCS10 repetition, 8-bit SERVICE and the tail/pad order all match that implementation
(
tests/test_halow.pypins them). - 2 MHz follows the framework (11n/11ac 20 MHz sequences, QBPSK SIG on 48 tones), but the exact SIG bit positions and DATA pilot mapping are unconfirmed against the final standard.
On-air verification (2026-11-21, station ANTSDR E200, tools/halow_scan.py): the 2 MHz receiver decodes
real commercial HaLow traffic bit-exactly — 168 S1G beacons with good FCS in one 8 s dwell on US 2 MHz ch 10
(907.0 MHz) from four nearby radios: APs "BASE-1" (aa:dd:9f:4d:c1:3f) and "MESH-1" (aa:dd:9f:4d:c1:51) sending
short beacons whose compressed SSIDs (48dcce8f / 44d249c9) equal CRC-32 of those names, and two 802.11s mesh
points (e4:38:19:2a:8e:64 / :8d:fe, mesh ID "BASE-1", hidden SSID, WPA3-SAE). Their S1G Operation element: an
8 MHz BSS centred on ch 12 (908 MHz, 904–912 MHz) with a 2 MHz primary on ch 10 — its 8 MHz data PPDUs are
outside what this PHY decodes (1/2 MHz only), so only beacons/primary-channel frames appear. The 1 MHz path is
still unverified on air (no 1 MHz network was heard), and nothing has been transmitted.
Scanning the band#
tools/halow_scan.py --soapy driver=plutosdr,uri=ip:ant.local [--region US] [--dwell 8] steps 10 MS/s windows
across the region's band (LO on integer MHz = a 1 MHz channel edge), surveys energy per channel and runs the
1 MHz and 2 MHz receivers on every plan channel; prints networks (BSSID, SSID / mesh ID / compressed SSID,
security, S1G operating channel) and writes --json / --pcap. It borrows an SDR the service holds (iiod
allows a second RX client) and restores its LO, rate and bandwidth afterwards — use it only while that radio is
idle. Frames failing the FCS (the 4-bit SIG CRC passes ~1/16 of undecodable wide bursts) are counted, not listed;
the service journal does the same (bad_fcs per session).
Receiver#
Device-rate I/Q from rig.wideband_tap(device rate) → LO-leakage notch (tone at −lo_offset tracked per block)
→ two-stage polyphase resampler (integer decimation, then a short L/M stage; numba) → STF delay correlation
(lag = STF period). A burst counts only when the correlation plateau ends, so CW birdies and LO leakage
never trigger it. Coarse CFO from the STF (±62 kHz at 1 MHz, ±62 kHz at 2 MHz) → LTF1 cross-correlation for
timing → residual CFO, channel estimate and SNR from the repeated LTS → SIG (CRC-checked) → DATA with per-symbol
pilot phase tracking → soft Viterbi → descramble → FCS check (shown per frame).
Simulated (tests): every MCS decodes at both widths, with and without short GI, through 2.0 / 2.4 / 4.8 MS/s device rates with 12–15 kHz CFO, an in-band LO tone and noise. MCS10 decodes 100-byte frames down to about 5 dB SNR. CPU: about 0.3× real time per 1 MHz session at 2.4 MS/s on the station server (measured while the server was heavily loaded).
API#
GET /api/halow |
sessions (state, warnings, counters), journal size |
GET /api/halow/radios |
SDR radios that can run HaLow (regions, widths, RX/TX) |
GET /api/halow/channels?region=US&bw=1 |
channel plan |
GET /api/halow/phy |
MCS table, recommended SDR settings |
POST /api/halow/start |
{radio, region?, bw_mhz?, channel? \| freq?, mcs?, tx?, beacon_s?} |
POST /api/halow/stop |
{radio} |
POST /api/halow/send |
{radio, text, to?: "CQ" \| callsign \| MAC, mcs?} |
POST /api/halow/beacon |
{radio}: callsign ID beacon now |
GET /api/halow/frames?limit=&radio=&since= |
journal (last 2000 frames, RX and TX) |
GET /api/halow/pcap?radio= |
journal as pcap |
A session sets the radio's activity to halow (Pipelines shows it; SBP idle-home leaves the radio alone) and
is saved in <state>/halow/sessions.json, restored at start. Bus events: halow.frame, halow.session.
SPEEDBIRD datagram = 802.11 data frame, LLC/SNAP, EtherType 0x88B5 (IEEE 802 local experimental), payload
b"SB1" + {"from": CALL, "to": CALL|"CQ"} + b"\n" + message; addresses are locally administered MACs derived
from the callsign (02: + SHA-256 of the call).